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)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Feb 2022 09:06:29 +0000 (11:06 +0200)
commiteef173954432fe0612acb63421a95deb41155cdc
tree81f47520f0680e0550d30a763c054e4d4f650f0f
parentd946bc44aa0bf03ff5c2888e8c3be8646e14467a
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>
drivers/gpu/drm/i915/intel_pm.c