OSDN Git Service

drm/i915/adl_p: Same slices mask is not same Dbuf state
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Thu, 27 May 2021 11:01:06 +0000 (14:01 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 9 Jun 2021 14:24:58 +0000 (17:24 +0300)
commit0d6695b112762aa7aad28c46e65561389b6f50d6
tree6f1ffca7004f8eede953dc3855092b87e0bce2e3
parentd62686ba3b54998d6d959dc41f54edd5c3e42589
drm/i915/adl_p: Same slices mask is not same Dbuf state

We currently treat same slice mask as a same DBuf state and skip
updating the Dbuf slices, if we detect that.
This is wrong as if we have a multi to single pipe change or
vice versa, that would be treated as a same Dbuf state and thus
no changes required, so we don't get Mbus updated, causing issues.
Solution: check also mbus_join, in addition to slices mask.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210527110106.21434-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/intel_pm.c