]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/dp: stop caching has_hdmi_sink in struct intel_dp
authorJani Nikula <jani.nikula@intel.com>
Tue, 30 May 2023 09:08:16 +0000 (12:08 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 2 Jun 2023 10:21:34 +0000 (13:21 +0300)
commit7ffa2f27cf0aa1a89bea7fdacd9a51668ec32e7b
treee7b2afe11ae3fd6d7f18b2a25fd95e1f31079924
parent28da4f8336083874699defb5016cda3015ef2723
drm/i915/dp: stop caching has_hdmi_sink in struct intel_dp

Use the information stored in display info. Add intel_dp_has_hdmi_sink()
helper to access it.

v2: Rebased

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/748103fda572b3552e5bbdafb300d8508d4eeaf4.1685437500.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h