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

Reuse intel_dp_has_dsc() during .compute_config() instead of
repeating some of the checks again by hand. We'll be adding
more checks to intel_dp_has_dsc() and this will make sure
we cover both .mode_valid() and .compute_config() with them.

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