]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Use joined pipes in dsc helpers for slices, bpp
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 16 Sep 2024 10:28:36 +0000 (15:58 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Wed, 18 Sep 2024 06:42:51 +0000 (12:12 +0530)
commitf2e2092a979cd46b43445daf23628015ac776ac3
treefc58dcad8a6cd52e3b729790edb61ab91e3c608d
parentf87bdbd66de4a16069525825387e25dae3e0163e
drm/i915/display: Use joined pipes in dsc helpers for slices, bpp

In preparation of ultrajoiner, use number of joined pipes in the dsc
helpers to compute dsc slices and max compressed bpp, instead of using
the joiner flag.

v2: Adjust the formulae to use num of pipes as 1 (no joiner) or 2
(bigjoiner). (Ankit)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> (v1)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916102836.2149012-5-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c