projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f24d7
)
drm/i915: Don't allow HDCP on PORT E/F
author
Sean Paul
<seanpaul@chromium.org>
Tue, 9 Jan 2018 18:53:51 +0000
(13:53 -0500)
committer
Sean Paul
<seanpaul@chromium.org>
Tue, 9 Jan 2018 18:55:04 +0000
(13:55 -0500)
Port E doesn't have HDCP support, and Port F is disabled. Don't setup
the hdcp shim on those.
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20180109185401.16911-1-seanpaul@chromium.org
drivers/gpu/drm/i915/intel_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915/intel_hdmi.c
index 22251ad48b3bf015f8ee103ecfde48daf953e4cd..09b52d218fd40f10913826729c0c618bf5e0d26e 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_hdmi.c
+++ b/
drivers/gpu/drm/i915/intel_hdmi.c
@@
-2296,7
+2296,8
@@
void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,
intel_hdmi_add_properties(intel_hdmi, connector);
- if (INTEL_GEN(dev_priv) >= 9) {
+ /* PORT E doesn't have HDCP, and PORT F is disabled */
+ if (INTEL_GEN(dev_priv) >= 9 && port < PORT_E) {
int ret = intel_hdcp_init(intel_connector,
&intel_hdmi_hdcp_shim);
if (ret)