Skip to content
Commit 197af5f2 authored by Mahesh Kumar's avatar Mahesh Kumar Committed by Jani Nikula
Browse files

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: aa9664ff ("drm/i915/icl: Enable 2nd DBuf slice only when needed")
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarMahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517132626.5885-1-mahesh1.kumar@intel.com


(cherry picked from commit 6ceb7277)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 2f08b23d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment