Mahesh Kumar 197af5f213 drm/i915/icl: Don't update enabled dbuf slices struct until updated in hw
Do not update number of enabled dbuf slices in dev_priv struct until we
actually enable/disable dbuf slice in hw. This is leading to never
updating dbuf slices and resulting in DBuf slice mismatch warning.

Fixes: aa9664ffe863 ("drm/i915/icl: Enable 2nd DBuf slice only when needed")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517132626.5885-1-mahesh1.kumar@intel.com
(cherry picked from commit 6ceb7277173597eeed8d635e08db51e35235ab21)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2018-06-07 11:39:15 +03:00
..
2018-01-30 18:05:25 +01:00
2018-04-25 09:09:22 +02:00
2018-05-15 19:25:07 +10:00
2018-03-28 14:30:41 +10:00
2018-03-28 14:30:41 +10:00
2018-03-28 14:30:41 +10:00
2018-04-30 09:32:43 +10:00
2018-05-04 00:13:41 +02:00
2017-12-27 19:00:09 -05:00
2018-05-17 15:03:40 +10:00
2018-04-30 09:32:43 +10:00
2018-04-30 09:32:43 +10:00
2018-04-25 09:09:22 +02:00
2018-05-15 19:25:07 +10:00
2018-04-30 09:32:43 +10:00
2018-05-15 19:25:07 +10:00
2018-05-08 14:10:01 +03:00
2018-03-29 19:14:21 +03:00
2018-05-16 07:10:13 +10:00
2018-05-03 21:26:32 +02:00
2018-03-28 14:30:41 +10:00
2017-12-19 21:37:24 +10:00
2018-03-28 14:30:41 +10:00
2018-05-03 21:26:32 +02:00
2018-05-04 11:36:45 +02:00