]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Don't update enabled dbuf slices struct until updated in hw
authorMahesh Kumar <mahesh1.kumar@intel.com>
Thu, 17 May 2018 13:26:26 +0000 (18:56 +0530)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 4 Jun 2018 23:53:55 +0000 (16:53 -0700)
commit3a4ca1c148be5ce6dedf8e030929a4b58ebc308a
tree1143610263646ee0d07caef0da1d950ce8e50e5f
parentceabeaff866397f72020a4adeaf32ab196dd43b4
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: e9d419cf1239 ("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
drivers/gpu/drm/i915/intel_pm.c