]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dsc: Add helper to enable the DSC configuration for a CRTC
authorImre Deak <imre.deak@intel.com>
Wed, 15 Oct 2025 16:19:28 +0000 (19:19 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 17 Oct 2025 18:48:00 +0000 (21:48 +0300)
commitc88e70dc8bfca9a2be74a100387b1b66de973128
treed20fddaea9b3e75dee275ec08ae488c3cb6f914f
parent75255a03bdfb107e78cb7b9da2ef03cb6ba8e454
drm/i915/dsc: Add helper to enable the DSC configuration for a CRTC

Add a helper to enable the DSC compression configuration for a CRTC.
Follow-up changes will introduce tracking for the same DSC state on the
whole link, which will need to be set whenever DSC is enabled for the
CRTC. Also, according to the above, when querying the DSC state on the
link, both the CRTC's and the link's DSC state must be considered.

Setting the DSC configuration for a CRTC and querying the DSC
configuration for the link (added by follow-up changes) is better done
via helper functions based on the above, prepare for that here.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/20251015161934.262108-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_vdsc.c
drivers/gpu/drm/i915/display/intel_vdsc.h