drm/i915/display: Compare the readout dsc pps params
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 28 Aug 2023 05:43:01 +0000 (11:13 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Tue, 5 Sep 2023 09:18:11 +0000 (14:48 +0530)
commitfe21299ca2345ef8dcedf06a62a546016978d96f
tree6ce758aa79879f6dc9eadfe6db329dd1d1a669b2
parent8b70b569170407cd7a145b1801120560247e3ccf
drm/i915/display: Compare the readout dsc pps params

With the dsc config being readout and filled in crtc_state add
macros and use them to compare current and previous PPS param in
DSC.

--v2
-Remove version check [Jani]
-Remove dupe macro for dsc pipe compare and use the existing ones
[Jani]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230828054300.560559-9-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display.c