]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/hdcp: Use correct function to check if encoder is HDMI
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 17 Jan 2025 04:12:48 +0000 (09:42 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 21 Jan 2025 04:52:30 +0000 (10:22 +0530)
commit2499212e21601740ed7d5563563f39cf7e7d833a
tree6f8e10b3d992cb926e8b0ecd4d12960457f705e4
parent6f7c813c88aed90ca342a76ef4cdc078d6210e07
drm/i915/hdcp: Use correct function to check if encoder is HDMI

Use intel_encoder_is_hdmi function which was recently introduced to
see if encoder is HDMI or not.

--v2
-Add Fixes tag [Jani]

Fixes: 6a3691ca4799 ("drm/i915/hdcp: Disable HDCP Line Rekeying for HDCP2.2 on HDMI")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117041247.1084381-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c