]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Feb 2022 14:18:16 +0000 (16:18 +0200)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 7 Feb 2022 12:56:49 +0000 (12:56 +0000)
commitcb96b8a0e5eb6c8549eb6498618ac436d13d1eaf
tree2fa88eb413715c36a5c6e3942c76a42c9a97906d
parent4473908dcde86c7e87a02332a47605daaad0f711
drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration

Reintroduce the !join_mbus single pipe cases for adlp+.

Due to the mbus relative dbuf offsets in PLANE_BUF_CFG we
need to know the actual slices used by the pipe when doing
readout, even when mbus joining isn't enabled. Accurate
readout will be needed to properly sanitize invalid BIOS
dbuf configurations.

This will also make it much easier to play around with the
!join_mbus configs for testin/workaround purposes.

Cc: <stable@vger.kernel.org> # v5.14+
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204141818.1900-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
(cherry picked from commit eef173954432fe0612acb63421a95deb41155cdc)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_pm.c