]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915: Extract intel_dp_has_dsc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 May 2024 14:53:51 +0000 (17:53 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 14 Jun 2024 17:26:44 +0000 (20:26 +0300)
commit35859d448a2097d9197aecc61b55f158cba0a17d
treee9ced2bac3c79eda703e118443f079d023c66fca
parent7997a9e4f89f124c700986baf220b5421fe1158b
drm/i915: Extract intel_dp_has_dsc()

Extract a helper to check whether the source+sink combo
supports DSC. That basic check is needed both during mode
validation and compute config. We'll also need to add extra
checks to both places, so having a single place for it is nicer.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517145356.26103-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c