drm/i915: Simplify intel_dsc_source_support()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Jan 2022 19:26:35 +0000 (21:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Jan 2022 11:01:10 +0000 (13:01 +0200)
commitdf216b37333cf2ddb0db86b966e86a53d239a013
tree9750de9cbba63026e8e8029ec000df7fe0c39d54
parent9f807822abf5e210d8656fb5304f662bee64ca80
drm/i915: Simplify intel_dsc_source_support()

We can simplify the icl check in intel_dsc_source_support()
by noting that the only case when DSC is not supported is when
using transcoder A.

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