]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Extract intel_dp_has_audio()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Mar 2022 12:00:06 +0000 (14:00 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Apr 2022 08:13:40 +0000 (11:13 +0300)
commit0c25df20405469140713f0c04e97aed9f2f8bc16
tree3c12bdfc3347aa72472fbe9d77788d977da6cc20
parent7b885fcf20d1f37282b3cea49050a149c7eaf067
drm/i915/dp: Extract intel_dp_has_audio()

Declutter intel_dp_compute_config() a bit by moving the
has_audio computation into a helper. HDMI already does the same thing.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220322120015.28074-4-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c