drm/i915/dp: Refactor pipe_bpp limits with dsc
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 17 Dec 2024 09:32:39 +0000 (15:02 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 24 Dec 2024 09:50:00 +0000 (15:20 +0530)
commit21ebc319fed308fe82022f65ee8bc1e42cc13df9
treef76211ea33671e79b5c8080adfb1560a9ae37a55
parentad784c97876649ece9dd78a550e96c9386725002
drm/i915/dp: Refactor pipe_bpp limits with dsc

With DSC there are additional limits for pipe_bpp. Currently these are
scattered in different places.
Instead set the limits->pipe.max/min_bpp in one place and use them
wherever required.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217093244.3938132-10-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c