]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: HDCP: fix Ri prime check done during link check
authorOliver Barta <oliver.barta@aptiv.com>
Sat, 28 Mar 2020 10:41:00 +0000 (11:41 +0100)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Apr 2020 09:50:36 +0000 (12:50 +0300)
commit0a82064fa1203a55f6f283e90aa0dec097d9ad16
tree8cf3d969d0ace091c8d6fe6ca739c64e124ac53b
parent05fb2ba5e144c05f6b15b90c6e740e7cb1ada76c
drm/i915: HDCP: fix Ri prime check done during link check

The check was always succeeding even in case of a mismatch due to the
HDCP_STATUS_ENC bit being set. Make sure both bits are actually set.

Signed-off-by: Oliver Barta <oliver.barta@aptiv.com>
Fixes: 23e75b77034f ("drm/i915: Implement HDCP for HDMI")
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200328104100.12162-1-oliver.barta@aptiv.com
drivers/gpu/drm/i915/display/intel_hdmi.c