drm/i915: Add support for HDCP 1.4 over MST connectors
Subsystems (5)
v4 cover drm/i915: Add support for HDCP 1.4 over MST connectors
From: Sean Paul <[email protected]>
Hey all,
Back with a v4. Rebased on latest drm-tip.
Biggest change was adding the QUERY_STREAM_ENCRYPTION_STATUS check which ensures not only the link to the first branch is encrypted, but also that the channel iteself is also protected.
Sean
Sean Paul (14):
drm/i915: Fix sha_text population code
drm/i915: Clear the repeater bit on HDCP disable drm/i915: WARN if HDCP signalling is enabled upon disable drm/i915: Intercept Aksv writes in the aux hooks drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP
signalling
drm/i915: Factor out hdcp->value assignments
drm/i915: Protect workers against disappearing connectors drm/i915: Don't fully disable HDCP on a port if multiple pipes are
using it
drm/i915: Support DP MST in enc_to_dig_port() function drm/i915: Use ddi_update_pipe in intel_dp_mst
drm/i915: Factor out HDCP shim functions from dp for use by dp_mst drm/i915: Add connector to hdcp_shim->check_link() drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband
message
drm/i915: Add HDCP 1.4 support for MST connectors
drivers/gpu/drm/drm_dp_mst_topology.c | 117 +++ drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 26 +- drivers/gpu/drm/i915/display/intel_ddi.h | 2 + .../drm/i915/display/intel_display_types.h | 30 +- drivers/gpu/drm/i915/display/intel_dp.c | 620 +-------------- drivers/gpu/drm/i915/display/intel_dp.h | 7 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 705 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 15 + drivers/gpu/drm/i915/display/intel_hdcp.c | 199 +++-- drivers/gpu/drm/i915/display/intel_hdmi.c | 23 +- include/drm/drm_dp_helper.h | 3 + include/drm/drm_dp_mst_helper.h | 44 ++ include/drm/drm_hdcp.h | 3 + 14 files changed, 1127 insertions(+), 668 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.c
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 1/14 drm/i915: Fix sha_text population code
From: Sean Paul <[email protected]>
This patch fixes a few bugs:
1- We weren't taking into account sha_leftovers when adding multiple
ksvs to sha_text. As such, we were or'ing the end of ksv[j - 1] with the beginning of ksv[j]
2- In the sha_leftovers == 2 and sha_leftovers == 3 case, bstatus was
being placed on the wrong half of sha_text, overlapping the leftover ksv value
3- In the sha_leftovers == 2 case, we need to manually terminate the
byte stream with 0x80 since the hardware doesn't have enough room to add it after writing M0
The upside is that all of the HDCP supported HDMI repeaters I could find on Amazon just strip HDCP anyways, so it turns out to be _really_ hard to hit any of these cases without an MST hub, which is not (yet) supported. Oh, and the sha_leftovers == 1 case works perfectly!
Changes in v2:
-None
Changes in v3:
-None
Changes in v4:
-Rebased on intel_de_write changes
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 26 +++++++++++++++++------ include/drm/drm_hdcp.h | 3 +++ 2 files changed, 23 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +20 -6
@@ -337,8 +337,10 @@ int intel_hdcp_validate_v_prime(struct intel_connector *connector,/* Fill up the empty slots in sha_text and write it out */ sha_empty =sizeof (sha_text) - sha_leftovers; -for (j =0 ; j < sha_empty; j++) - sha_text |= ksv[j] << ((sizeof (sha_text) - j -1 ) *8 ); +for (j =0 ; j < sha_empty; j++) { +u8 off = ((sizeof (sha_text) - j -1 - sha_leftovers) *8 ); + sha_text |= ksv[j] << off; + } ret =intel_write_sha_text (dev_priv, sha_text);if (ret <0 )
@@ -436,7 +438,7 @@ int intel_hdcp_validate_v_prime(struct intel_connector *connector,/* Write 32 bits of text */ intel_de_write (dev_priv,HDCP_REP_CTL , rep_ctl |HDCP_SHA1_TEXT_32 ); - sha_text |= bstatus[0 ] <<24 | bstatus[1 ] <<16 ; + sha_text |= bstatus[0 ] <<8 | bstatus[1 ]; ret =intel_write_sha_text (dev_priv, sha_text);if (ret <0 )return ret;
@@ -451,17 +453,29 @@ int intel_hdcp_validate_v_prime(struct intel_connector *connector,return ret; sha_idx +=sizeof (sha_text); } + +/* +* Terminate the SHA-1 stream by hand. For the other leftover +* cases this is appended by the hardware. +*/ +intel_de_write (dev_priv,HDCP_REP_CTL , + rep_ctl |HDCP_SHA1_TEXT_32 ); + sha_text =DRM_HDCP_SHA1_TERMINATOR <<24 ; + ret =intel_write_sha_text (dev_priv, sha_text); +if (ret <0 ) +return ret; + sha_idx +=sizeof (sha_text); }else if (sha_leftovers ==3 ) { -/* Write 32 bits of text */ +/* Write 32 bits of text (filled from LSB) */ intel_de_write (dev_priv,HDCP_REP_CTL , rep_ctl |HDCP_SHA1_TEXT_32 ); - sha_text |= bstatus[0 ] <<24 ; + sha_text |= bstatus[0 ]; ret =intel_write_sha_text (dev_priv, sha_text);if (ret <0 )return ret; sha_idx +=sizeof (sha_text); -/* Write 8 bits of text, 24 bits of M0 */ +/* Write 8 bits of text (filled from LSB), 24 bits of M0 */ intel_de_write (dev_priv,HDCP_REP_CTL , rep_ctl |HDCP_SHA1_TEXT_8 ); ret =intel_write_sha_text (dev_priv, bstatus[1 ]);
include/drm/drm_hdcp.h +3 -0
@@ -29,6 +29,9 @@/* Slave address for the HDCP registers in the receiver */ #define DRM_HDCP_DDC_ADDR 0x3A +/* Value to use at the end of the SHA-1 bytestream used for repeaters */ +#define DRM_HDCP_SHA1_TERMINATOR 0x80 +/* HDCP register offsets for HDMI/DVI devices */ #define DRM_HDCP_DDC_BKSV 0x00#define DRM_HDCP_DDC_RI_PRIME 0x08
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
Sasha Levin
maintainerRe: [PATCH v4 01/14] drm/i915: Fix sha_text population code
Hi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag, fixing commit: ee5e5e7a5e0f ("drm/i915: Add HDCP framework + base implementation").
The bot has tested the following trees: v5.5.4, v5.4.20, v4.19.104.
v5.5.4: Failed to apply! Possible dependencies:
65833c463886 ("drm/i915/hdcp: conversion to struct drm_device based logging macros.")
667944ad77f1 ("drm/i915/hdcp: use intel_de_*() functions for register access")v5.4.20: Failed to apply! Possible dependencies:
65833c463886 ("drm/i915/hdcp: conversion to struct drm_device based logging macros.")
667944ad77f1 ("drm/i915/hdcp: use intel_de_*() functions for register access")
692059318c0f ("drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+")v4.19.104: Failed to apply! Possible dependencies:
04707f971636 ("drm/i915: Initialize HDCP2.2")
09d56393c1d8 ("drm/i915: hdcp1.4 CP_IRQ handling and SW encryption tracking")
2f80d7bd8d93 ("drm/i915: drop all drmP.h includes")
33b7f3ee6e00 ("drm/i915: Add CRTC output format YCBCR 4:2:0")
340a44bef234 ("drm/i915/icl: program MG_DP_MODE")
342ac601df64 ("drm/i915: hdcp_check_link only on CP_IRQ")
47658556da85 ("drm/i915/dp: Do not grab crtc modeset lock in intel_dp_detect()")
667944ad77f1 ("drm/i915/hdcp: use intel_de_*() functions for register access")
668b6c176c33 ("drm/i915: Add YCBCR 4:2:0/4:4:4 support for LSPCON")
7b610f1fbed2 ("drm/i915/dp: Add DSC params and DSC config to intel_crtc_state")
9055aac76589 ("drm/i915: MEI interface implementation")
9844bc87cb7a ("drm/i915/dp: Fix duplication of DEVICE_SERVICE_IRQ handling")
bdc93fe0eb82 ("drm/i915/debugfs: hdcp capability of a sink")
cbfa8ac835cb ("drm/i915/dp: Kill intel_dp->detect_done flag")
d3dacc70797b ("drm/i915: wrapping all hdcp var into intel_hdcp")
d5acd97f5571 ("drm/i915/dp: Use a local variable for intel_encoder *")
d78aa650670d ("drm: Add drm/drm_util.h header file")
de25eb7f3075 ("drm/i915: introduce dp_to_i915() helper")
f106d1005ac7 ("drm/i915: Pullout the bksv read and validation")NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
Signature · 6 lines
Thanks, Sasha _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v4 2/14 drm/i915: Clear the repeater bit on HDCP disable
In reply to Sean PaulFrom: Sean Paul <[email protected]>
On HDCP disable, clear the repeater bit. This ensures if we connect a non-repeater sink after a repeater, the bit is in the state we expect.
Changes in v2:
-Added to the set
Changes in v3:
-None
I had previously agreed that clearing the rep_ctl bits on enable would also be a good idea. However when I committed that idea to code, it didn't look right. So let's rely on enables and disables being paired and everything outside of that will be considered a bug
Changes in v4:
-s/I915_(READ|WRITE)/intel_de_(read|write)/
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_hdcp.c +6 -0
@@ -790,6 +790,7 @@ static int _intel_hdcp_disable(struct intel_connector *connector)struct intel_hdcp *hdcp = &connector->hdcp;enum port port = intel_dig_port->base.port;enum transcoder cpu_transcoder = hdcp->cpu_transcoder; +u32 repeater_ctl;int ret; drm_dbg_kms(&dev_priv->drm, "[%s:%d] HDCP is being disabled...\n",
@@ -805,6 +806,11 @@ static int _intel_hdcp_disable(struct intel_connector *connector)return -ETIMEDOUT ; } + repeater_ctl =intel_hdcp_get_repeater_ctl (dev_priv, cpu_transcoder, + port); +intel_de_write (dev_priv,HDCP_REP_CTL , +intel_de_read (dev_priv,HDCP_REP_CTL ) & ~repeater_ctl); + ret = hdcp->shim->toggle_signalling (intel_dig_port, false);if (ret) {drm_err (&dev_priv->drm,"Failed to disable HDCP signalling\n" );
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
PATCH v4 3/14 drm/i915: WARN if HDCP signalling is enabled upon disable
In reply to Sean PaulFrom: Sean Paul <[email protected]>
HDCP signalling should not be left on, WARN if it is
Changes in v2:
-Added to the set in lieu of just clearing the bit Changes in v3:
-None
Changes in v4:
-None
--- drivers/gpu/drm/i915/display/intel_ddi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
@@ -2013,6 +2013,8 @@ void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_state val =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder)); val &= ~TRANS_DDI_FUNC_ENABLE ; +WARN_ON (val &TRANS_DDI_HDCP_SIGNALLING ); +if (INTEL_GEN (dev_priv) >=12 ) {if (!intel_dp_mst_is_master_trans (crtc_state)) { val &= ~(TGL_TRANS_DDI_PORT_MASK |
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v4 4/14 drm/i915: Intercept Aksv writes in the aux hooks
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Instead of hand rolling the transfer ourselves in the hdcp hook, inspect aux messages and add the aksv flag in the aux transfer hook.
IIRC, this was the original implementation and folks wanted this hack to be isolated to the hdcp code, which makes sense.
However in testing an LG monitor on my desk, I noticed it was passing back a DEFER reply. This wasn't handled in our hand-rolled code and HDCP auth was failing as a result. Instead of copy/pasting all of the retry logic and delays from drm dp helpers, let's just use the helpers and hide the aksv select as best as we can.
Changes in v2:
-Remove 'generate' in intel_dp_aux_generate_xfer_flags, make arg const (Ville) -Bundle Aksv if statement together (Ville)
-Rename 'txbuf' to 'aksv' (Ville)
Changes in v3:
-None
Changes in v4:
-None
--- drivers/gpu/drm/i915/display/intel_dp.c | 62 ++++++++++++------------- 1 file changed, 29 insertions(+), 33 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +29 -33
@@ -1523,12 +1523,27 @@ intel_dp_aux_header(u8 txbuf[HEADER_SIZE], txbuf[3 ] = msg->size -1 ; } +static u32 intel_dp_aux_xfer_flags (const struct drm_dp_aux_msg *msg) +{ +/* +* If we're trying to send the HDCP Aksv, we need to set a the Aksv +* select bit to inform the hardware to send the Aksv after our header +* since we can't access that data from software. +*/ +if ((msg->request & ~DP_AUX_I2C_MOT ) ==DP_AUX_NATIVE_WRITE && + msg->address ==DP_AUX_HDCP_AKSV ) +return DP_AUX_CH_CTL_AUX_AKSV_SELECT ; + +return 0 ; +} +static ssize_t intel_dp_aux_transfer (struct drm_dp_aux *aux,struct drm_dp_aux_msg *msg) { struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux);u8 txbuf[20 ], rxbuf[20 ];size_t txsize, rxsize; +u32 flags =intel_dp_aux_xfer_flags (msg);int ret;intel_dp_aux_header (txbuf, msg);
@@ -1549,7 +1564,7 @@ intel_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)memcpy (txbuf +HEADER_SIZE , msg->buffer, msg->size); ret =intel_dp_aux_xfer (intel_dp, txbuf, txsize, - rxbuf, rxsize,0 ); + rxbuf, rxsize, flags);if (ret >0 ) { msg->reply = rxbuf[0 ] >>4 ;
@@ -1572,7 +1587,7 @@ intel_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)return -E2BIG ; ret =intel_dp_aux_xfer (intel_dp, txbuf, txsize, - rxbuf, rxsize,0 ); + rxbuf, rxsize, flags);if (ret >0 ) { msg->reply = rxbuf[0 ] >>4 ;/*
@@ -5941,17 +5956,9 @@ staticint intel_dp_hdcp_write_an_aksv (struct intel_digital_port *intel_dig_port,u8 *an) { -struct intel_dp *intel_dp =enc_to_intel_dp (to_intel_encoder (&intel_dig_port->base.base)); -static const struct drm_dp_aux_msg msg = { - .request =DP_AUX_NATIVE_WRITE , - .address =DP_AUX_HDCP_AKSV , - .size =DRM_HDCP_KSV_LEN , - }; -u8 txbuf[HEADER_SIZE +DRM_HDCP_KSV_LEN ] = {}, rxbuf[2 ], reply =0 ; +u8 aksv[DRM_HDCP_KSV_LEN ] = {};ssize_t dpcd_ret; -int ret; -/* Output An first, that's easy */ dpcd_ret =drm_dp_dpcd_write (&intel_dig_port->dp.aux,DP_AUX_HDCP_AN , an,DRM_HDCP_AN_LEN );if (dpcd_ret !=DRM_HDCP_AN_LEN ) {
@@ -5961,29 +5968,18 @@ int intel_dp_hdcp_write_an_aksv(struct intel_digital_port *intel_dig_port, }/* -* Since Aksv is Oh-So-Secret, we can't access it in software. So in -* order to get it on the wire, we need to create the AUX header as if -* we were writing the data, and then tickle the hardware to output the -* data once the header is sent out. +* Since Aksv is Oh-So-Secret, we can't access it in software. So we +* send an empty buffer of the correct length through the DP helpers. On +* the other side, in the transfer hook, we'll generate a flag based on +* the destination address which will tickle the hardware to output the +* Aksv on our behalf after the header is sent. */ -intel_dp_aux_header (txbuf, &msg); - - ret =intel_dp_aux_xfer (intel_dp, txbuf,HEADER_SIZE + msg.size, - rxbuf,sizeof (rxbuf), -DP_AUX_CH_CTL_AUX_AKSV_SELECT ); -if (ret <0 ) { -DRM_DEBUG_KMS ("Write Aksv over DP/AUX failed (%d)\n" , ret); -return ret; - }else if (ret ==0 ) { -DRM_DEBUG_KMS ("Aksv write over DP/AUX was empty\n" ); -return -EIO ; - } - - reply = (rxbuf[0 ] >>4 ) &DP_AUX_NATIVE_REPLY_MASK ; -if (reply !=DP_AUX_NATIVE_REPLY_ACK ) { -DRM_DEBUG_KMS ("Aksv write: no DP_AUX_NATIVE_REPLY_ACK %x\n" , - reply); -return -EIO ; + dpcd_ret =drm_dp_dpcd_write (&intel_dig_port->dp.aux,DP_AUX_HDCP_AKSV , + aksv,DRM_HDCP_KSV_LEN ); +if (dpcd_ret !=DRM_HDCP_KSV_LEN ) { +DRM_DEBUG_KMS ("Failed to write Aksv over DP/AUX (%zd)\n" , + dpcd_ret); +return dpcd_ret >=0 ? -EIO : dpcd_ret; }return 0 ; }
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 5/14 drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP signalling
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Instead of using intel_dig_port's encoder pipe to determine which transcoder to toggle signalling on, use the cpu_transcoder field already stored in intel_hdmi.
This is particularly important for MST.
Changes in v2:
-Added to the set
Changes in v3:
-s/hdcp/hdmi/ in commit msg (Ram)
Changes in v4:
-Rebased on intel_de_(read|write) change
--- drivers/gpu/drm/i915/display/intel_ddi.c | 12 +++--------- drivers/gpu/drm/i915/display/intel_ddi.h | 2 ++ .../gpu/drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 1 + drivers/gpu/drm/i915/display/intel_hdcp.c | 11 +++++++---- drivers/gpu/drm/i915/display/intel_hdmi.c | 16 +++++++++++----- 6 files changed, 25 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +3 -9
@@ -2034,12 +2034,12 @@ void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_state }int intel_ddi_toggle_hdcp_signalling (struct intel_encoder *intel_encoder, +enum transcoder cpu_transcoder,bool enable) {struct drm_device *dev = intel_encoder->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev);intel_wakeref_t wakeref; -enum pipe pipe =0 ;int ret =0 ;u32 tmp;
@@ -2048,18 +2048,12 @@ int intel_ddi_toggle_hdcp_signalling(struct intel_encoder *intel_encoder,if (WARN_ON (!wakeref))return -ENXIO ; -if (WARN_ON (!intel_encoder->get_hw_state (intel_encoder, &pipe))) { - ret = -EIO ; - goto out; - } - - tmp =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (pipe)); + tmp =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder));if (enable) tmp |=TRANS_DDI_HDCP_SIGNALLING ;else tmp &= ~TRANS_DDI_HDCP_SIGNALLING ; -intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), tmp); -out: +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder), tmp);intel_display_power_put (dev_priv, intel_encoder->power_domain, wakeref);return ret; }
drivers/gpu/drm/i915/display/intel_ddi.h +2 -0
@@ -18,6 +18,7 @@ struct intel_crtc_state;struct intel_dp ;struct intel_dpll_hw_state ;struct intel_encoder ; +enum transcoder ; void intel_ddi_fdi_post_disable(struct intel_encoder *intel_encoder, const struct intel_crtc_state *old_crtc_state,
@@ -45,6 +46,7 @@ u8 intel_ddi_dp_voltage_max(struct intel_encoder *encoder);u8 intel_ddi_dp_pre_emphasis_max (struct intel_encoder *encoder,u8 voltage_swing);int intel_ddi_toggle_hdcp_signalling (struct intel_encoder *intel_encoder, +enum transcoder cpu_transcoder,bool enable);void icl_sanitize_encoder_pll_mapping (struct intel_encoder *encoder); int cnl_calc_wrpll_link(struct drm_i915_private *dev_priv,
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -306,6 +306,7 @@ struct intel_hdcp_shim {/* Enables HDCP signalling on the port */ int (*toggle_signalling)(struct intel_digital_port *intel_dig_port, +enum transcoder cpu_transcoder,bool enable);/* Ensures the link is still protected */
drivers/gpu/drm/i915/display/intel_dp.c +1 -0
@@ -6120,6 +6120,7 @@ int intel_dp_hdcp_read_v_prime_part(struct intel_digital_port *intel_dig_port,static int intel_dp_hdcp_toggle_signalling (struct intel_digital_port *intel_dig_port, +enum transcoder cpu_transcoder,bool enable) {/* Not used for single stream DisplayPort setups */
drivers/gpu/drm/i915/display/intel_hdcp.c +7 -4
@@ -710,7 +710,7 @@ static int intel_hdcp_auth(struct intel_connector *connector)intel_de_write (dev_priv,HDCP_REP_CTL ,intel_hdcp_get_repeater_ctl (dev_priv, cpu_transcoder, port)); - ret = shim->toggle_signalling (intel_dig_port, true); + ret = shim->toggle_signalling (intel_dig_port, cpu_transcoder, true);if (ret)return ret;
@@ -811,7 +811,8 @@ static int _intel_hdcp_disable(struct intel_connector *connector)intel_de_write (dev_priv,HDCP_REP_CTL ,intel_de_read (dev_priv,HDCP_REP_CTL ) & ~repeater_ctl); - ret = hdcp->shim->toggle_signalling (intel_dig_port, false); + ret = hdcp->shim->toggle_signalling (intel_dig_port, cpu_transcoder, + false);if (ret) {drm_err (&dev_priv->drm,"Failed to disable HDCP signalling\n" );return ret;
@@ -1584,7 +1585,8 @@ static int hdcp2_enable_encryption(struct intel_connector *connector)WARN_ON (intel_de_read (dev_priv,HDCP2_STATUS (dev_priv, cpu_transcoder, port)) &LINK_ENCRYPTION_STATUS );if (hdcp->shim->toggle_signalling) { - ret = hdcp->shim->toggle_signalling (intel_dig_port, true); + ret = hdcp->shim->toggle_signalling (intel_dig_port, + cpu_transcoder, true);if (ret) { drm_err(&dev_priv->drm, "Failed to enable HDCP signalling. %d\n",
@@ -1634,7 +1636,8 @@ static int hdcp2_disable_encryption(struct intel_connector *connector)drm_dbg_kms (&dev_priv->drm,"Disable Encryption Timedout" );if (hdcp->shim->toggle_signalling) { - ret = hdcp->shim->toggle_signalling (intel_dig_port, false); + ret = hdcp->shim->toggle_signalling (intel_dig_port, + cpu_transcoder, false);if (ret) { drm_err(&dev_priv->drm, "Failed to disable HDCP signalling. %d\n",
drivers/gpu/drm/i915/display/intel_hdmi.c +11 -5
@@ -1456,7 +1456,8 @@ int intel_hdmi_hdcp_read_v_prime_part(struct intel_digital_port *intel_dig_port,return ret; } -static int kbl_repositioning_enc_en_signal (struct intel_connector *connector) +static int kbl_repositioning_enc_en_signal (struct intel_connector *connector, +enum transcoder cpu_transcoder) {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);struct intel_digital_port *intel_dig_port =intel_attached_dig_port (connector);
@@ -1473,12 +1474,14 @@ static int kbl_repositioning_enc_en_signal(struct intel_connector *connector)usleep_range (25 ,50 ); } - ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, false); + ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, + cpu_transcoder, false);if (ret) {DRM_ERROR ("Disable HDCP signalling failed (%d)\n" , ret);return ret; } - ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, true); + ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, + cpu_transcoder, true);if (ret) {DRM_ERROR ("Enable HDCP signalling failed (%d)\n" , ret);return ret;
@@ -1489,6 +1492,7 @@ static int kbl_repositioning_enc_en_signal(struct intel_connector *connector)static int intel_hdmi_hdcp_toggle_signalling (struct intel_digital_port *intel_dig_port, +enum transcoder cpu_transcoder,bool enable) {struct intel_hdmi *hdmi = &intel_dig_port->hdmi;
@@ -1499,7 +1503,8 @@ int intel_hdmi_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port,if (!enable)usleep_range (6 ,60 );/* Bspec says >= 6us */ - ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, enable); + ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, + cpu_transcoder, enable);if (ret) {DRM_ERROR ("%s HDCP signalling failed (%d)\n" , enable ?"Enable" :"Disable" , ret);
@@ -1511,7 +1516,8 @@ int intel_hdmi_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port,* opportunity and enc_en signalling in KABYLAKE. */ if (IS_KABYLAKE (dev_priv) && enable) -return kbl_repositioning_enc_en_signal (connector); +return kbl_repositioning_enc_en_signal (connector, + cpu_transcoder);return 0 ; }
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 6/14 drm/i915: Factor out hdcp->value assignments
In reply to Sean PaulFrom: Sean Paul <[email protected]>
This is a bit of housecleaning for a future patch. Instead of sprinkling hdcp->value assignments and prop_work scheduling everywhere, introduce a function to do it for us.
Changes in v2:
-None
Changes in v3:
-None
Changes in v4:
-Rebased on top of drm_* logging changes
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 67 ++++++++++++++++------- 1 file changed, 46 insertions(+), 21 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +46 -21
@@ -873,6 +873,21 @@ struct intel_connector *intel_hdcp_to_connector(struct intel_hdcp *hdcp) return container_of(hdcp, struct intel_connector, hdcp); } +static void intel_hdcp_update_value (struct intel_connector *connector, +u64 value,bool update_property) +{ +struct intel_hdcp *hdcp = &connector->hdcp; + +WARN_ON (!mutex_is_locked (&hdcp->mutex)); + +if (hdcp->value == value) +return ; + + hdcp->value = value; +if (update_property) +schedule_work (&hdcp->prop_work); +} +/* Implements Part 3 of the HDCP authorization procedure */ static int intel_hdcp_check_link (struct intel_connector *connector) {
@@ -899,15 +914,16 @@ static int intel_hdcp_check_link(struct intel_connector *connector) connector->base.name, connector->base.base.id, intel_de_read(dev_priv, HDCP_STATUS(dev_priv, cpu_transcoder, port))); ret = -ENXIO ; - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , + true); goto out; }if (hdcp->shim->check_link (intel_dig_port)) {if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) { - hdcp->value =DRM_MODE_CONTENT_PROTECTION_ENABLED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_ENABLED , true); } goto out; }
@@ -919,16 +935,18 @@ static int intel_hdcp_check_link(struct intel_connector *connector) ret =_intel_hdcp_disable (connector);if (ret) {drm_err (&dev_priv->drm,"Failed to disable hdcp (%d)\n" , ret); - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , + true); goto out; } ret =_intel_hdcp_enable (connector);if (ret) {drm_err (&dev_priv->drm,"Failed to enable hdcp (%d)\n" , ret); - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , + true); goto out; }
@@ -1748,16 +1766,18 @@ static int intel_hdcp2_check_link(struct intel_connector *connector)"HDCP2.2 link stopped the encryption, %x\n" , intel_de_read(dev_priv, HDCP2_STATUS(dev_priv, cpu_transcoder, port))); ret = -ENXIO ; - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , + true); goto out; } ret = hdcp->shim->check_2_2_link (intel_dig_port);if (ret ==HDCP_LINK_PROTECTED ) {if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) { - hdcp->value =DRM_MODE_CONTENT_PROTECTION_ENABLED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_ENABLED , + true); } goto out; }
@@ -1770,8 +1790,9 @@ static int intel_hdcp2_check_link(struct intel_connector *connector) "HDCP2.2 Downstream topology change\n"); ret =hdcp2_authenticate_repeater_topology (connector);if (!ret) { - hdcp->value =DRM_MODE_CONTENT_PROTECTION_ENABLED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_ENABLED , + true); goto out; } drm_dbg_kms(&dev_priv->drm,
@@ -1789,8 +1810,8 @@ static int intel_hdcp2_check_link(struct intel_connector *connector)drm_err (&dev_priv->drm,"[%s:%d] Failed to disable hdcp2.2 (%d)\n" , connector->base.name, connector->base.base.id, ret); - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , true); goto out; }
@@ -1800,8 +1821,9 @@ static int intel_hdcp2_check_link(struct intel_connector *connector)"[%s:%d] Failed to enable hdcp2.2 (%d)\n" , connector->base.name, connector->base.base.id, ret); - hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_DESIRED , + true); goto out; }
@@ -2042,8 +2064,9 @@ int intel_hdcp_enable(struct intel_connector *connector,if (!ret) {schedule_delayed_work (&hdcp->check_work, check_link_interval); - hdcp->value =DRM_MODE_CONTENT_PROTECTION_ENABLED ; -schedule_work (&hdcp->prop_work); +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_ENABLED , + true); }mutex_unlock (&hdcp->mutex);
@@ -2061,7 +2084,9 @@ int intel_hdcp_disable(struct intel_connector *connector)mutex_lock (&hdcp->mutex);if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) { - hdcp->value =DRM_MODE_CONTENT_PROTECTION_UNDESIRED ; +intel_hdcp_update_value (connector, +DRM_MODE_CONTENT_PROTECTION_UNDESIRED , + false);if (hdcp->hdcp2_encrypted) ret =_intel_hdcp2_disable (connector);else if (hdcp->hdcp_encrypted)
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v4 7/14 drm/i915: Protect workers against disappearing connectors
In reply to Sean PaulFrom: Sean Paul <[email protected]>
This patch adds some protection against connectors being destroyed before the HDCP workers are finished.
For check_work, we do a synchronous cancel after the connector is unregistered which will ensure that it is finished before destruction.
In the case of prop_work, we can't do a synchronous wait since it needs to take connection_mutex which could cause deadlock. Instead, we'll take a reference on the connector when scheduling prop_work and give it up once we're done.
Changes in v2:
-Added to the set
Changes in v3:
-Change the WARN_ON condition in intel_hdcp_cleanup to allow for
initializing connectors as well
Changes in v4:
-None
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 43 ++++++++++++++++++++--- 1 file changed, 38 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +38 -5
@@ -884,8 +884,10 @@ static void intel_hdcp_update_value(struct intel_connector *connector,return ; hdcp->value = value; -if (update_property) +if (update_property) { +drm_connector_get (&connector->base);schedule_work (&hdcp->prop_work); + } }/* Implements Part 3 of the HDCP authorization procedure */
@@ -976,6 +978,8 @@ static void intel_hdcp_prop_work(struct work_struct *work)mutex_unlock (&hdcp->mutex);drm_modeset_unlock (&dev_priv->drm.mode_config.connection_mutex); + +drm_connector_put (&connector->base); }bool is_hdcp_supported (struct drm_i915_private *dev_priv,enum port port)
@@ -1839,6 +1843,9 @@ static void intel_hdcp_check_work(struct work_struct *work) check_work);struct intel_connector *connector =intel_hdcp_to_connector (hdcp); +if (drm_connector_is_unregistered (&connector->base)) +return ; +if (!intel_hdcp2_check_link (connector))schedule_delayed_work (&hdcp->check_work,DRM_HDCP2_CHECK_PERIOD_MS );
@@ -2154,12 +2161,38 @@ void intel_hdcp_component_fini(struct drm_i915_private *dev_priv)void intel_hdcp_cleanup (struct intel_connector *connector) { -if (!connector->hdcp.shim) +struct intel_hdcp *hdcp = &connector->hdcp; + +if (!hdcp->shim)return ; -mutex_lock (&connector->hdcp.mutex); -kfree (connector->hdcp.port_data.streams); -mutex_unlock (&connector->hdcp.mutex); +/* +* If the connector is registered, it's possible userspace could kick +* off another HDCP enable, which would re-spawn the workers. +*/ +WARN_ON (connector->base.registration_state ==DRM_CONNECTOR_REGISTERED ); + +/* +* Now that the connector is not registered, check_work won't be run, +* but cancel any outstanding instances of it +*/ +cancel_delayed_work_sync (&hdcp->check_work); + +/* +* We don't cancel prop_work in the same way as check_work since it +* requires connection_mutex which could be held while calling this +* function. Instead, we rely on the connector references grabbed before +* scheduling prop_work to ensure the connector is alive when prop_work +* is run. So if we're in the destroy path (which is where this +* function should be called), we're "guaranteed" that prop_work is not +* active (tl;dr This Should Never Happen). +*/ +WARN_ON (work_pending (&hdcp->prop_work)); + +mutex_lock (&hdcp->mutex); +kfree (hdcp->port_data.streams); + hdcp->shim =NULL ; +mutex_unlock (&hdcp->mutex); } void intel_hdcp_atomic_check(struct drm_connector *connector,
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 8/14 drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it
In reply to Sean PaulFrom: Sean Paul <[email protected]>
This patch is required for HDCP over MST. If a port is being used for multiple HDCP streams, we don't want to fully disable HDCP on a port if one of them is disabled. Instead, we just disable the HDCP signalling on that particular pipe and exit early. The last pipe to disable HDCP will also bring down HDCP on the port.
In order to achieve this, we need to keep a refcount in intel_digital_port and protect it using a new hdcp_mutex.
Changes in v2:
-Move the toggle_signalling call into _intel_hdcp_disable so it's called from check_work Changes in v3:
-None
Changes in v4:
-None
--- drivers/gpu/drm/i915/display/intel_ddi.c | 3 ++ .../drm/i915/display/intel_display_types.h | 5 ++ drivers/gpu/drm/i915/display/intel_dp.c | 2 + drivers/gpu/drm/i915/display/intel_hdcp.c | 52 +++++++++++++++---- drivers/gpu/drm/i915/display/intel_hdmi.c | 2 + 5 files changed, 55 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +3 -0
@@ -4758,6 +4758,9 @@ void intel_ddi_init(struct drm_i915_private *dev_priv, enum port port)drm_encoder_init (&dev_priv->drm, &encoder->base, &intel_ddi_funcs,DRM_MODE_ENCODER_TMDS ,"DDI %c" ,port_name (port)); +mutex_init (&intel_dig_port->hdcp_mutex); + intel_dig_port->num_hdcp_streams =0 ; + encoder->hotplug = intel_ddi_hotplug; encoder->compute_output_type = intel_ddi_compute_output_type; encoder->compute_config = intel_ddi_compute_config;
drivers/gpu/drm/i915/display/intel_display_types.h +5 -0
@@ -1339,6 +1339,11 @@ struct intel_digital_port {enum phy_fia tc_phy_fia;u8 tc_phy_fia_idx; +/* protects num_hdcp_streams reference count */ +struct mutex hdcp_mutex; +/* the number of pipes using HDCP signalling out of this port */ +unsigned int num_hdcp_streams; + void (*write_infoframe)(struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, unsigned int type,
drivers/gpu/drm/i915/display/intel_dp.c +2 -0
@@ -7641,6 +7641,8 @@ bool intel_dp_init(struct drm_i915_private *dev_priv, intel_encoder = &intel_dig_port->base; encoder = &intel_encoder->base; +mutex_init (&intel_dig_port->hdcp_mutex); +if (drm_encoder_init (&dev_priv->drm, &intel_encoder->base, &intel_dp_enc_funcs,DRM_MODE_ENCODER_TMDS ,"DP %c" ,port_name (port)))
drivers/gpu/drm/i915/display/intel_hdcp.c +43 -9
114 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_hdmi.c +2 -0
@@ -3264,6 +3264,8 @@ void intel_hdmi_init(struct drm_i915_private *dev_priv, intel_encoder = &intel_dig_port->base; +mutex_init (&intel_dig_port->hdcp_mutex); +drm_encoder_init (&dev_priv->drm, &intel_encoder->base, &intel_hdmi_enc_funcs,DRM_MODE_ENCODER_TMDS ,"HDMI %c" ,port_name (port));
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v4 9/14 drm/i915: Support DP MST in enc_to_dig_port() function
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Although DP_MST fake encoders are not subclassed from digital ports, they are associated with them. Support these encoders.
Changes in v2:
-None
Changes in v3:
-None
Changes in v4:
-None
--- .../drm/i915/display/intel_display_types.h | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +14 -7
@@ -1444,6 +1444,18 @@ static inline bool intel_encoder_is_dig_port(struct intel_encoder *encoder) } } +static inline bool intel_encoder_is_mst (struct intel_encoder *encoder) +{ +return encoder->type ==INTEL_OUTPUT_DP_MST ; +} + +static inline struct intel_dp_mst_encoder * +enc_to_mst (struct intel_encoder *encoder) +{ + return container_of(&encoder->base, struct intel_dp_mst_encoder, + base.base); +} +static inline struct intel_digital_port *enc_to_dig_port (struct intel_encoder *encoder) {
@@ -1452,6 +1464,8 @@ enc_to_dig_port(struct intel_encoder *encoder)if (intel_encoder_is_dig_port (intel_encoder)) return container_of(&encoder->base, struct intel_digital_port, base.base); +else if (intel_encoder_is_mst (intel_encoder)) +return enc_to_mst (encoder)->primary;else return NULL ; }
@@ -1462,13 +1476,6 @@ intel_attached_dig_port(struct intel_connector *connector)return enc_to_dig_port (intel_attached_encoder (connector)); } -static inline struct intel_dp_mst_encoder * -enc_to_mst (struct intel_encoder *encoder) -{ - return container_of(&encoder->base, struct intel_dp_mst_encoder, - base.base); -} -static inline struct intel_dp *enc_to_intel_dp (struct intel_encoder *encoder) {return &enc_to_dig_port (encoder)->dp;
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 10/14 drm/i915: Use ddi_update_pipe in intel_dp_mst
In reply to Sean PaulFrom: Sean Paul <[email protected]>
In order to act upon content_protection property changes, we'll need to implement the .update_pipe() hook. We can re-use intel_ddi_update_pipe for this
Changes in v2:
-None
Changes in v3:
-None
Changes in v4:
-None
--- drivers/gpu/drm/i915/display/intel_ddi.c | 9 +++++---- drivers/gpu/drm/i915/display/intel_dp.h | 4 ++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 1 + 3 files changed, 10 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +5 -4
@@ -4108,12 +4108,13 @@ static void intel_ddi_update_pipe_dp(struct intel_encoder *encoder,intel_panel_update_backlight (encoder, crtc_state, conn_state); } -static void intel_ddi_update_pipe (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state, -const struct drm_connector_state *conn_state) +void intel_ddi_update_pipe (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +const struct drm_connector_state *conn_state) { -if (!intel_crtc_has_type (crtc_state,INTEL_OUTPUT_HDMI )) +if (!intel_crtc_has_type (crtc_state,INTEL_OUTPUT_HDMI ) && + !intel_encoder_is_mst (encoder))intel_ddi_update_pipe_dp (encoder, crtc_state, conn_state);intel_hdcp_update_pipe (encoder, crtc_state, conn_state);
drivers/gpu/drm/i915/display/intel_dp.h +4 -0
@@ -125,4 +125,8 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count)u32 intel_dp_mode_to_fec_clock (u32 mode_clock); +void intel_ddi_update_pipe (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +const struct drm_connector_state *conn_state); +#endif /* __INTEL_DP_H__ */
drivers/gpu/drm/i915/display/intel_dp_mst.c +1 -0
@@ -787,6 +787,7 @@ intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum intel_encoder->compute_config = intel_dp_mst_compute_config; intel_encoder->disable = intel_mst_disable_dp; intel_encoder->post_disable = intel_mst_post_disable_dp; + intel_encoder->update_pipe = intel_ddi_update_pipe; intel_encoder->pre_pll_enable = intel_mst_pre_pll_enable_dp; intel_encoder->pre_enable = intel_mst_pre_enable_dp; intel_encoder->enable = intel_mst_enable_dp;
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 11/14 drm/i915: Factor out HDCP shim functions from dp for use by dp_mst
In reply to Sean PaulFrom: Sean Paul <[email protected]>
These functions are all the same for dp and dp_mst, so move them into a dedicated file for both sst and mst to use.
Changes in v2:
-None
Changes in v3:
-Created intel_dp_hdcp.c for the shared functions to live (Ville) Changes in v4:
-Rebased on new drm logging change
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 581 +----------------- drivers/gpu/drm/i915/display/intel_dp.h | 3 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 604 +++++++++++++++++++ 4 files changed, 612 insertions(+), 577 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.c
drivers/gpu/drm/i915/Makefile +1 -0
@@ -222,6 +222,7 @@ i915-y += \ display/intel_ddi.o \ display/intel_dp.o \ display/intel_dp_aux_backlight.o \ + display/intel_dp_hdcp.o \ display/intel_dp_link_training.o \ display/intel_dp_mst.o \ display/intel_dsi.o \
drivers/gpu/drm/i915/display/intel_dp.c +4 -577
599 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp.h +3 -0
@@ -129,4 +129,7 @@ void intel_ddi_update_pipe(struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state); +int intel_dp_init_hdcp (struct intel_digital_port *intel_dig_port, +struct intel_connector *intel_connector); +#endif /* __INTEL_DP_H__ */
drivers/gpu/drm/i915/display/intel_dp_hdcp.c new file +604 -0
604 lines not on this page · raw message
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 12/14 drm/i915: Add connector to hdcp_shim->check_link()
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Currently we derive the connector from digital port in check_link(). For MST, this isn't sufficient since the digital port passed into the function can have multiple connectors downstream. This patch adds connector to the check_link() arguments so we have it when we need it.
Changes in v4:
-Added to the set
--- drivers/gpu/drm/i915/display/intel_display_types.h | 3 ++- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 3 ++- drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 5 ++--- 4 files changed, 7 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +2 -1
@@ -310,7 +310,8 @@ struct intel_hdcp_shim { bool enable);/* Ensures the link is still protected */ -bool (*check_link)(struct intel_digital_port *intel_dig_port); +bool (*check_link)(struct intel_digital_port *intel_dig_port, +struct intel_connector *connector);/* Detects panel's hdcp capability. This is optional for HDMI. */ int (*hdcp_capable)(struct intel_digital_port *intel_dig_port,
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +2 -1
@@ -535,7 +535,8 @@ int intel_dp_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port, }static -bool intel_dp_hdcp_check_link (struct intel_digital_port *intel_dig_port) +bool intel_dp_hdcp_check_link (struct intel_digital_port *intel_dig_port, +struct intel_connector *connector) {ssize_t ret;u8 bstatus;
drivers/gpu/drm/i915/display/intel_hdcp.c +1 -1
@@ -947,7 +947,7 @@ static int intel_hdcp_check_link(struct intel_connector *connector) goto out; } -if (hdcp->shim->check_link (intel_dig_port)) { +if (hdcp->shim->check_link (intel_dig_port, connector)) {if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) {intel_hdcp_update_value (connector,DRM_MODE_CONTENT_PROTECTION_ENABLED , true);
drivers/gpu/drm/i915/display/intel_hdmi.c +2 -3
@@ -1523,11 +1523,10 @@ int intel_hdmi_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port, }static -bool intel_hdmi_hdcp_check_link (struct intel_digital_port *intel_dig_port) +bool intel_hdmi_hdcp_check_link (struct intel_digital_port *intel_dig_port, +struct intel_connector *connector) {struct drm_i915_private *i915 =to_i915 (intel_dig_port->base.base.dev); -struct intel_connector *connector = - intel_dig_port->hdmi.attached_connector;enum port port = intel_dig_port->base.port;enum transcoder cpu_transcoder = connector->hdcp.cpu_transcoder;int ret;
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 13/14 drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Used to query whether an MST stream is encrypted or not.
Changes in v4:
-Added to the set
--- drivers/gpu/drm/drm_dp_mst_topology.c | 117 ++++++++++++++++++++++++++ include/drm/drm_dp_helper.h | 3 + include/drm/drm_dp_mst_helper.h | 44 ++++++++++ 3 files changed, 164 insertions(+)
drivers/gpu/drm/drm_dp_mst_topology.c +117 -0
@@ -25,6 +25,7 @@#include <linux/i2c.h> #include <linux/init.h> #include <linux/kernel.h> +#include <linux/random.h> #include <linux/sched.h> #include <linux/seq_file.h>
@@ -418,6 +419,22 @@ drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,memcpy (&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); idx += req->u.i2c_write.num_bytes;break ; +case DP_QUERY_STREAM_ENC_STATUS : { +const struct drm_dp_query_stream_enc_status *msg; + + msg = &req->u.enc_status; + buf[idx] = msg->stream_id; + idx++; +memcpy (&buf[idx], msg->client_id,sizeof (msg->client_id)); + idx +=sizeof (msg->client_id); + buf[idx] =0 ; + buf[idx] |= msg->stream_event &GENMASK (1 ,0 ); + buf[idx] |= msg->valid_stream_event ?BIT (2 ) :0 ; + buf[idx] |= (msg->stream_behavior &GENMASK (1 ,0 )) <<3 ; + buf[idx] |= msg->valid_stream_behavior ?BIT (5 ) :0 ; + idx++; + } +break ; } raw->cur_len = idx; }
@@ -926,6 +943,34 @@ static bool drm_dp_sideband_parse_power_updown_phy_ack(struct drm_dp_sideband_msreturn true; } +static bool +drm_dp_sideband_parse_query_stream_enc_status ( +struct drm_dp_sideband_msg_rx *raw, +struct drm_dp_sideband_msg_reply_body *repmsg) +{ +struct drm_dp_query_stream_enc_status_ack_reply *reply; + + reply = &repmsg->u.enc_status; + + reply->stream_id = raw->msg[3 ]; + + reply->reply_signed = raw->msg[2 ] &BIT (0 ); + + reply->hdcp_1x_device_present = raw->msg[2 ] &BIT (3 ); + reply->hdcp_2x_device_present = raw->msg[2 ] &BIT (4 ); + + reply->query_capable_device_present = raw->msg[2 ] &BIT (5 ); + reply->legacy_device_present = raw->msg[2 ] &BIT (6 ); + reply->unauthorizable_device_present = raw->msg[2 ] &BIT (7 ); + + reply->auth_completed = !!(raw->msg[1 ] &BIT (3 )); + reply->encryption_enabled = !!(raw->msg[1 ] &BIT (4 )); + reply->repeater_present = !!(raw->msg[1 ] &BIT (5 )); + reply->state = (raw->msg[1 ] &GENMASK (7 ,6 )) >>6 ; + +return true; +} +static bool drm_dp_sideband_parse_reply (struct drm_dp_sideband_msg_rx *raw,struct drm_dp_sideband_msg_reply_body *msg) {
@@ -960,6 +1005,8 @@ static bool drm_dp_sideband_parse_reply(struct drm_dp_sideband_msg_rx *raw,return drm_dp_sideband_parse_power_updown_phy_ack (raw, msg);case DP_CLEAR_PAYLOAD_ID_TABLE :return true;/* since there's nothing to parse */ +case DP_QUERY_STREAM_ENC_STATUS : +return drm_dp_sideband_parse_query_stream_enc_status (raw, msg);default :DRM_ERROR ("Got unknown reply 0x%02x (%s)\n" , msg->req_type,drm_dp_mst_req_type_str (msg->req_type));
@@ -1113,6 +1160,25 @@ static int build_power_updown_phy(struct drm_dp_sideband_msg_tx *msg,return 0 ; } +static int +build_query_stream_enc_status (struct drm_dp_sideband_msg_tx *msg,u8 stream_id, +u8 *q_id) +{ +struct drm_dp_sideband_msg_req_body req; + + req.req_type =DP_QUERY_STREAM_ENC_STATUS ; + req.u.enc_status.stream_id = stream_id; +memcpy (req.u.enc_status.client_id, q_id, +sizeof (req.u.enc_status.client_id)); + req.u.enc_status.stream_event =0 ; + req.u.enc_status.valid_stream_event = false; + req.u.enc_status.stream_behavior =0 ; + req.u.enc_status.valid_stream_behavior = false; + +drm_dp_encode_sideband_req (&req, msg); +return 0 ; +} +static int drm_dp_mst_assign_payload_id (struct drm_dp_mst_topology_mgr *mgr,struct drm_dp_vcpi *vcpi) {
@@ -3154,6 +3220,57 @@ int drm_dp_send_power_updown_phy(struct drm_dp_mst_topology_mgr *mgr, }EXPORT_SYMBOL (drm_dp_send_power_updown_phy); +int drm_dp_send_query_stream_enc_status (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_query_stream_enc_status_ack_reply *status) +{ +struct drm_dp_sideband_msg_tx *txmsg; +u8 nonce[7 ]; +int len, ret; + + txmsg =kzalloc (sizeof (*txmsg),GFP_KERNEL ); +if (!txmsg) +return -ENOMEM ; + + port =drm_dp_mst_topology_get_port_validated (mgr, port); +if (!port) { + ret = -EINVAL ; + goto out_get_port; + } + +get_random_bytes (nonce,sizeof (nonce)); + +/* +* "Source device targets the QUERY_STREAM_ENCRYPTION_STATUS message +* transaction at the MST Branch device directly connected to the +* Source" +*/ + txmsg->dst = mgr->mst_primary; + + len =build_query_stream_enc_status (txmsg, port->vcpi.vcpi, nonce); + +drm_dp_queue_down_tx (mgr, txmsg); + + ret =drm_dp_mst_wait_tx_reply (mgr->mst_primary, txmsg); +if (ret <0 ) { + goto out; + }else if (txmsg->reply.reply_type ==DP_SIDEBAND_REPLY_NAK ) { +DRM_DEBUG_KMS ("query encryption status nak received\n" ); + ret = -ENXIO ; + goto out; + } + + ret =0 ; +memcpy (status, &txmsg->reply.u.enc_status,sizeof (*status)); + +out: +drm_dp_mst_topology_put_port (port); +out_get_port: +kfree (txmsg); +return ret; +} +EXPORT_SYMBOL (drm_dp_send_query_stream_enc_status); +static int drm_dp_create_payload_step1 (struct drm_dp_mst_topology_mgr *mgr,int id,struct drm_dp_payload *payload)
include/drm/drm_dp_helper.h +3 -0
@@ -1099,6 +1099,9 @@#define DP_POWER_DOWN_PHY 0x25#define DP_SINK_EVENT_NOTIFY 0x30#define DP_QUERY_STREAM_ENC_STATUS 0x38 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_NO_EXIST 0 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_INACTIVE 1 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_ACTIVE 2/* DP 1.2 MST sideband reply types */ #define DP_SIDEBAND_REPLY_ACK 0x00
include/drm/drm_dp_mst_helper.h +44 -0
74 lines not on this page · raw message
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v4 13/14] drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message
Hey - I've got a good bit of stuff on my plate right now since I just got back from PTO and am going through my backlog of stuff, but I'll try to get this reviewed first chance I get
Quoted 290 lines · Sean Paul
From: Sean Paul <[email protected]>
Used to query whether an MST stream is encrypted or not.
Cc Lyude Paul <[email protected]>Signed-off-by Sean Paul <[email protected]>Changes in v4:
(quoted diff) +0
-2-Added to the set --- drivers/gpu/drm/drm_dp_mst_topology.c | 117 ++++++++++++++++++++++++++ include/drm/drm_dp_helper.h | 3 + include/drm/drm_dp_mst_helper.h | 44 ++++++++++ 3 files changed, 164 insertions(+)drivers/gpu/drm/drm_dp_mst_topology.c +17
-0@@ -25,6 +25,7 @@#include <linux/i2c.h> #include <linux/init.h> #include <linux/kernel.h> +#include <linux/random.h> #include <linux/sched.h> #include <linux/seq_file.h> @@ -418,6 +419,22 @@ drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,memcpy (&buf[idx], req->u.i2c_write.bytes, req- >u.i2c_write.num_bytes); idx += req->u.i2c_write.num_bytes;break ; +case DP_QUERY_STREAM_ENC_STATUS : { +const struct drm_dp_query_stream_enc_status *msg; + + msg = &req->u.enc_status; + buf[idx] = msg->stream_id; + idx++; +memcpy (&buf[idx], msg->client_id,sizeof (msg->client_id)); + idx +=sizeof (msg->client_id); + buf[idx] =0 ; + buf[idx] |= msg->stream_event &GENMASK (1 ,0 ); + buf[idx] |= msg->valid_stream_event ?BIT (2 ) :0 ; + buf[idx] |= (msg->stream_behavior &GENMASK (1 ,0 )) <<3 ; + buf[idx] |= msg->valid_stream_behavior ?BIT (5 ) :0 ; + idx++; + } +break ; }drivers/gpu/drm/drm_dp_mst_topology.c +0
-0raw->cur_len = idx; }@@ -926,6 +943,34 @@ static booldrm_dp_sideband_parse_power_updown_phy_ack(struct
drm_dp_sideband_msdrivers/gpu/drm/drm_dp_mst_topology.c +28
-0return true; } +static bool +drm_dp_sideband_parse_query_stream_enc_status ( +struct drm_dp_sideband_msg_rx *raw, +struct drm_dp_sideband_msg_reply_body *repmsg) +{ +struct drm_dp_query_stream_enc_status_ack_reply *reply; + + reply = &repmsg->u.enc_status; + + reply->stream_id = raw->msg[3 ]; + + reply->reply_signed = raw->msg[2 ] &BIT (0 ); + + reply->hdcp_1x_device_present = raw->msg[2 ] &BIT (3 ); + reply->hdcp_2x_device_present = raw->msg[2 ] &BIT (4 ); + + reply->query_capable_device_present = raw->msg[2 ] &BIT (5 ); + reply->legacy_device_present = raw->msg[2 ] &BIT (6 ); + reply->unauthorizable_device_present = raw->msg[2 ] &BIT (7 ); + + reply->auth_completed = !!(raw->msg[1 ] &BIT (3 )); + reply->encryption_enabled = !!(raw->msg[1 ] &BIT (4 )); + reply->repeater_present = !!(raw->msg[1 ] &BIT (5 )); + reply->state = (raw->msg[1 ] &GENMASK (7 ,6 )) >>6 ; + +return true; +} +static bool drm_dp_sideband_parse_reply (struct drm_dp_sideband_msg_rx *raw, struct drm_dp_sideband_msg_reply_body*msg)
{drivers/gpu/drm/drm_dp_mst_topology.c +2
-0@@ -960,6 +1005,8 @@ static bool drm_dp_sideband_parse_reply(structdrm_dp_sideband_msg_rx *raw, return drm_dp_sideband_parse_power_updown_phy_ack(raw, msg);case DP_CLEAR_PAYLOAD_ID_TABLE :return true;/* since there's nothing to parse */ +case DP_QUERY_STREAM_ENC_STATUS : +return drm_dp_sideband_parse_query_stream_enc_status (raw, msg);default :drivers/gpu/drm/drm_dp_mst_topology.c +19
-0DRM_ERROR ("Got unknown reply 0x%02x (%s)\n" , msg->req_type,drm_dp_mst_req_type_str (msg->req_type));@@ -1113,6 +1160,25 @@ static int build_power_updown_phy(structdrm_dp_sideband_msg_tx *msg, return 0; } +static int +build_query_stream_enc_status (struct drm_dp_sideband_msg_tx *msg,u8 stream_id, +u8 *q_id) +{ +struct drm_dp_sideband_msg_req_body req; + + req.req_type =DP_QUERY_STREAM_ENC_STATUS ; + req.u.enc_status.stream_id = stream_id; +memcpy (req.u.enc_status.client_id, q_id, +sizeof (req.u.enc_status.client_id)); + req.u.enc_status.stream_event =0 ; + req.u.enc_status.valid_stream_event = false; + req.u.enc_status.stream_behavior =0 ; + req.u.enc_status.valid_stream_behavior = false; + +drm_dp_encode_sideband_req (&req, msg); +return 0 ; +} + static int drm_dp_mst_assign_payload_id(struct drm_dp_mst_topology_mgr*mgr,
drivers/gpu/drm/drm_dp_mst_topology.c +51
-0struct drm_dp_vcpi *vcpi) {@@ -3154,6 +3220,57 @@ int drm_dp_send_power_updown_phy(structdrm_dp_mst_topology_mgr *mgr, }EXPORT_SYMBOL (drm_dp_send_power_updown_phy ); +int drm_dp_send_query_stream_enc_status (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_query_stream_enc_status_ack_reply *status) +{ +struct drm_dp_sideband_msg_tx *txmsg; +u8 nonce[7 ]; +int len, ret; + + txmsg =kzalloc (sizeof (*txmsg),GFP_KERNEL ); +if (!txmsg) +return -ENOMEM ; + + port =drm_dp_mst_topology_get_port_validated (mgr, port); +if (!port) { + ret = -EINVAL ; + goto out_get_port; + } + +get_random_bytes (nonce,sizeof (nonce)); + +/* +* "Source device targets the QUERY_STREAM_ENCRYPTION_STATUS message +* transaction at the MST Branch device directly connected to the +* Source" +*/ + txmsg->dst = mgr->mst_primary; + + len =build_query_stream_enc_status (txmsg, port->vcpi.vcpi, nonce); + +drm_dp_queue_down_tx (mgr, txmsg); + + ret =drm_dp_mst_wait_tx_reply (mgr->mst_primary, txmsg); +if (ret <0 ) { + goto out; + }else if (txmsg->reply.reply_type ==DP_SIDEBAND_REPLY_NAK ) { +DRM_DEBUG_KMS ("query encryption status nak received\n" ); + ret = -ENXIO ; + goto out; + } + + ret =0 ; +memcpy (status, &txmsg->reply.u.enc_status,sizeof (*status)); + +out: +drm_dp_mst_topology_put_port (port); +out_get_port: +kfree (txmsg); +return ret; +} +EXPORT_SYMBOL (drm_dp_send_query_stream_enc_status); + static int drm_dp_create_payload_step1(struct drm_dp_mst_topology_mgr *mgr,drivers/gpu/drm/drm_dp_mst_topology.c +0
-0int id, struct drm_dp_payload *payload)include/drm/drm_dp_helper.h +3
-0@@ -1099,6 +1099,9 @@#define DP_POWER_DOWN_PHY 0x25#define DP_SINK_EVENT_NOTIFY 0x30#define DP_QUERY_STREAM_ENC_STATUS 0x38 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_NO_EXIST 0 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_INACTIVE 1 +#define DP_QUERY_STREAM_ENC_STATUS_STATE_ACTIVE 2/* DP 1.2 MST sideband reply types */ #define DP_SIDEBAND_REPLY_ACK 0x00include/drm/drm_dp_mst_helper.h +44
-0@@ -305,6 +305,34 @@ struct drm_dp_remote_i2c_write_ack_reply {u8 port_number; }; +struct drm_dp_query_stream_enc_status_ack_reply { +/* Bit[23:16]- Stream Id */ +u8 stream_id; + +/* Bit[15]- Signed */ +bool reply_signed; + +/* Bit[10:8]- Stream Output Sink Type */ +bool unauthorizable_device_present; +bool legacy_device_present; +bool query_capable_device_present; + +/* Bit[12:11]- Stream Output CP Type */ +bool hdcp_1x_device_present; +bool hdcp_2x_device_present; + +/* Bit[4]- Stream Authentication */ +bool auth_completed; + +/* Bit[3]- Stream Encryption */ +bool encryption_enabled; + +/* Bit[2]- Stream Repeater Function Present */ +bool repeater_present; + +/* Bit[1:0]- Stream State */ +u8 state; +};struct drm_dp_sideband_msg_rx {u8 chunk[48 ];@@ -378,6 +406,15 @@ struct drm_dp_remote_i2c_write {u8 *bytes; }; +struct drm_dp_query_stream_enc_status { +u8 stream_id; +u8 client_id[7 ];/* 56-bit nonce */ +u8 stream_event; +bool valid_stream_event; +u8 stream_behavior; +u8 valid_stream_behavior; +}; +/* this covers ENUM_RESOURCES, POWER_DOWN_PHY, POWER_UP_PHY */ struct drm_dp_port_number_req {u8 port_number;@@ -426,6 +463,8 @@ struct drm_dp_sideband_msg_req_body {struct drm_dp_remote_i2c_read i2c_read;struct drm_dp_remote_i2c_write i2c_write; + +struct drm_dp_query_stream_enc_status enc_status; } u; };@@ -448,6 +487,8 @@ struct drm_dp_sideband_msg_reply_body {struct drm_dp_remote_i2c_read_ack_reply remote_i2c_read_ack;struct drm_dp_remote_i2c_read_nak_reply remote_i2c_read_nack;struct drm_dp_remote_i2c_write_ack_reply remote_i2c_write_ack; + +struct drm_dp_query_stream_enc_status_ack_reply enc_status; } u; };@@ -804,6 +845,9 @@ drm_dp_atomic_release_vcpi_slots(struct drm_atomic_state *state, struct drm_dp_mst_port *port);int drm_dp_send_power_updown_phy (struct drm_dp_mst_topology_mgr *mgr,struct drm_dp_mst_port *port,bool power_up); +int drm_dp_send_query_stream_enc_status (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_query_stream_enc_status_ack_reply *status);int __must_check drm_dp_mst_atomic_check (struct drm_atomic_state *state);void
drm_dp_mst_get_port_malloc(struct drm_dp_mst_port *port);
Signature · 8 lines
Cheers, Lyude Paul (she/her) Associate Software Engineer at Red Hat _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 14/14 drm/i915: Add HDCP 1.4 support for MST connectors
In reply to Sean PaulFrom: Sean Paul <[email protected]>
Now that all the groundwork has been laid, we can turn on HDCP 1.4 over MST. Everything except for toggling the HDCP signalling and HDCP 2.2 support is the same as the DP case, so we'll re-use those callbacks
Changes in v2:
-Toggle HDCP from encoder disable/enable
-Don't disable HDCP on MST connector destroy, leave that for encoder
disable, just ensure the check_work routine isn't running any longer
Changes in v3:
-Place the shim in the new intel_dp_hdcp.c file (Ville) Changes in v4:
-Actually use the mst shim for mst connections (Juston)
-Use QUERY_STREAM_ENC_STATUS MST message to verify channel is encrypted
--- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 102 ++++++++++++++++++- drivers/gpu/drm/i915/display/intel_dp_mst.c | 14 +++ 2 files changed, 115 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +101 -1
@@ -7,10 +7,12 @@*/ #include <drm/drm_dp_helper.h> +#include <drm/drm_dp_mst_helper.h> #include <drm/drm_hdcp.h> #include <drm/drm_print.h> #include "intel_display_types.h" +#include "intel_ddi.h" #include "intel_dp.h" #include "intel_hdcp.h"
@@ -586,6 +588,101 @@ static const struct intel_hdcp_shim intel_dp_hdcp_shim = { .protocol = HDCP_PROTOCOL_DP, }; +static int +intel_dp_mst_hdcp_toggle_signalling (struct intel_digital_port *intel_dig_port, +enum transcoder cpu_transcoder, +bool enable) +{ +int ret; + + ret =intel_ddi_toggle_hdcp_signalling (&intel_dig_port->base, + cpu_transcoder, enable); +if (ret) +DRM_DEBUG_KMS ("%s HDCP signalling failed (%d)\n" , + enable ?"Enable" :"Disable" , ret); +return ret; +} + +static +int intel_dp_mst_hdcp2_write_msg (struct intel_digital_port *intel_dig_port, +void *buf,size_t size) +{ +return -EOPNOTSUPP ; +} + +static +int intel_dp_mst_hdcp2_read_msg (struct intel_digital_port *intel_dig_port, +u8 msg_id,void *buf,size_t size) +{ +return -EOPNOTSUPP ; +} + +static int +intel_dp_mst_hdcp2_config_stream_type (struct intel_digital_port *intel_dig_port, +bool is_repeater,u8 content_type) +{ +return -EOPNOTSUPP ; +} + +static +int intel_dp_mst_hdcp2_check_link (struct intel_digital_port *intel_dig_port) +{ +return -EOPNOTSUPP ; +} + +static +int intel_dp_mst_hdcp2_capable (struct intel_digital_port *intel_dig_port, +bool *capable) +{ + *capable = false; +return 0 ; +} + +static +bool intel_dp_mst_hdcp_check_link (struct intel_digital_port *intel_dig_port, +struct intel_connector *connector) +{ +struct intel_dp *intel_dp = &intel_dig_port->dp; +struct drm_dp_query_stream_enc_status_ack_reply reply; +int ret; + +if (!intel_dp_hdcp_check_link (intel_dig_port, connector)) +return false; + + ret =drm_dp_send_query_stream_enc_status (&intel_dp->mst_mgr, + connector->port, &reply); +if (ret) { +DRM_DEBUG_KMS ("[CONNECTOR:%d:%s] failed QSES ret=%d\n" , + connector->base.base.id, connector->base.name, + ret); +return false; + } + +return reply.auth_completed && reply.encryption_enabled; +} + +static const struct intel_hdcp_shim intel_dp_mst_hdcp_shim = { + .write_an_aksv = intel_dp_hdcp_write_an_aksv, + .read_bksv = intel_dp_hdcp_read_bksv, + .read_bstatus = intel_dp_hdcp_read_bstatus, + .repeater_present = intel_dp_hdcp_repeater_present, + .read_ri_prime = intel_dp_hdcp_read_ri_prime, + .read_ksv_ready = intel_dp_hdcp_read_ksv_ready, + .read_ksv_fifo = intel_dp_hdcp_read_ksv_fifo, + .read_v_prime_part = intel_dp_hdcp_read_v_prime_part, + .toggle_signalling = intel_dp_mst_hdcp_toggle_signalling, + .check_link = intel_dp_mst_hdcp_check_link, + .hdcp_capable = intel_dp_hdcp_capable, + + .write_2_2_msg = intel_dp_mst_hdcp2_write_msg, + .read_2_2_msg = intel_dp_mst_hdcp2_read_msg, + .config_stream_type = intel_dp_mst_hdcp2_config_stream_type, + .check_2_2_link = intel_dp_mst_hdcp2_check_link, + .hdcp_2_2_capable = intel_dp_mst_hdcp2_capable, + + .protocol =HDCP_PROTOCOL_DP , +}; +int intel_dp_init_hdcp (struct intel_digital_port *intel_dig_port,struct intel_connector *intel_connector) {
@@ -598,7 +695,10 @@ int intel_dp_init_hdcp(struct intel_digital_port *intel_dig_port,if (!is_hdcp_supported (dev_priv, port))return 0 ; -if (!intel_dp_is_edp (intel_dp)) +if (intel_connector->mst_port) +return intel_hdcp_init (intel_connector, + &intel_dp_mst_hdcp_shim); +else if (!intel_dp_is_edp (intel_dp))return intel_hdcp_init (intel_connector, &intel_dp_hdcp_shim);return 0 ;
drivers/gpu/drm/i915/display/intel_dp_mst.c +14 -0
@@ -36,6 +36,7 @@#include "intel_dp.h" #include "intel_dp_mst.h" #include "intel_dpio_phy.h" +#include "intel_hdcp.h" static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder, struct intel_crtc_state *crtc_state,
@@ -326,6 +327,8 @@ static void intel_mst_disable_dp(struct intel_encoder *encoder,DRM_DEBUG_KMS ("active links %d\n" , intel_dp->active_mst_links); +intel_hdcp_disable (intel_mst->connector); +drm_dp_mst_reset_vcpi_slots (&intel_dp->mst_mgr, connector->port); ret =drm_dp_update_payload_part1 (&intel_dp->mst_mgr);
@@ -510,6 +513,13 @@ static void intel_mst_enable_dp(struct intel_encoder *encoder,drm_dp_update_payload_part2 (&intel_dp->mst_mgr);if (pipe_config->has_audio)intel_audio_codec_enable (encoder, pipe_config, conn_state); + +/* Enable hdcp if it's desired */ +if (conn_state->content_protection == +DRM_MODE_CONTENT_PROTECTION_DESIRED ) +intel_hdcp_enable (to_intel_connector (conn_state->connector), + pipe_config->cpu_transcoder, + (u8 )conn_state->hdcp_content_type); } static bool intel_dp_mst_enc_get_hw_state(struct intel_encoder *encoder,
@@ -703,6 +713,10 @@ static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topolointel_attach_force_audio_property (connector);intel_attach_broadcast_rgb_property (connector); + ret =intel_dp_init_hdcp (intel_dig_port, intel_connector); +if (ret) +DRM_DEBUG_KMS ("HDCP init failed, skipping.\n" ); +/* * Reuse the prop from the SST connector because we're * not allowed to create new props after device registration.
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
In reply to Sean Paul== Series Details ==
== Series Details ==
Series: drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
URL : https://patchwork.freedesktop.org/series/70393/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 00144368762c drm/i915: Fix sha_text population code -:60: WARNING:LINE_SPACING: Missing a blank line after declarations #60: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:342: + u8 off = ((sizeof(sha_text) - j - 1 - sha_leftovers) * 8); + sha_text |= ksv[j] << off;
total: 0 errors, 1 warnings, 0 checks, 61 lines checkedc57f20a6d5ac drm/i915: Clear the repeater bit on HDCP disable f1e66e436fbc drm/i915: WARN if HDCP signalling is enabled upon disable 9c9e349c28d2 drm/i915: Intercept Aksv writes in the aux hooks 56ad8b94e126 drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP signalling 943511ab23c7 drm/i915: Factor out hdcp->value assignments
-:66: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #66: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:926:
+ intel_hdcp_update_value(connector,
+ DRM_MODE_CONTENT_PROTECTION_ENABLED, true);
-:111: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #111: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:1779:
+ intel_hdcp_update_value(connector,
+ DRM_MODE_CONTENT_PROTECTION_ENABLED,
-:123: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #123: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:1794:
+ intel_hdcp_update_value(connector,
+ DRM_MODE_CONTENT_PROTECTION_ENABLED,
-:135: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #135: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:1814:
+ intel_hdcp_update_value(connector,
+ DRM_MODE_CONTENT_PROTECTION_DESIRED, true);
total: 0 errors, 0 warnings, 4 checks, 138 lines checked389e75331a14 drm/i915: Protect workers against disappearing connectors 301dd5045dc9 drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it 137f1748c5be drm/i915: Support DP MST in enc_to_dig_port() function066f466f0668 drm/i915: Use ddi_update_pipe in intel_dp_mst23e973d48595 drm/i915: Factor out HDCP shim functions from dp for use by dp_mst -:653: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #653:
new file mode 100644
-:658: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'drivers/gpu/drm/i915/display/intel_dp_hdcp.c', please use '//' instead #658: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:1:
+/* SPDX-License-Identifier: MIT */
-:658: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #658: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:1:
+/* SPDX-License-Identifier: MIT */
-:1054: WARNING:LINE_SPACING: Missing a blank line after declarations #1054: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:397:
+ ssize_t ret;
+ ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv,
-:1065: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #1065: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:408:
+int intel_dp_hdcp_read_bstatus(struct intel_digital_port *intel_dig_port,
+ u8 *bstatus)
-:1118: WARNING:LINE_SPACING: Missing a blank line after declarations #1118: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:461:
+ ssize_t ret;
+ ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME,
-:1133: WARNING:LINE_SPACING: Missing a blank line after declarations #1133: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:476:
+ u8 bstatus;
+ ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS,
-:1153: WARNING:LINE_SPACING: Missing a blank line after declarations #1153: FILE: drivers/gpu/drm/i915/display/intel_dp_hdcp.c:496:
+ size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN;
+ ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux,
total: 0 errors, 7 warnings, 1 checks, 1217 lines checked60fa90f3f472 drm/i915: Add connector to hdcp_shim->check_link() 8d2bdafbea37 drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message -:55: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#55: FILE: drivers/gpu/drm/drm_dp_mst_topology.c:947:
+drm_dp_sideband_parse_query_stream_enc_status(
-:125: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #125: FILE: drivers/gpu/drm/drm_dp_mst_topology.c:3224:
+int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr,
+ struct drm_dp_mst_port *port,
-:270: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #270: FILE: include/drm/drm_dp_mst_helper.h:849:
+int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr,
+ struct drm_dp_mst_port *port,
total: 0 errors, 0 warnings, 3 checks, 236 lines checked 1b69e08389bd drm/i915: Add HDCP 1.4 support for MST connectors
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
In reply to Sean Paul== Series Details ==
== Series Details ==
Series: drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
URL : https://patchwork.freedesktop.org/series/70393/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7963 -> Patchwork_16610
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/index.html
Known issues
------------
Here are the changes found in Patchwork_16610 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_gem_contexts:
- fi-cfl-guc: [PASS][1] -> [INCOMPLETE][2] ([CI#80] / [fdo#106070] / [i915#424])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
* igt@i915_selftest@live_sanitycheck:
- fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([i915#585]) +39 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- fi-hsw-peppy: [INCOMPLETE][5] ([i915#694] / [i915#816]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-hsw-peppy/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-hsw-peppy/igt@[email protected]
- fi-byt-n2820: [INCOMPLETE][7] ([i915#45]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-byt-n2820/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-byt-n2820/igt@[email protected]
* igt@i915_selftest@live_active:
- fi-icl-dsi: [DMESG-FAIL][9] ([i915#765]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-dsi/igt@i915_selftest@live_active.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-icl-dsi/igt@i915_selftest@live_active.html
* igt@i915_selftest@live_gem_contexts:
- fi-cfl-8700k: [INCOMPLETE][11] ([i915#424]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
- fi-cml-s: [DMESG-FAIL][13] ([i915#877]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-cml-s/igt@i915_selftest@live_gem_contexts.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-cml-s/igt@i915_selftest@live_gem_contexts.html
* igt@i915_selftest@live_gt_heartbeat:
- fi-kbl-7500u: [DMESG-FAIL][15] ([fdo#112406]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-kbl-7500u/igt@i915_selftest@live_gt_heartbeat.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-kbl-7500u/igt@i915_selftest@live_gt_heartbeat.html
* igt@kms_flip@basic-flip-vs-wf_vblank:
- fi-bsw-n3050: [FAIL][17] ([i915#34]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank.html
#### Warnings ####
* igt@i915_pm_rpm@basic-rte:
- fi-kbl-guc: [FAIL][19] ([i915#579]) -> [SKIP][20] ([fdo#109271])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-kbl-guc/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-kbl-guc/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- fi-icl-u3: [SKIP][21] ([fdo#109284] / [fdo#111827]) -> [SKIP][22] ([fdo#109284] / [fdo#111827] / [i915#585])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-icl-u3/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-icl-u3: [SKIP][23] ([fdo#109285]) -> [SKIP][24] ([fdo#109285] / [i915#585])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-icl-u3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-icl-u3/igt@[email protected]
* igt@runner@aborted:
- fi-byt-n2820: [FAIL][25] ([i915#816]) -> [FAIL][26] ([i915#999])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/fi-byt-n2820/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/fi-byt-n2820/igt@[email protected]
[CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80
[fdo#106070]: https://bugs.freedesktop.org/show_bug.cgi?id=106070
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112406]: https://bugs.freedesktop.org/show_bug.cgi?id=112406
[i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34
[i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#585]: https://gitlab.freedesktop.org/drm/intel/issues/585
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#765]: https://gitlab.freedesktop.org/drm/intel/issues/765
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816
[i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877
[i915#999]: https://gitlab.freedesktop.org/drm/intel/issues/999
Participating hosts (50 -> 38)
------------------------------
Missing (12): fi-ilk-m540 fi-bdw-5557u fi-hsw-4200u fi-glk-dsi fi-bsw-cyan fi-ctg-p8600 fi-skl-6700k2 fi-skl-lmem fi-bdw-samus fi-bsw-nick fi-skl-6600u fi-kbl-r
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7963 -> Patchwork_16610
CI-20190529: 20190529
CI_DRM_7963: e0d737598eb749378a5dc4ed3dfafc6f79d512cb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5448: 116020b1f83c1b3994c76882df7f77b6731d78ba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16610: 1b69e08389bd2a60c87d99bbb75687c781368d24 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
1b69e08389bd drm/i915: Add HDCP 1.4 support for MST connectors8d2bdafbea37 drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message 60fa90f3f472 drm/i915: Add connector to hdcp_shim->check_link() 23e973d48595 drm/i915: Factor out HDCP shim functions from dp for use by dp_mst 066f466f0668 drm/i915: Use ddi_update_pipe in intel_dp_mst137f1748c5be drm/i915: Support DP MST in enc_to_dig_port() function 301dd5045dc9 drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it 389e75331a14 drm/i915: Protect workers against disappearing connectors 943511ab23c7 drm/i915: Factor out hdcp->value assignments56ad8b94e126 drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP signalling 9c9e349c28d2 drm/i915: Intercept Aksv writes in the aux hooksf1e66e436fbc drm/i915: WARN if HDCP signalling is enabled upon disable c57f20a6d5ac drm/i915: Clear the repeater bit on HDCP disable00144368762c drm/i915: Fix sha_text population code
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
In reply to Sean Paul== Series Details ==
== Series Details ==
Series: drm/i915: Add support for HDCP 1.4 over MST connectors (rev4)
URL : https://patchwork.freedesktop.org/series/70393/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7963_full -> Patchwork_16610_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
New tests
---------
New tests have been introduced between CI_DRM_7963_full and Patchwork_16610_full:
### New IGT tests (58) ###
* igt@i915_pm_backlight@bad-brightness:
- Statuses : 3 pass(s) 3 skip(s)
- Exec time: [0.0, 0.01] s
* igt@i915_pm_backlight@basic-brightness:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 0.23] s
* igt@i915_pm_backlight@fade:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 2.59] s
* igt@i915_pm_backlight@fade_with_dpms:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 4.99] s
* igt@i915_pm_backlight@fade_with_suspend:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 4.45] s
* igt@i915_pm_lpsp@edp-native:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.04] s
* igt@i915_pm_lpsp@edp-panel-fitter:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.04] s
* igt@i915_pm_lpsp@non-edp:
- Statuses : 1 pass(s) 7 skip(s)
- Exec time: [0.0, 0.11] s
* igt@i915_pm_lpsp@screens-disabled:
- Statuses : 1 pass(s) 7 skip(s)
- Exec time: [0.0, 0.04] s
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@i915_pm_rc6_residency@rc6-accuracy:
- Statuses : 8 pass(s)
- Exec time: [3.00] s
* igt@i915_pm_rpm@basic-pci-d3-state:
- Statuses : 7 pass(s)
- Exec time: [0.17, 5.03] s
* igt@i915_pm_rpm@basic-rte:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [1.32, 11.52] s
* igt@i915_pm_rpm@cursor:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 41.20] s
* igt@i915_pm_rpm@cursor-dpms:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 36.77] s
* igt@i915_pm_rpm@debugfs-forcewake-user:
- Statuses : 6 pass(s)
- Exec time: [10.31, 14.15] s
* igt@i915_pm_rpm@debugfs-read:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 81.00] s
* igt@i915_pm_rpm@dpms-lpsp:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 0.82] s
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 13.42] s
* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- Statuses : 4 pass(s) 4 skip(s)
- Exec time: [0.0, 4.15] s
* igt@i915_pm_rpm@dpms-non-lpsp:
- Statuses : 4 pass(s) 3 skip(s)
- Exec time: [0.0, 0.19] s
* igt@i915_pm_rpm@drm-resources-equal:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 9.59] s
* igt@i915_pm_rpm@fences:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 14.76] s
* igt@i915_pm_rpm@fences-dpms:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 16.75] s
* igt@i915_pm_rpm@gem-evict-pwrite:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 3.97] s
* igt@i915_pm_rpm@gem-execbuf:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 15.28] s
* igt@i915_pm_rpm@gem-execbuf-stress:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 42.81] s
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.00] s
* igt@i915_pm_rpm@gem-idle:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 9.16] s
* igt@i915_pm_rpm@gem-pread:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 6.40] s
* igt@i915_pm_rpm@i2c:
- Statuses : 7 pass(s)
- Exec time: [0.94, 11.16] s
* igt@i915_pm_rpm@legacy-planes:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 169.67] s
* igt@i915_pm_rpm@legacy-planes-dpms:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 169.80] s
* igt@i915_pm_rpm@modeset-lpsp:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 4.93] s
* igt@i915_pm_rpm@modeset-lpsp-stress:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 55.03] s
* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- Statuses : 3 pass(s) 5 skip(s)
- Exec time: [0.0, 18.49] s
* igt@i915_pm_rpm@modeset-non-lpsp:
- Statuses : 4 pass(s) 4 skip(s)
- Exec time: [0.0, 3.94] s
* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- Statuses : 4 pass(s) 4 skip(s)
- Exec time: [0.0, 9.13] s
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- Statuses : 4 pass(s) 4 skip(s)
- Exec time: [0.0, 7.06] s
* igt@i915_pm_rpm@modeset-pc8-residency-stress:
- Statuses : 8 skip(s)
- Exec time: [0.0] s
* igt@i915_pm_rpm@modeset-stress-extra-wait:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 72.02] s
* igt@i915_pm_rpm@pc8-residency:
- Statuses : 8 skip(s)
- Exec time: [0.0] s
* igt@i915_pm_rpm@pm-caching:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 19.44] s
* igt@i915_pm_rpm@pm-tiling:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 16.66] s
* igt@i915_pm_rpm@reg-read-ioctl:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 8.11] s
* igt@i915_pm_rpm@sysfs-read:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 3.98] s
* igt@i915_pm_rpm@system-suspend:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 9.04] s
* igt@i915_pm_rpm@system-suspend-devices:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 13.20] s
* igt@i915_pm_rpm@system-suspend-execbuf:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 85.97] s
* igt@i915_pm_rpm@system-suspend-modeset:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 14.58] s
* igt@i915_pm_rpm@universal-planes:
- Statuses : 7 pass(s)
- Exec time: [2.90, 226.04] s
* igt@i915_pm_rpm@universal-planes-dpms:
- Statuses : 7 pass(s) 1 skip(s)
- Exec time: [0.0, 195.19] s
* igt@i915_pm_rps@basic-api:
- Statuses : 8 pass(s)
- Exec time: [0.00, 0.03] s
* igt@i915_pm_rps@min-max-config-idle:
- Statuses : 8 pass(s)
- Exec time: [0.11, 1.05] s
* igt@i915_pm_rps@min-max-config-loaded:
- Statuses : 1 fail(s) 7 pass(s)
- Exec time: [0.31, 3.02] s
* igt@i915_pm_rps@reset:
- Statuses : 1 fail(s) 7 pass(s)
- Exec time: [3.52, 3.66] s
* igt@i915_pm_rps@waitboost:
- Statuses : 8 pass(s)
- Exec time: [2.52, 2.63] s
* igt@i915_pm_sseu@full-enable:
- Statuses : 4 pass(s) 4 skip(s)
- Exec time: [0.0, 0.01] s
Known issues
------------
Here are the changes found in Patchwork_16610_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_busy@busy-vcs1:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#112080]) +12 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb8/igt@[email protected]
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb4/igt@[email protected]
* igt@gem_exec_schedule@pi-shared-iova-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([i915#677]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb8/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb4/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#112146]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb5/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb4/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#109276]) +17 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb3/igt@[email protected]
* igt@gem_partial_pwrite_pread@write-uncached:
- shard-hsw: [PASS][11] -> [FAIL][12] ([i915#694]) +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw1/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-tglb: [PASS][13] -> [FAIL][14] ([i915#644])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb3/igt@[email protected]
* igt@i915_selftest@live_gt_lrc:
- shard-tglb: [PASS][15] -> [INCOMPLETE][16] ([i915#1233])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb8/igt@i915_selftest@live_gt_lrc.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb7/igt@i915_selftest@live_gt_lrc.html
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([i915#180])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl3/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-kbl7/igt@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank:
- shard-tglb: [PASS][19] -> [FAIL][20] ([i915#488])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@kms_flip@flip-vs-absolute-wf_vblank.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb1/igt@kms_flip@flip-vs-absolute-wf_vblank.html
* igt@kms_flip@flip-vs-suspend:
- shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103665] / [i915#600])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-kbl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-skl: [PASS][23] -> [FAIL][24] ([i915#49])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [PASS][25] -> [FAIL][26] ([fdo#108145])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][27] -> [FAIL][28] ([fdo#108145] / [i915#265])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl10/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl9/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109441]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb7/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@perf@short-reads:
- shard-apl: [PASS][31] -> [TIMEOUT][32] ([fdo#112271] / [i915#51])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-apl8/igt@[email protected]
#### Possible fixes ####
* {igt@gem_ctx_persistence@close-replace-race}:
- shard-iclb: [FAIL][33] ([i915#1241]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@[email protected]
- shard-apl: [FAIL][35] ([i915#1241]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-apl2/igt@[email protected]
* {igt@gem_ctx_persistence@legacy-engines-mixed-process@vebox}:
- shard-skl: [FAIL][37] ([i915#679]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl8/igt@gem_ctx_persistence@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl1/igt@gem_ctx_persistence@[email protected]
* {igt@gem_exec_schedule@implicit-both-bsd2}:
- shard-iclb: [SKIP][39] ([fdo#109276] / [i915#677]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb1/igt@[email protected]
* {igt@gem_exec_schedule@implicit-read-write-bsd}:
- shard-iclb: [SKIP][41] ([i915#677]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb2/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb7/igt@[email protected]
* igt@gem_exec_schedule@pi-ringfull-bsd:
- shard-iclb: [SKIP][43] ([fdo#112146]) -> [PASS][44] +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb7/igt@[email protected]
* igt@gem_exec_store@cachelines-vcs1:
- shard-iclb: [SKIP][45] ([fdo#112080]) -> [PASS][46] +9 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [FAIL][47] ([i915#644]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-glk8/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-glk1/igt@[email protected]
* igt@i915_pm_rps@waitboost (NEW):
- shard-tglb: [FAIL][49] ([i915#413]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-size-change:
- shard-snb: [SKIP][51] ([fdo#109271]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-snb4/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-snb1/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [FAIL][53] ([i915#96]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw8/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw1/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [DMESG-WARN][55] ([i915#180]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-kbl4/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][57] ([i915#79]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl5/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl10/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-hsw: [INCOMPLETE][59] ([i915#61]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-rte:
- shard-tglb: [SKIP][61] ([i915#668]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb5/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][65] ([fdo#108145]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl9/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl4/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][67] ([i915#173]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@kms_psr@no_drrs.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][69] ([fdo#109441]) -> [PASS][70] +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb1/igt@kms_psr@psr2_primary_page_flip.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][71] ([i915#31]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-apl2/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-apl7/igt@[email protected]
- shard-skl: [FAIL][73] ([i915#31]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl9/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl4/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-skl: [INCOMPLETE][75] ([i915#69]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-skl3/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-skl5/igt@[email protected]
* igt@perf@short-reads:
- shard-kbl: [TIMEOUT][77] ([fdo#112271] / [i915#51]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-kbl6/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-kbl7/igt@[email protected]
* igt@prime_mmap_coherency@ioctl-errors:
- shard-hsw: [FAIL][79] ([i915#831]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw8/igt@[email protected]
* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [SKIP][81] ([fdo#109276]) -> [PASS][82] +21 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb8/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb1/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [SKIP][83] ([fdo#112080]) -> [FAIL][84] ([IGT#28])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb6/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@[email protected]
* igt@gem_tiled_blits@interruptible:
- shard-hsw: [FAIL][85] ([i915#818]) -> [FAIL][86] ([i915#694])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw1/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw4/igt@[email protected]
* igt@gen7_exec_parse@basic-allocation:
- shard-hsw: [FAIL][87] ([i915#694]) -> [INCOMPLETE][88] ([i915#61])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-hsw8/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-hsw7/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-tglb: [FAIL][89] ([i915#454]) -> [SKIP][90] ([i915#468])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-tglb6/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-tglb2/igt@[email protected]
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][91] ([fdo#109349]) -> [DMESG-WARN][92] ([i915#1226])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7963/shard-iclb7/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/shard-iclb2/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
[i915#1241]: https://gitlab.freedesktop.org/drm/intel/issues/1241
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[i915#488]: https://gitlab.freedesktop.org/drm/intel/issues/488
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#51]: https://gitlab.freedesktop.org/drm/intel/issues/51
[i915#600]: https://gitlab.freedesktop.org/drm/intel/issues/600
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[i915#831]: https://gitlab.freedesktop.org/drm/intel/issues/831
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7963 -> Patchwork_16610
CI-20190529: 20190529
CI_DRM_7963: e0d737598eb749378a5dc4ed3dfafc6f79d512cb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5448: 116020b1f83c1b3994c76882df7f77b6731d78ba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16610: 1b69e08389bd2a60c87d99bbb75687c781368d24 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16610/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Sean Paul
From: Sean Paul <[email protected]>
Hey all,
Back with a v4. Rebased on latest drm-tip.
Quoted 7 lines
Biggest change was adding the
QUERY_STREAM_ENCRYPTION_STATUScheck which
ensures not only the link to the first branch is encrypted, but also that the channel iteself is also protected.Sean
nit, i915_display_info debugfs for intel_dp_mst_info() doesn't show "HDCP version: "
Juston
Quoted 29 lines
Sean Paul (14):
drm/i915: Fixsha_textpopulation code
drm/i915: Clear the repeater bit on HDCP disable drm/i915: WARN if HDCP signalling is enabled upon disable drm/i915: Intercept Aksv writes in the aux hooks drm/i915: Use thecpu_transcoderinintel_hdcpto toggle HDCP
signalling
drm/i915: Factor outhdcp->valueassignments
drm/i915: Protect workers against disappearing connectors drm/i915: Don't fully disable HDCP on a port if multiple pipes are
using it
drm/i915: Support DP MST inenc_to_dig_port()function drm/i915: Useddi_update_pipeinintel_dp_mst
drm/i915: Factor out HDCP shim functions from dp for use bydp_mstdrm/i915: Add connector tohdcp_shim->check_link()drm/mst: Add support forQUERY_STREAM_ENCRYPTION_STATUSMST
sideband
message
drm/i915: Add HDCP 1.4 support for MST connectorsdrivers/gpu/drm/drm_dp_mst_topology.c | 117 +++ drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 26 +- drivers/gpu/drm/i915/display/intel_ddi.h | 2 + .../drm/i915/display/intel_display_types.h | 30 +- drivers/gpu/drm/i915/display/intel_dp.c | 620 +-------------- drivers/gpu/drm/i915/display/intel_dp.h | 7 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 705++++++++++++++++++
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c | 15 + drivers/gpu/drm/i915/display/intel_hdcp.c | 199 +++-- drivers/gpu/drm/i915/display/intel_hdmi.c | 23 +- include/drm/drm_dp_helper.h | 3 + include/drm/drm_dp_mst_helper.h | 44 ++ include/drm/drm_hdcp.h | 3 + 14 files changed, 1127 insertions(+), 668 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.c
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v4 1/1 drm/i915: Print HDCP version info for all connectors
From: Sean Paul <[email protected]>
De-duplicate the HDCP version code and print it for all connectors.
Changes in v4:
- Added to the set
--- .../drm/i915/display/intel_display_debugfs.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +9 -8
@@ -597,6 +597,11 @@ static void intel_hdcp_info(struct seq_file *m, {bool hdcp_cap, hdcp2_cap; +if (!intel_connector->hdcp.shim) { +seq_puts (m,"No Connector Support" ); + goto out; + } + hdcp_cap =intel_hdcp_capable (intel_connector); hdcp2_cap =intel_hdcp2_capable (intel_connector);
@@ -608,6 +613,7 @@ static void intel_hdcp_info(struct seq_file *m,if (!hdcp_cap && !hdcp2_cap)seq_puts (m,"None" ); +out:seq_puts (m,"\n" ); }
@@ -624,10 +630,6 @@ static void intel_dp_info(struct seq_file *m,drm_dp_downstream_debug (m, intel_dp->dpcd, intel_dp->downstream_ports, &intel_dp->aux); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } } static void intel_dp_mst_info(struct seq_file *m,
@@ -651,10 +653,6 @@ static void intel_hdmi_info(struct seq_file *m,struct intel_hdmi *intel_hdmi =enc_to_intel_hdmi (intel_encoder);seq_printf (m,"\taudio support: %s\n" ,yesno (intel_hdmi->has_audio)); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } } static void intel_lvds_info(struct seq_file *m,
@@ -710,6 +708,9 @@ static void intel_connector_info(struct seq_file *m,break ; } +seq_puts (m,"\tHDCP version: " ); +intel_hdcp_info (m, intel_connector); +seq_printf (m,"\tmodes:\n" );list_for_each_entry (mode, &connector->modes, head)intel_seq_print_mode (m,2 , mode);
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v4 13.5/14] drm/i915: Print HDCP version info for all connectors
Quoted 9 lines · Sean Paul
From: Sean Paul <[email protected]>
De-duplicate the HDCP version code and print it for all connectors.
Cc Juston Li <[email protected]>Signed-off-by Sean Paul <[email protected]>Changes in v4:
- Added to the set
LGTM, thanks for adding this!
Quoted 65 lines
--- .../drm/i915/display/intel_display_debugfs.c | 17 +++++++++---- ---- 1 file changed, 9 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/display/intel_display_debugfs.c +6
-4@@ -597,6 +597,11 @@ static void intel_hdcp_info(struct seq_file *m, {bool hdcp_cap, hdcp2_cap; +if (!intel_connector->hdcp.shim) { +seq_puts (m,"No Connector Support" ); + goto out; + } + hdcp_cap =intel_hdcp_capable (intel_connector); hdcp2_cap =intel_hdcp2_capable (intel_connector);@@ -608,6 +613,7 @@ static void intel_hdcp_info(struct seq_file *m,if (!hdcp_cap && !hdcp2_cap)seq_puts (m,"None" ); +out:seq_puts (m,"\n" ); }@@ -624,10 +630,6 @@ static void intel_dp_info(struct seq_file *m,drm_dp_downstream_debug (m, intel_dp->dpcd, intel_dp- >downstream_ports, &intel_dp->aux); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } }static void intel_dp_mst_info(struct
seq_file*m,drivers/gpu/drm/i915/display/intel_display_debugfs.c +0
-4@@ -651,10 +653,6 @@ static void intel_hdmi_info(struct seq_file *m,struct intel_hdmi *intel_hdmi =enc_to_intel_hdmi (intel_encoder);seq_printf (m,"\taudio support: %s\n" ,yesno (intel_hdmi- >has_audio)); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } }static void intel_lvds_info(struct
seq_file*m,drivers/gpu/drm/i915/display/intel_display_debugfs.c +3
-0@@ -710,6 +708,9 @@ static void intel_connector_info(struct seq_file *m, break; } +seq_puts (m,"\tHDCP version: " ); +intel_hdcp_info (m, intel_connector); +seq_printf (m,"\tmodes:\n" );list_for_each_entry (mode, &connector->modes, head)
Quoted 1 line
intel_seq_print_mode(m, 2, mode);
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v4 13.5/14] drm/i915: Print HDCP version info for all connectors
In reply to Sean PaulQuoted 18 lines · Sean Paul
From: Sean Paul <[email protected]>
De-duplicate the HDCP version code and print it for all connectors.
Cc Juston Li <[email protected]>Signed-off-by Sean Paul <[email protected]>Changes in v4:
- Added to the set--- .../drm/i915/display/intel_display_debugfs.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/display/intel_display_debugfs.c +0
-0
drivers/gpu/drm/i915/display/intel_display_debugfs.c static void intel_hdcp_info(struct seq_file *m, · line 603
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +4
-0@@ -597,6 +597,11 @@ static void intel_hdcp_info(struct seq_file *m, {bool hdcp_cap, hdcp2_cap; +if (!intel_connector->hdcp.shim) { +seq_puts (m,"No Connector Support" ); + goto out; + }
With shim check moved inside the hdcp_info, we could remove it from i915_hdcp_sink_capability_show. Let us return "No connector support" for that debugfs too.
With that addressed.
Quoted 47 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +5
-8+ hdcp_cap =intel_hdcp_capable (intel_connector); hdcp2_cap =intel_hdcp2_capable (intel_connector);@@ -608,6 +613,7 @@ static void intel_hdcp_info(struct seq_file *m,if (!hdcp_cap && !hdcp2_cap)seq_puts (m,"None" ); +out:seq_puts (m,"\n" ); }@@ -624,10 +630,6 @@ static void intel_dp_info(struct seq_file *m,drm_dp_downstream_debug (m, intel_dp->dpcd, intel_dp->downstream_ports, &intel_dp->aux); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } } static void intel_dp_mst_info(struct seq_file *m,@@ -651,10 +653,6 @@ static void intel_hdmi_info(struct seq_file *m,struct intel_hdmi *intel_hdmi =enc_to_intel_hdmi (intel_encoder);seq_printf (m,"\taudio support: %s\n" ,yesno (intel_hdmi->has_audio)); -if (intel_connector->hdcp.shim) { -seq_puts (m,"\tHDCP version: " ); -intel_hdcp_info (m, intel_connector); - } } static void intel_lvds_info(struct seq_file *m,@@ -710,6 +708,9 @@ static void intel_connector_info(struct seq_file *m,break ; } +seq_puts (m,"\tHDCP version: " ); +intel_hdcp_info (m, intel_connector); +seq_printf (m,"\tmodes:\n" );list_for_each_entry (mode, &connector->modes, head)intel_seq_print_mode (m,2 , mode);Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Print HDCP version info for all connectors
In reply to Li, Juston== Series Details ==
== Series Details ==
Series: drm/i915: Print HDCP version info for all connectors
URL : https://patchwork.freedesktop.org/series/74037/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8023 -> Patchwork_16743
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/index.html
Known issues
------------
Here are the changes found in Patchwork_16743 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@execlists:
- fi-icl-y: [PASS][1] -> [INCOMPLETE][2] ([i915#140])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/fi-icl-y/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/fi-icl-y/igt@i915_selftest@[email protected]
#### Possible fixes ####
* igt@kms_chamelium@dp-edid-read:
- fi-cml-u2: [FAIL][3] ([i915#217] / [i915#976]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/fi-cml-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/fi-cml-u2/igt@[email protected]
#### Warnings ####
* igt@i915_pm_rpm@basic-rte:
- fi-kbl-guc: [SKIP][5] ([fdo#109271]) -> [FAIL][6] ([i915#579])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/fi-kbl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/fi-kbl-guc/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][7] ([fdo#111096] / [i915#323]) -> [FAIL][8] ([fdo#111407])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/fi-kbl-7500u/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140
[i915#217]: https://gitlab.freedesktop.org/drm/intel/issues/217
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#976]: https://gitlab.freedesktop.org/drm/intel/issues/976
Participating hosts (46 -> 38)
------------------------------
Additional (4): fi-blb-e6850 fi-bdw-5557u fi-ivb-3770 fi-snb-2600
Missing (12): fi-kbl-soraka fi-bsw-n3050 fi-byt-j1900 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bsw-kefka fi-bdw-samus fi-byt-clapper fi-bsw-nick fi-skl-6600u
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_8023 -> Patchwork_16743
CI-20190529: 20190529
CI_DRM_8023: fa9a02bbdfd6553ee633171f23183a115d0da577 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5474: 1be610f852de155cd915e7cda65cb2737adf04d4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16743: 75fcfd149944508267219e7252c7925a9c7f1e77 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
75fcfd149944 drm/i915: Print HDCP version info for all connectors
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Print HDCP version info for all connectors
In reply to Li, Juston== Series Details ==
== Series Details ==
Series: drm/i915: Print HDCP version info for all connectors
URL : https://patchwork.freedesktop.org/series/74037/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8023_full -> Patchwork_16743_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
New tests
---------
New tests have been introduced between CI_DRM_8023_full and Patchwork_16743_full:
### New IGT tests (3) ###
* igt@i915_selftest@mock:
- Statuses :
- Exec time: [None] s
* igt@i915_selftest@perf:
- Statuses :
- Exec time: [None] s
* igt@kms_selftest@all:
- Statuses :
- Exec time: [None] s
Known issues
------------
Here are the changes found in Patchwork_16743_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@pi-userfault-bsd:
- shard-iclb: [PASS][1] -> [SKIP][2] ([i915#677])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb1/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#112146]) +6 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb2/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-apl: [PASS][5] -> [DMESG-WARN][6] ([i915#180])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-apl4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-apl1/igt@[email protected]
* igt@i915_pm_dc@dc5-dpms:
- shard-iclb: [PASS][7] -> [FAIL][8] ([i915#447])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][9] -> [DMESG-WARN][10] ([i915#180]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-kbl4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-kbl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-render:
- shard-tglb: [PASS][11] -> [SKIP][12] ([i915#668]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-tglb7/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-render.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-tglb2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [PASS][13] -> [FAIL][14] ([i915#1188])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl8/igt@[email protected]
* igt@perf_pmu@busy-vcs1:
- shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#112080]) +13 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb1/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb6/igt@[email protected]
* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109276]) +12 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb7/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_persistence@legacy-engines-mixed-process@blt:
- shard-skl: [INCOMPLETE][19] ([i915#1197] / [i915#1239]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl5/igt@gem_ctx_persistence@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl1/igt@gem_ctx_persistence@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed-process@bsd1:
- shard-skl: [FAIL][21] ([i915#679]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl5/igt@gem_ctx_persistence@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl1/igt@gem_ctx_persistence@[email protected]
* {igt@gem_ctx_ringsize@active@bcs0}:
- shard-iclb: [INCOMPLETE][23] ([i915#1333]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb1/igt@gem_ctx_ringsize@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb7/igt@gem_ctx_ringsize@[email protected]
* igt@gem_exec_schedule@implicit-read-write-bsd1:
- shard-iclb: [SKIP][25] ([fdo#109276] / [i915#677]) -> [PASS][26] +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@pi-shared-iova-bsd:
- shard-iclb: [SKIP][27] ([i915#677]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb5/igt@[email protected]
* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [SKIP][29] ([fdo#112146]) -> [PASS][30] +4 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb8/igt@[email protected]
* igt@gem_exec_whisper@basic-contexts-forked:
- shard-apl: [INCOMPLETE][31] ([fdo#103927]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-apl2/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-apl3/igt@[email protected]
* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-glk: [DMESG-WARN][33] ([fdo#111870] / [i915#836]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-glk1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-glk3/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][35] ([i915#180]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-apl6/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-apl6/igt@[email protected]
* igt@i915_hangman@error-state-capture-vcs1:
- shard-iclb: [SKIP][37] ([fdo#112080]) -> [PASS][38] +8 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb2/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][39] ([i915#454]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x85-onscreen:
- shard-skl: [FAIL][41] ([i915#54]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl10/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x256-sliding:
- shard-apl: [FAIL][43] ([i915#54]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-apl2/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-apl6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [FAIL][45] ([IGT#5]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl5/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl1/igt@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank:
- shard-tglb: [FAIL][47] ([i915#488]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-tglb7/igt@kms_flip@flip-vs-absolute-wf_vblank.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-tglb2/igt@kms_flip@flip-vs-absolute-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: [FAIL][49] ([i915#46]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl10/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][51] ([i915#180]) -> [PASS][52] +3 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-kbl6/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-kbl2/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-gtt:
- shard-skl: [FAIL][53] ([i915#49]) -> [PASS][54] +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-skl3/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-gtt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-skl9/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-gtt.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-glk: [FAIL][55] ([i915#899]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-glk3/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-glk6/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][57] ([fdo#109642] / [fdo#111068]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@kms_psr2_su@page_flip.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb2/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][59] ([fdo#109441]) -> [PASS][60] +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@kms_psr@psr2_primary_page_flip.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][61] ([fdo#109276]) -> [PASS][62] +21 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb6/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb4/igt@[email protected]
#### Warnings ####
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [INCOMPLETE][63] -> [FAIL][64] ([i915#454])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-iclb2/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-iclb3/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-tglb: [SKIP][65] ([i915#468]) -> [FAIL][66] ([i915#454])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-tglb2/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-tglb6/igt@[email protected]
* igt@i915_selftest@live@gt_lrc:
- shard-tglb: [DMESG-FAIL][67] ([i915#1233]) -> [INCOMPLETE][68] ([i915#1233])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8023/shard-tglb1/igt@i915_selftest@live@gt_lrc.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/shard-tglb2/igt@i915_selftest@live@gt_lrc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#5]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/5
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#1197]: https://gitlab.freedesktop.org/drm/intel/issues/1197
[i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
[i915#1239]: https://gitlab.freedesktop.org/drm/intel/issues/1239
[i915#1333]: https://gitlab.freedesktop.org/drm/intel/issues/1333
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#447]: https://gitlab.freedesktop.org/drm/intel/issues/447
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#46]: https://gitlab.freedesktop.org/drm/intel/issues/46
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[i915#488]: https://gitlab.freedesktop.org/drm/intel/issues/488
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679
[i915#836]: https://gitlab.freedesktop.org/drm/intel/issues/836
[i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_8023 -> Patchwork_16743
CI-20190529: 20190529
CI_DRM_8023: fa9a02bbdfd6553ee633171f23183a115d0da577 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5474: 1be610f852de155cd915e7cda65cb2737adf04d4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16743: 75fcfd149944508267219e7252c7925a9c7f1e77 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16743/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx