HDCP 2.2 and HDCP 1.4 Gen12 DP MST support
Subsystems (6)
v6 cover HDCP 2.2 and HDCP 1.4 Gen12 DP MST support
This is v6 version to test with IGT https://patchwork.freedesktop.org/series/82987/
This v6 has added a new patch to series to avoid a crash reported on Chrome-OS and has addressed the few cosmetics review comments from Ram.
It has been also tested manually with above IGT series.
[PATCH v6 12/18] misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len has an Ack from Tomas to merge it via drm-intel.
[PATCH v6 13/18] drm/hdcp: Max MST content streams has an Ack from drm-misc maintainer to merge it via drm-intel.
Test-with: [email protected]
Anshuman Gupta (18):
drm/i915/hdcp: Update CP property in update_pipe drm/i915/hdcp: Get conn while content_type changed drm/i915/hotplug: Handle CP_IRQ for DP-MST drm/i915/hdcp: No HDCP when encoder is't initialized drm/i915/hdcp: DP MST transcoder for link and stream drm/i915/hdcp: Move HDCP enc status timeout to header drm/i915/hdcp: HDCP stream encryption support drm/i915/hdcp: Enable HDCP 1.4 stream encryption drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support drm/i915/hdcp: Pass dig_port to intel_hdcp_init drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len drm/hdcp: Max MST content streams drm/i915/hdcp: MST streams support in hdcp port_data drm/i915/hdcp: Pass connector to check_2_2_link drm/i915/hdcp: Add HDCP 2.2 stream register drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks drm/i915/hdcp: Enable HDCP 2.2 MST support
drivers/gpu/drm/i915/display/intel_ddi.c | 14 +- drivers/gpu/drm/i915/display/intel_ddi.h | 6 +- .../drm/i915/display/intel_display_types.h | 20 +- drivers/gpu/drm/i915/display/intel_dp.c | 14 +- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 186 +++++++++-- drivers/gpu/drm/i915/display/intel_dp_mst.c | 8 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 303 ++++++++++++++---- drivers/gpu/drm/i915/display/intel_hdcp.h | 8 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 19 +- drivers/gpu/drm/i915/i915_reg.h | 31 ++ drivers/misc/mei/hdcp/mei_hdcp.c | 3 +- include/drm/drm_hdcp.h | 8 +- 12 files changed, 500 insertions(+), 120 deletions(-)
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 1/18 drm/i915/hdcp: Update CP property in update_pipe
When crtc state need_modeset is true it is not necessary it is going to be a real modeset, it can turns to be a fastset instead of modeset.
This turns content protection property to be DESIRED and hdcp update_pipe left with property to be in DESIRED state but actual hdcp->value was ENABLED.
This issue is caught with DP MST setup, where we have multiple connector in same DP_MST topology. When disabling HDCP on one of DP MST connector leads to set the crtc state need_modeset to true for all other crtc driving the other DP-MST topology connectors. This turns up other DP MST connectors CP property to be DESIRED despite the actual hdcp->value is ENABLED.
Above scenario fails the DP MST HDCP IGT test, disabling HDCP on one MST stream should not cause to disable HDCP on another MST stream on same DP MST topology.
v2:
- Fix WARN_ON(connector->base.registration_state == DRM_CONNECTOR_REGISTERED) v3:
- Commit log improvement. [Uma]
- Added a comment before scheduling prop_work. [Uma]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/i915/display/intel_hdcp.c +8 -0
@@ -2221,6 +2221,14 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state, desired_and_not_enabled = hdcp->value !=DRM_MODE_CONTENT_PROTECTION_ENABLED ;mutex_unlock (&hdcp->mutex); +/* +* If HDCP already ENABLED and CP property is DESIRED, schedule +* prop_work to update correct CP property to user space. +*/ +if (!desired_and_not_enabled && !content_protection_type_changed) { +drm_connector_get (&connector->base); +schedule_work (&hdcp->prop_work); + } }if (desired_and_not_enabled || content_protection_type_changed)
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 2/18 drm/i915/hdcp: Get conn while content_type changed
In reply to Anshuman GuptaGet DRM connector reference count while scheduling a prop work to avoid any possible destroy of DRM connector when it is in DRM_CONNECTOR_REGISTERED state.
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/display/intel_hdcp.c +1 -0
@@ -2210,6 +2210,7 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,if (content_protection_type_changed) {mutex_lock (&hdcp->mutex); hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; +drm_connector_get (&connector->base);schedule_work (&hdcp->prop_work);mutex_unlock (&hdcp->mutex); }
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 3/18 drm/i915/hotplug: Handle CP_IRQ for DP-MST
In reply to Anshuman GuptaHandle CP_IRQ in DEVICE_SERVICE_IRQ_VECTOR_ESI0 It requires to call intel_hdcp_handle_cp_irq() in case of CP_IRQ is triggered by a sink in DP-MST topology.
--- drivers/gpu/drm/i915/display/intel_dp.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dp.c +13 -1
@@ -5771,6 +5771,17 @@ static void intel_dp_handle_test_request(struct intel_dp *intel_dp) "Could not write test response to sink\n"); } +static void +intel_dp_mst_hpd_irq (struct intel_dp *intel_dp,u8 *esi,bool *handled) +{ +drm_dp_mst_hpd_irq (&intel_dp->mst_mgr, esi, handled); + +if (esi[1 ] &DP_CP_IRQ ) { +intel_hdcp_handle_cp_irq (intel_dp->attached_connector); + *handled = true; + } +} +/** * intel_dp_check_mst_status - service any pending MST interrupts, check link status * @intel_dp: Intel DP struct
@@ -5815,7 +5826,8 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)drm_dbg_kms (&i915->drm,"got esi %3ph\n" , esi); -drm_dp_mst_hpd_irq (&intel_dp->mst_mgr, esi, &handled); +intel_dp_mst_hpd_irq (intel_dp, esi, &handled); +if (!handled)break ;
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 4/18 drm/i915/hdcp: No HDCP when encoder is't initialized
In reply to Anshuman GuptaThere can be situation when DP MST connector is created without mst modeset being done, in those cases connector->encoder will be NULL. MST connector->encoder initializes after modeset. Don't enable HDCP in such cases to prevent any crash.
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_hdcp.c +6 -0
@@ -2106,6 +2106,12 @@ int intel_hdcp_enable(struct intel_connector *connector,if (!hdcp->shim)return -ENOENT ; +if (!connector->encoder) { +drm_err (&dev_priv->drm,"[%s:%d] encoder is not initialized\n" , + connector->base.name, connector->base.base.id); +return -ENODEV ; + } +mutex_lock (&hdcp->mutex);mutex_lock (&dig_port->hdcp_mutex); drm_WARN_ON(&dev_priv->drm,
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v6 04/18] drm/i915/hdcp: No HDCP when encoder is't initialized
Quoted 3 lines · Anshuman Gupta
There can be situation when DP MST connector is created without mst modeset being done, in those cases
connector->encoderwill be NULL. MSTconnector->encoderinitializes after modeset.
This patch is to reject the HDCP request on MST connector without encoder initialized(modeset). But userspace are not supposed to request hdcp at such scenario right?.
Ram
Quoted 29 lines
Don't enable HDCP in such cases to prevent any crash.
Cc Ramalingam C <[email protected]>Cc Juston Li <[email protected]>Signed-off-by Anshuman Gupta <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/i915/display/intel_hdcp.c +6
-0@@ -2106,6 +2106,12 @@ int intel_hdcp_enable(struct intel_connector *connector,if (!hdcp->shim)return -ENOENT ; +if (!connector->encoder) { +drm_err (&dev_priv->drm,"[%s:%d] encoder is not initialized\n" , + connector->base.name, connector->base.base.id); +return -ENODEV ; + } +mutex_lock (&hdcp->mutex);mutex_lock (&dig_port->hdcp_mutex); drm_WARN_ON(&dev_priv->drm,Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v6 04/18] drm/i915/hdcp: No HDCP when encoder is't initialized
Quoted 8 lines · Ramalingam C
Quoted 3 lines · Anshuman Gupta
There can be situation when DP MST connector is created without mst modeset being done, in those cases
connector->encoderwill be NULL. MSTconnector->encoderinitializes after modeset.This patch is to reject the HDCP request on MST connector without encoder initialized(modeset). But userspace are not supposed to request hdcp at such scenario right?.
AFAIU user space doesn't know about DP MST topology until unless it parse PATH property. This crash oberved on chrome OS with DP MST dock. From driver POV it should avoid kernel crash in such cases.
Thanks,
Anshuman Gupta.
Quoted 20 lines
Ram
Quoted 17 lines
Don't enable HDCP in such cases to prevent any crash.
Cc Ramalingam C <[email protected]>Cc Juston Li <[email protected]>Signed-off-by Anshuman Gupta <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/i915/display/intel_hdcp.c +0
-0@@ -2106,6 +2106,12 @@ int intel_hdcp_enable(struct intel_connector *connector,if (!hdcp->shim)return -ENOENT ;
Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +6
-0+if (!connector->encoder) { +drm_err (&dev_priv->drm,"[%s:%d] encoder is not initialized\n" , + connector->base.name, connector->base.base.id); +return -ENODEV ; + } +mutex_lock (&hdcp->mutex);mutex_lock (&dig_port->hdcp_mutex); drm_WARN_ON(&dev_priv->drm,Signature · 1 line
2.26.2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 5/18 drm/i915/hdcp: DP MST transcoder for link and stream
In reply to Anshuman GuptaGen12 has H/W delta with respect to HDCP{1.x,2.x} display engine instances lies in Transcoder instead of DDI as in Gen11.
This requires hdcp driver to use mst_master_transcoder for link authentication and stream transcoder for stream encryption separately.
This will be used for both HDCP 1.4 and HDCP 2.2 over DP MST on Gen12.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 2 +- .../gpu/drm/i915/display/intel_display_types.h | 2 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 15 +++++++++++---- drivers/gpu/drm/i915/display/intel_hdcp.h | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +1 -1
@@ -4240,7 +4240,7 @@ static void intel_enable_ddi(struct intel_atomic_state *state,if (conn_state->content_protection ==DRM_MODE_CONTENT_PROTECTION_DESIRED )intel_hdcp_enable (to_intel_connector (conn_state->connector), - crtc_state->cpu_transcoder, + crtc_state, (u8 )conn_state->hdcp_content_type); }
drivers/gpu/drm/i915/display/intel_display_types.h +2 -0
@@ -432,6 +432,8 @@ struct intel_hdcp {* Hence caching the transcoder here. */ enum transcoder cpu_transcoder; +/* Only used for DP MST stream encryption */ +enum transcoder stream_transcoder; };struct intel_connector {
drivers/gpu/drm/i915/display/intel_dp_mst.c +1 -1
@@ -569,7 +569,7 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state,if (conn_state->content_protection ==DRM_MODE_CONTENT_PROTECTION_DESIRED )intel_hdcp_enable (to_intel_connector (conn_state->connector), - pipe_config->cpu_transcoder, + pipe_config, (u8 )conn_state->hdcp_content_type); }
drivers/gpu/drm/i915/display/intel_hdcp.c +11 -4
@@ -2095,7 +2095,7 @@ int intel_hdcp_init(struct intel_connector *connector, }int intel_hdcp_enable (struct intel_connector *connector, -enum transcoder cpu_transcoder,u8 content_type) +const struct intel_crtc_state *pipe_config,u8 content_type) {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);struct intel_digital_port *dig_port =intel_attached_dig_port (connector);
@@ -2117,10 +2117,17 @@ int intel_hdcp_enable(struct intel_connector *connector,drm_WARN_ON (&dev_priv->drm, hdcp->value ==DRM_MODE_CONTENT_PROTECTION_ENABLED ); hdcp->content_type = content_type; - hdcp->cpu_transcoder = cpu_transcoder; + +if (intel_crtc_has_type (pipe_config,INTEL_OUTPUT_DP_MST )) { + hdcp->cpu_transcoder = pipe_config->mst_master_transcoder; + hdcp->stream_transcoder = pipe_config->cpu_transcoder; + }else { + hdcp->cpu_transcoder = pipe_config->cpu_transcoder; + hdcp->stream_transcoder =INVALID_TRANSCODER ; + }if (INTEL_GEN (dev_priv) >=12 ) - hdcp->port_data.fw_tc =intel_get_mei_fw_tc (cpu_transcoder); + hdcp->port_data.fw_tc =intel_get_mei_fw_tc (hdcp->cpu_transcoder);/* * Considering that HDCP2.2 is more secure than HDCP1.4, If the setup
@@ -2240,7 +2247,7 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,if (desired_and_not_enabled || content_protection_type_changed)intel_hdcp_enable (connector, - crtc_state->cpu_transcoder, + crtc_state, (u8 )conn_state->hdcp_content_type); }
drivers/gpu/drm/i915/display/intel_hdcp.h +1 -1
@@ -25,7 +25,7 @@ void intel_hdcp_atomic_check(struct drm_connector *connector,int intel_hdcp_init (struct intel_connector *connector,enum port port,const struct intel_hdcp_shim *hdcp_shim);int intel_hdcp_enable (struct intel_connector *connector, -enum transcoder cpu_transcoder,u8 content_type); +const struct intel_crtc_state *pipe_config,u8 content_type);int intel_hdcp_disable (struct intel_connector *connector); void intel_hdcp_update_pipe(struct intel_atomic_state *state, struct intel_encoder *encoder,
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 6/18 drm/i915/hdcp: Move HDCP enc status timeout to header
In reply to Anshuman GuptaDP MST stream encryption status requires time of a link frame in order to change its status, but as there were some HDCP encryption timeout observed earlier, it is safer to use ENCRYPT_STATUS_CHANGE_TIMEOUT_MS timeout for stream status too, it requires to move the macro to a header.
It will be used by both HDCP{1.x,2.x} stream status timeout.
Related: 'commit 7e90e8d0c0ea ("drm/i915: Increase timeout for Encrypt status change")'
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 9 ++++----- drivers/gpu/drm/i915/display/intel_hdcp.h | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +4 -5
@@ -23,7 +23,6 @@#include "intel_connector.h" #define KEY_LOAD_TRIES 5 -#define ENCRYPT_STATUS_CHANGE_TIMEOUT_MS 50#define HDCP2_LC_RETRY_CNT 3 static
@@ -762,7 +761,7 @@ static int intel_hdcp_auth(struct intel_connector *connector)if (intel_de_wait_for_set (dev_priv,HDCP_STATUS (dev_priv, cpu_transcoder, port),HDCP_STATUS_ENC , -ENCRYPT_STATUS_CHANGE_TIMEOUT_MS )) { +HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS )) {drm_err (&dev_priv->drm,"Timed out waiting for encryption\n" );return -ETIMEDOUT ; }
@@ -809,7 +808,7 @@ static int _intel_hdcp_disable(struct intel_connector *connector)intel_de_write (dev_priv,HDCP_CONF (dev_priv, cpu_transcoder, port),0 );if (intel_de_wait_for_clear (dev_priv,HDCP_STATUS (dev_priv, cpu_transcoder, port), - ~0 ,ENCRYPT_STATUS_CHANGE_TIMEOUT_MS )) { + ~0 ,HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS )) {drm_err (&dev_priv->drm,"Failed to disable HDCP, timeout clearing status\n" );return -ETIMEDOUT ;
@@ -1641,7 +1640,7 @@ static int hdcp2_enable_encryption(struct intel_connector *connector)HDCP2_STATUS (dev_priv, cpu_transcoder, port),LINK_ENCRYPTION_STATUS , - ENCRYPT_STATUS_CHANGE_TIMEOUT_MS); + HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS);return ret; }
@@ -1665,7 +1664,7 @@ static int hdcp2_disable_encryption(struct intel_connector *connector)HDCP2_STATUS (dev_priv, cpu_transcoder, port),LINK_ENCRYPTION_STATUS , - ENCRYPT_STATUS_CHANGE_TIMEOUT_MS); + HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS);if (ret == -ETIMEDOUT )drm_dbg_kms (&dev_priv->drm,"Disable Encryption Timedout" );
drivers/gpu/drm/i915/display/intel_hdcp.h +2 -0
@@ -8,6 +8,8 @@#include <linux/types.h> +#define HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS 50 +struct drm_connector ;struct drm_connector_state ;struct drm_i915_private ;
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 7/18 drm/i915/hdcp: HDCP stream encryption support
In reply to Anshuman GuptaBoth HDCP_{1.x,2.x} requires to select/deselect Multistream HDCP bit in TRANS_DDI_FUNC_CTL in order to enable/disable stream HDCP encryption over DP MST Transport Link.
HDCP 1.4 stream encryption requires to validate the stream encryption status in HDCP_STATUS_{TRANSCODER,PORT} register driving that link in order to enable/disable the stream encryption.
Both of above requirement are same for all Gen with respect to B.Spec Documentation.
v2:
- Cosmetic changes function name, error msg print and stream typo fixes. [Uma]
v3:
- uniformity for connector detail in DMESG. [Ram]
--- drivers/gpu/drm/i915/display/intel_ddi.c | 10 +-- drivers/gpu/drm/i915/display/intel_ddi.h | 6 +- .../drm/i915/display/intel_display_types.h | 4 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 90 ++++++++++++++++--- drivers/gpu/drm/i915/display/intel_hdmi.c | 14 +-- drivers/gpu/drm/i915/i915_reg.h | 1 + 6 files changed, 97 insertions(+), 28 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +5 -5
@@ -2029,9 +2029,9 @@ 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) +int intel_ddi_toggle_hdcp_bits (struct intel_encoder *intel_encoder, +enum transcoder cpu_transcoder, +bool enable,u32 hdcp_mask) {struct drm_device *dev = intel_encoder->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev);
@@ -2046,9 +2046,9 @@ int intel_ddi_toggle_hdcp_signalling(struct intel_encoder *intel_encoder, tmp =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder));if (enable) - tmp |=TRANS_DDI_HDCP_SIGNALLING ; + tmp |= hdcp_mask;else - tmp &= ~TRANS_DDI_HDCP_SIGNALLING ; + tmp &= ~hdcp_mask;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 +3 -3
@@ -50,9 +50,9 @@ u32 bxt_signal_levels(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state);u32 ddi_signal_levels (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -int intel_ddi_toggle_hdcp_signalling (struct intel_encoder *intel_encoder, -enum transcoder cpu_transcoder, -bool enable); +int intel_ddi_toggle_hdcp_bits (struct intel_encoder *intel_encoder, +enum transcoder cpu_transcoder, +bool enable,u32 hdcp_mask);void icl_sanitize_encoder_pll_mapping (struct intel_encoder *encoder);#endif /* __INTEL_DDI_H__ */
drivers/gpu/drm/i915/display/intel_display_types.h +4 -0
@@ -339,6 +339,10 @@ struct intel_hdcp_shim {enum transcoder cpu_transcoder, bool enable); +/* Enable/Disable stream encryption on DP MST Transport Link */ +int (*stream_encryption)(struct intel_connector *connector, +bool enable); +/* Ensures the link is still protected */ bool (*check_link)(struct intel_digital_port *dig_port,struct intel_connector *connector);
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +76 -14
124 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_hdmi.c +8 -6
@@ -1495,15 +1495,16 @@ static int kbl_repositioning_enc_en_signal(struct intel_connector *connector,usleep_range (25 ,50 ); } - ret =intel_ddi_toggle_hdcp_signalling (&dig_port->base, cpu_transcoder, - false); + ret =intel_ddi_toggle_hdcp_bits (&dig_port->base, cpu_transcoder, + false,TRANS_DDI_HDCP_SIGNALLING );if (ret) {drm_err (&dev_priv->drm,"Disable HDCP signalling failed (%d)\n" , ret);return ret; } - ret =intel_ddi_toggle_hdcp_signalling (&dig_port->base, cpu_transcoder, - true); + + ret =intel_ddi_toggle_hdcp_bits (&dig_port->base, cpu_transcoder, + true,TRANS_DDI_HDCP_SIGNALLING );if (ret) {drm_err (&dev_priv->drm,"Enable HDCP signalling failed (%d)\n" , ret);
@@ -1526,8 +1527,9 @@ int intel_hdmi_hdcp_toggle_signalling(struct intel_digital_port *dig_port,if (!enable)usleep_range (6 ,60 );/* Bspec says >= 6us */ - ret =intel_ddi_toggle_hdcp_signalling (&dig_port->base, cpu_transcoder, - enable); + ret =intel_ddi_toggle_hdcp_bits (&dig_port->base, + cpu_transcoder, enable, +TRANS_DDI_HDCP_SIGNALLING );if (ret) {drm_err (&dev_priv->drm,"%s HDCP signalling failed (%d)\n" , enable ?"Enable" :"Disable" , ret);
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -9960,6 +9960,7 @@ enum skl_power_gate {#define TRANS_DDI_DP_VC_PAYLOAD_ALLOC (1 << 8)#define TRANS_DDI_HDMI_SCRAMBLER_CTS_ENABLE (1 << 7)#define TRANS_DDI_HDMI_SCRAMBLER_RESET_FREQ (1 << 6) +#define TRANS_DDI_HDCP_SELECT REG_BIT(5)#define TRANS_DDI_BFI_ENABLE (1 << 4)#define TRANS_DDI_HIGH_TMDS_CHAR_RATE (1 << 4)#define TRANS_DDI_HDMI_SCRAMBLING (1 << 0)
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 8/18 drm/i915/hdcp: Enable HDCP 1.4 stream encryption
In reply to Anshuman GuptaEnable HDCP 1.4 DP MST stream encryption.
Enable stream encryption once encryption is enabled on the DP transport driving the link for each stream which has requested encryption.
Disable stream encryption for each stream that no longer requires encryption before disabling HDCP encryption on the link.
v2:
- Added debug print for stream encryption.
- Disable the hdcp on port after disabling last stream encryption.
v3:
- Cosmetic change, removed the value less comment. [Uma] v4:
- Split the Gen12 HDCP enablement patch. [Ram]
- Add connector details in drm_err.
v5:
- uniformity for connector detail in DMESG. [Ram]
- comments improvement. [Ram]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 38 +++++++++++++++-------- 1 file changed, 25 insertions(+), 13 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +25 -13
@@ -766,10 +766,17 @@ static int intel_hdcp_auth(struct intel_connector *connector)return -ETIMEDOUT ; } -/* -* XXX: If we have MST-connected devices, we need to enable encryption -* on those as well. -*/ +/* DP MST Auth Part 1 Step 2.a and Step 2.b */ +if (shim->stream_encryption) { + ret = shim->stream_encryption (connector, true); +if (ret) { +drm_err (&dev_priv->drm,"[%s:%d] Failed to enable HDCP 1.4 stream enc\n" , + connector->base.name, connector->base.base.id); +return ret; + } +drm_dbg_kms (&dev_priv->drm,"HDCP 1.4 transcoder: %s stream encrypted\n" , +transcoder_name (hdcp->stream_transcoder)); + }if (repeater_present)return intel_hdcp_auth_downstream (connector);
@@ -791,18 +798,23 @@ static int _intel_hdcp_disable(struct intel_connector *connector)drm_dbg_kms (&dev_priv->drm,"[%s:%d] HDCP is being disabled...\n" , connector->base.name, connector->base.base.id); +if (hdcp->shim->stream_encryption) { + ret = hdcp->shim->stream_encryption (connector, false); +if (ret) { +drm_err (&dev_priv->drm,"[%s:%d] Failed to disable HDCP 1.4 stream enc\n" , + connector->base.name, connector->base.base.id); +return ret; + } +drm_dbg_kms (&dev_priv->drm,"HDCP 1.4 transcoder: %s stream encryption disabled\n" , +transcoder_name (hdcp->stream_transcoder)); + } +/* -* If there are other connectors on this port using HDCP, don't disable -* it. Instead, toggle the HDCP signalling off on that particular -* connector/pipe and exit. +* If there are other connectors on this port using HDCP, don't disable it +* until it disabled HDCP encryption for all connectors in MST topology. */ -if (dig_port->num_hdcp_streams >0 ) { - ret = hdcp->shim->toggle_signalling (dig_port, - cpu_transcoder, false); -if (ret) -DRM_ERROR ("Failed to disable HDCP signalling\n" ); +if (dig_port->num_hdcp_streams >0 )return ret; - } hdcp->hdcp_encrypted = false;intel_de_write (dev_priv,HDCP_CONF (dev_priv, cpu_transcoder, port),0 );
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 9/18 drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support
In reply to Anshuman GuptaEnable HDCP 1.4 over DP MST for Gen12.
v2:
- Enable HDCP for <= Gen12 platforms. [Ram]
--- drivers/gpu/drm/i915/display/intel_dp_mst.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -4
@@ -829,12 +829,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); - -/* TODO: Figure out how to make HDCP work on GEN12+ */ -if (INTEL_GEN (dev_priv) <12 ) { +if (INTEL_GEN (dev_priv) <=12 ) { ret =intel_dp_init_hdcp (dig_port, intel_connector);if (ret) -DRM_DEBUG_KMS ("HDCP init failed, skipping.\n" ); +drm_dbg_kms (&dev_priv->drm,"HDCP init failed, skipping.\n" ); }/*
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 10/18 drm/i915/hdcp: Pass dig_port to intel_hdcp_init
In reply to Anshuman GuptaPass dig_port as an argument to intel_hdcp_init() and intel_hdcp2_init().
This will be required for HDCP 2.2 stream encryption.
--- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 4 ++-- drivers/gpu/drm/i915/display/intel_hdcp.c | 12 +++++++----- drivers/gpu/drm/i915/display/intel_hdcp.h | 4 +++- drivers/gpu/drm/i915/display/intel_hdmi.c | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +2 -2
@@ -755,10 +755,10 @@ int intel_dp_init_hdcp(struct intel_digital_port *dig_port,return 0 ;if (intel_connector->mst_port) -return intel_hdcp_init (intel_connector, port, +return intel_hdcp_init (intel_connector, dig_port, &intel_dp_mst_hdcp_shim);else if (!intel_dp_is_edp (intel_dp)) -return intel_hdcp_init (intel_connector, port, +return intel_hdcp_init (intel_connector, dig_port, &intel_dp_hdcp_shim);return 0 ;
drivers/gpu/drm/i915/display/intel_hdcp.c +7 -5
@@ -1979,12 +1979,13 @@ static enum mei_fw_tc intel_get_mei_fw_tc(enum transcoder cpu_transcoder) }static int initialize_hdcp_port_data (struct intel_connector *connector, -enum port port, +struct intel_digital_port *dig_port,const struct intel_hdcp_shim *shim) {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);struct intel_hdcp *hdcp = &connector->hdcp;struct hdcp_port_data *data = &hdcp->port_data; +enum port port = dig_port->base.port;if (INTEL_GEN (dev_priv) <12 ) data->fw_ddi =intel_get_mei_fw_ddi_index (port);
@@ -2057,14 +2058,15 @@ void intel_hdcp_component_init(struct drm_i915_private *dev_priv) } } -static void intel_hdcp2_init (struct intel_connector *connector,enum port port, +static void intel_hdcp2_init (struct intel_connector *connector, +struct intel_digital_port *dig_port,const struct intel_hdcp_shim *shim) {struct drm_i915_private *i915 =to_i915 (connector->base.dev);struct intel_hdcp *hdcp = &connector->hdcp;int ret; - ret =initialize_hdcp_port_data (connector, port, shim); + ret =initialize_hdcp_port_data (connector, dig_port, shim);if (ret) {drm_dbg_kms (&i915->drm,"Mei hdcp data init failed\n" );return ;
@@ -2074,7 +2076,7 @@ static void intel_hdcp2_init(struct intel_connector *connector, enum port port, }int intel_hdcp_init (struct intel_connector *connector, -enum port port, +struct intel_digital_port *dig_port,const struct intel_hdcp_shim *shim) {struct drm_i915_private *dev_priv =to_i915 (connector->base.dev);
@@ -2085,7 +2087,7 @@ int intel_hdcp_init(struct intel_connector *connector,return -EINVAL ;if (is_hdcp2_supported (dev_priv) && !connector->mst_port) -intel_hdcp2_init (connector, port, shim); +intel_hdcp2_init (connector, dig_port, shim); ret = drm_connector_attach_content_protection_property(&connector->base,
drivers/gpu/drm/i915/display/intel_hdcp.h +3 -1
@@ -18,13 +18,15 @@ struct intel_connector;struct intel_crtc_state ;struct intel_encoder ;struct intel_hdcp_shim ; +struct intel_digital_port ;enum port ;enum transcoder ;void intel_hdcp_atomic_check (struct drm_connector *connector,struct drm_connector_state *old_state,struct drm_connector_state *new_state); -int intel_hdcp_init (struct intel_connector *connector,enum port port, +int intel_hdcp_init (struct intel_connector *connector, +struct intel_digital_port *dig_port,const struct intel_hdcp_shim *hdcp_shim);int intel_hdcp_enable (struct intel_connector *connector,const struct intel_crtc_state *pipe_config,u8 content_type);
drivers/gpu/drm/i915/display/intel_hdmi.c +1 -1
@@ -3302,7 +3302,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *dig_port, intel_hdmi->attached_connector = intel_connector;if (is_hdcp_supported (dev_priv, port)) { -int ret =intel_hdcp_init (intel_connector, port, +int ret =intel_hdcp_init (intel_connector, dig_port, &intel_hdmi_hdcp_shim);if (ret) drm_dbg_kms(&dev_priv->drm,
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 11/18 drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port
In reply to Anshuman Guptahdcp_port_data is specific to a port on which HDCP encryption is getting enabled, so encapsulate it to intel_digital_port.
This will be required to enable HDCP 2.2 stream encryption.
v2:
- 's/port_data/hdcp_port_data'. [Ram]
--- drivers/gpu/drm/i915/display/intel_ddi.c | 2 + .../drm/i915/display/intel_display_types.h | 5 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 56 +++++++++++-------- 3 files changed, 39 insertions(+), 24 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
@@ -4946,6 +4946,8 @@ static void intel_ddi_encoder_destroy(struct drm_encoder *encoder)intel_dp_encoder_flush_work (encoder);drm_encoder_cleanup (encoder); +if (dig_port) +kfree (dig_port->hdcp_port_data.streams);kfree (dig_port); }
drivers/gpu/drm/i915/display/intel_display_types.h +3 -2
@@ -402,7 +402,6 @@ struct intel_hdcp {* content can flow only through a link protected by HDCP2.2. */ u8 content_type; -struct hdcp_port_data port_data;bool is_paired;bool is_repeater;
@@ -1481,10 +1480,12 @@ struct intel_digital_port {enum phy_fia tc_phy_fia;u8 tc_phy_fia_idx; -/* protects num_hdcp_streams reference count */ +/* protects num_hdcp_streams reference count, hdcp_port_data */ struct mutex hdcp_mutex;/* the number of pipes using HDCP signalling out of this port */ unsigned int num_hdcp_streams; +/* HDCP port data need to pass to security f/w */ +struct hdcp_port_data hdcp_port_data; void (*write_infoframe)(struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state,
drivers/gpu/drm/i915/display/intel_hdcp.c +34 -22
191 lines not on this page · raw message
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 12/18 misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len
In reply to Anshuman GuptaFix the size of WIRED_REPEATER_AUTH_STREAM_REQ cmd buffer size. It is based upon the actual number of MST streams and size of wired_cmd_repeater_auth_stream_req_in.
Excluding the size of hdcp_cmd_header.
v2:
- hdcp_cmd_header size annotation nitpick. [Tomas]
--- drivers/misc/mei/hdcp/mei_hdcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/misc/mei/hdcp/mei_hdcp.c +1 -2
@@ -569,8 +569,7 @@ static int mei_hdcp_verify_mprime(struct device *dev, verify_mprime_in->header.api_version =HDCP_API_VERSION ; verify_mprime_in->header.command_id =WIRED_REPEATER_AUTH_STREAM_REQ ; verify_mprime_in->header.status =ME_HDCP_STATUS_SUCCESS ; - verify_mprime_in->header.buffer_len = -WIRED_CMD_BUF_LEN_REPEATER_AUTH_STREAM_REQ_MIN_IN ; + verify_mprime_in->header.buffer_len = cmd_size -sizeof (verify_mprime_in->header); verify_mprime_in->port.integrated_port_type = data->port_type; verify_mprime_in->port.physical_port = (u8 )data->fw_ddi;
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 13/18 drm/hdcp: Max MST content streams
In reply to Anshuman GuptaLet's define Maximum MST content streams up to four generically which can be supported by modern display controllers.
--- include/drm/drm_hdcp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/drm/drm_hdcp.h +4 -4
@@ -101,11 +101,11 @@/* Following Macros take a byte at a time for bit(s) masking */ /* -* TODO: This has to be changed for DP MST, as multiple stream on -* same port is possible. -* For HDCP2.2 on HDMI and DP SST this value is always 1. +* TODO: HDCP_2_2_MAX_CONTENT_STREAMS_CNT is based upon actual +* H/W MST streams capacity. +* This required to be moved out to platform specific header. */ -#define HDCP_2_2_MAX_CONTENT_STREAMS_CNT 1 +#define HDCP_2_2_MAX_CONTENT_STREAMS_CNT 4#define HDCP_2_2_TXCAP_MASK_LEN 2#define HDCP_2_2_RXCAPS_LEN 3#define HDCP_2_2_RX_REPEATER (x) ((x) & BIT(0))
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 14/18 drm/i915/hdcp: MST streams support in hdcp port_data
In reply to Anshuman GuptaAdd support for multiple mst stream in hdcp port data which will be used by RepeaterAuthStreamManage msg and HDCP 2.2 security f/w for m' validation.
Security f/w doesn't have any provision to mark the stream_type for each stream separately, it just take single input of stream_type while authenticating the port. So driver mark each stream_type with common highest supported content type for all streams in DP MST Topology.
Security f/w supports RepeaterAuthStreamManage msg and m' validation only once during port authentication and encryption. Ideally it should support dynamic update of content_type and should support RepeaterAuthStreamManage msg and m' validation whenever required.
v2:
- Init the hdcp port data k for HDMI/DP SST stream. v3:
- Cosmetic changes. [Uma]
v4:
- 's/port_auth/hdcp_port_auth'. [Ram]
- Commit log improvement.
v5:
- Comment and commit log improvement. [Ram]
--- .../drm/i915/display/intel_display_types.h | 4 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 113 +++++++++++++++--- 2 files changed, 102 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +3 -1
@@ -1480,10 +1480,12 @@ struct intel_digital_port {enum phy_fia tc_phy_fia;u8 tc_phy_fia_idx; -/* protects num_hdcp_streams reference count, hdcp_port_data */ +/* protects num_hdcp_streams reference count, hdcp_port_data and hdcp_auth_status */ struct mutex hdcp_mutex;/* the number of pipes using HDCP signalling out of this port */ unsigned int num_hdcp_streams; +/* port HDCP auth status */ +bool hdcp_auth_status;/* HDCP port data need to pass to security f/w */ struct hdcp_port_data hdcp_port_data;
drivers/gpu/drm/i915/display/intel_hdcp.c +99 -14
192 lines not on this page · raw message
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 15/18 drm/i915/hdcp: Pass connector to check_2_2_link
In reply to Anshuman GuptaThis requires for HDCP 2.2 MST check link.
As for DP/HDMI shims check_2_2_link retrieves the connector from dig_port, this is not sufficient or DP MST connector, there can be multiple DP MST topology connector associated with same dig_port.
--- 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 | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +2 -1
@@ -375,7 +375,8 @@ struct intel_hdcp_shim { bool is_repeater, u8 type);/* HDCP2.2 Link Integrity Check */ -int (*check_2_2_link)(struct intel_digital_port *dig_port); +int (*check_2_2_link)(struct intel_digital_port *dig_port, +struct intel_connector *connector); };struct intel_hdcp {
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +2 -1
@@ -585,7 +585,8 @@ int intel_dp_hdcp2_config_stream_type(struct intel_digital_port *dig_port, }static -int intel_dp_hdcp2_check_link (struct intel_digital_port *dig_port) +int intel_dp_hdcp2_check_link (struct intel_digital_port *dig_port, +struct intel_connector *connector) {u8 rx_status;int ret;
drivers/gpu/drm/i915/display/intel_hdcp.c +1 -1
@@ -1947,7 +1947,7 @@ static int intel_hdcp2_check_link(struct intel_connector *connector) goto out; } - ret = hdcp->shim->check_2_2_link (dig_port); + ret = hdcp->shim->check_2_2_link (dig_port, connector);if (ret ==HDCP_LINK_PROTECTED ) {if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) { intel_hdcp_update_value(connector,
drivers/gpu/drm/i915/display/intel_hdmi.c +2 -1
@@ -1734,7 +1734,8 @@ int intel_hdmi_hdcp2_read_msg(struct intel_digital_port *dig_port, }static -int intel_hdmi_hdcp2_check_link (struct intel_digital_port *dig_port) +int intel_hdmi_hdcp2_check_link (struct intel_digital_port *dig_port, +struct intel_connector *connector) {u8 rx_status[HDCP_2_2_HDMI_RXSTATUS_LEN ];int ret;
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 16/18 drm/i915/hdcp: Add HDCP 2.2 stream register
In reply to Anshuman GuptaAdd HDCP 2.2 DP MST HDCP2_STREAM_STATUS and HDCP2_AUTH_STREAM register in i915_reg header.
--- drivers/gpu/drm/i915/i915_reg.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
drivers/gpu/drm/i915/i915_reg.h +30 -0
@@ -9872,6 +9872,7 @@ enum skl_power_gate { _PORTD_HDCP2_BASE, \ _PORTE_HDCP2_BASE, \ _PORTF_HDCP2_BASE) + (x)) +#define PORT_HDCP2_AUTH (port) _PORT_HDCP2_BASE(port, 0x98)#define _TRANSA_HDCP2_AUTH 0x66498#define _TRANSB_HDCP2_AUTH 0x66598
@@ -9911,6 +9912,35 @@ enum skl_power_gate { TRANS_HDCP2_STATUS(trans) : \ PORT_HDCP2_STATUS(port)) +#define PORT_HDCP2_STREAM_STATUS (port) _PORT_HDCP2_BASE(port, 0xC0) +#define _TRANSA_HDCP2_STREAM_STATUS 0x664C0 +#define _TRANSB_HDCP2_STREAM_STATUS 0x665C0 +#define TRANS_HDCP2_STREAM_STATUS (trans) _MMIO_TRANS(trans, \ + _TRANSA_HDCP2_STREAM_STATUS, \ + _TRANSB_HDCP2_STREAM_STATUS) +#define STREAM_ENCRYPTION_STATUS BIT(31) +#define STREAM_TYPE_STATUS BIT(30) +#define HDCP2_STREAM_STATUS (dev_priv, trans, port) \ + (INTEL_GEN(dev_priv) >= 12 ? \ + TRANS_HDCP2_STREAM_STATUS(trans) : \ + PORT_HDCP2_STREAM_STATUS(port)) + +#define _PORTA_HDCP2_AUTH_STREAM 0x66F00 +#define _PORTB_HDCP2_AUTH_STREAM 0x66F04 +#define PORT_HDCP2_AUTH_STREAM (port) _MMIO_PORT(port, \ + _PORTA_HDCP2_AUTH_STREAM, \ + _PORTB_HDCP2_AUTH_STREAM) +#define _TRANSA_HDCP2_AUTH_STREAM 0x66F00 +#define _TRANSB_HDCP2_AUTH_STREAM 0x66F04 +#define TRANS_HDCP2_AUTH_STREAM (trans) _MMIO_TRANS(trans, \ + _TRANSA_HDCP2_AUTH_STREAM, \ + _TRANSB_HDCP2_AUTH_STREAM) +#define AUTH_STREAM_TYPE BIT(31) +#define HDCP2_AUTH_STREAM (dev_priv, trans, port) \ + (INTEL_GEN(dev_priv) >= 12 ? \ + TRANS_HDCP2_AUTH_STREAM(trans) : \ + PORT_HDCP2_AUTH_STREAM(port)) +/* Per-pipe DDI Function Control */ #define _TRANS_DDI_FUNC_CTL_A 0x60400#define _TRANS_DDI_FUNC_CTL_B 0x61400
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v6 17/18 drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks
In reply to Anshuman GuptaAdd support for HDCP 2.2 DP MST shim callback.
This adds existing DP HDCP shim callback for Link Authentication and Encryption and HDCP 2.2 stream encryption callback.
v2:
- Added a WARN_ON() instead of drm_err. [Uma]
- Cosmetic changes. [Uma]
v3:
- 's/port_data/hdcp_port_data' [Ram]
- skip redundant link check. [Ram]
--- .../drm/i915/display/intel_display_types.h | 4 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 89 +++++++++++++++++-- 2 files changed, 85 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +4 -0
@@ -374,6 +374,10 @@ struct intel_hdcp_shim {int (*config_stream_type)(struct intel_digital_port *dig_port,bool is_repeater,u8 type); +/* Enable/Disable HDCP 2.2 stream encryption on DP MST Transport Link */ +int (*stream_2_2_encryption)(struct intel_connector *connector, +bool enable); +/* HDCP2.2 Link Integrity Check */ int (*check_2_2_link)(struct intel_digital_port *dig_port,struct intel_connector *connector);
drivers/gpu/drm/i915/display/intel_dp_hdcp.c +81 -8
112 lines not on this page · raw message
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v6 18/18 drm/i915/hdcp: Enable HDCP 2.2 MST support
In reply to Anshuman GuptaEnable HDCP 2.2 over DP MST.
Authenticate and enable port encryption only once for an active HDCP 2.2 session, once port is authenticated and encrypted enable encryption for each stream that requires encryption on this port.
Similarly disable the stream encryption for each encrypted stream, once all encrypted stream encryption is disabled, disable the port HDCP encryption and deauthenticate the port.
v2:
- Add connector details in drm_err. [Ram]
- 's/port_auth/hdcp_auth_status'. [Ram]
- Added a debug print for stream enc.
v3:
- uniformity for connector detail in DMESG. [Ram]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 53 ++++++++++++++++++++++- 1 file changed, 51 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +51 -2
@@ -1700,6 +1700,36 @@ static int hdcp2_authenticate_sink(struct intel_connector *connector)return ret; } +static int hdcp2_enable_stream_encryption (struct intel_connector *connector) +{ +struct intel_digital_port *dig_port =intel_attached_dig_port (connector); +struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); +struct intel_hdcp *hdcp = &connector->hdcp; +enum transcoder cpu_transcoder = hdcp->cpu_transcoder; +enum port port = dig_port->base.port; +int ret =0 ; + +if (!(intel_de_read (dev_priv,HDCP2_STATUS (dev_priv, cpu_transcoder, port)) & +LINK_ENCRYPTION_STATUS )) { +drm_err (&dev_priv->drm,"[%s:%d] HDCP 2.2 Link is not encrypted\n" , + connector->base.name, connector->base.base.id); +return -EPERM ; + } + +if (hdcp->shim->stream_2_2_encryption) { + ret = hdcp->shim->stream_2_2_encryption (connector, true); +if (ret) { +drm_err (&dev_priv->drm,"[%s:%d] Failed to enable HDCP 2.2 stream enc\n" , + connector->base.name, connector->base.base.id); +return ret; + } +drm_dbg_kms (&dev_priv->drm,"HDCP 2.2 transcoder: %s stream encrypted\n" , +transcoder_name (hdcp->stream_transcoder)); + } + +return ret; +} +static int hdcp2_enable_encryption (struct intel_connector *connector) {struct intel_digital_port *dig_port =intel_attached_dig_port (connector);
@@ -1838,7 +1868,7 @@ static int hdcp2_authenticate_and_encrypt(struct intel_connector *connector)drm_dbg_kms (&i915->drm,"Port deauth failed.\n" ); } -if (!ret) { +if (!ret && !dig_port->hdcp_auth_status) {/* * Ensuring the required 200mSec min time interval between * Session Key Exchange and encryption.
@@ -1853,6 +1883,8 @@ static int hdcp2_authenticate_and_encrypt(struct intel_connector *connector) } } + ret =hdcp2_enable_stream_encryption (connector); +return ret; }
@@ -1898,11 +1930,26 @@ static int _intel_hdcp2_disable(struct intel_connector *connector)struct intel_digital_port *dig_port =intel_attached_dig_port (connector);struct drm_i915_private *i915 =to_i915 (connector->base.dev);struct hdcp_port_data *data = &dig_port->hdcp_port_data; +struct intel_hdcp *hdcp = &connector->hdcp;int ret;drm_dbg_kms (&i915->drm,"[%s:%d] HDCP2.2 is being Disabled\n" , connector->base.name, connector->base.base.id); +if (hdcp->shim->stream_2_2_encryption) { + ret = hdcp->shim->stream_2_2_encryption (connector, false); +if (ret) { +drm_err (&i915->drm,"[%s:%d] Failed to disable HDCP 2.2 stream enc\n" , + connector->base.name, connector->base.base.id); +return ret; + } +drm_dbg_kms (&i915->drm,"HDCP 2.2 transcoder: %s stream encryption disabled\n" , +transcoder_name (hdcp->stream_transcoder)); + } + +if (dig_port->num_hdcp_streams >0 ) +return ret; + ret =hdcp2_disable_encryption (connector);if (hdcp2_deauthenticate_port (connector) <0 )
@@ -1926,6 +1973,7 @@ static int intel_hdcp2_check_link(struct intel_connector *connector)int ret =0 ;mutex_lock (&hdcp->mutex); +mutex_lock (&dig_port->hdcp_mutex); cpu_transcoder = hdcp->cpu_transcoder;/* hdcp2_check_link is expected only when HDCP2.2 is Enabled */
@@ -2003,6 +2051,7 @@ static int intel_hdcp2_check_link(struct intel_connector *connector) } out: +mutex_unlock (&dig_port->hdcp_mutex);mutex_unlock (&hdcp->mutex);return ret; }
@@ -2184,7 +2233,7 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; -if (is_hdcp2_supported (dev_priv) && !connector->mst_port) +if (is_hdcp2_supported (dev_priv))intel_hdcp2_init (connector, dig_port, shim); ret =
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
URL : https://patchwork.freedesktop.org/series/82998/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip fede738db387 drm/i915/hdcp: Update CP property in update_pipe -:24: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #24: - Fix WARN_ON(connector->base.registration_state == DRM_CONNECTOR_REGISTERED)
total: 0 errors, 1 warnings, 0 checks, 14 lines checked cae9bce2e99c drm/i915/hdcp: Get conn while content_type changed a1399e34cc6b drm/i915/hotplug: Handle CP_IRQ for DP-MST e0378ed7d400 drm/i915/hdcp: No HDCP when encoder is't initialized 9ebb17cb5dd1 drm/i915/hdcp: DP MST transcoder for link and stream 2410d90472dd drm/i915/hdcp: Move HDCP enc status timeout to header de0fc99eeb69 drm/i915/hdcp: HDCP stream encryption support 3b08477e804e drm/i915/hdcp: Enable HDCP 1.4 stream encryption 364abd7a10e7 drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support f2f428fd437a drm/i915/hdcp: Pass dig_port to intel_hdcp_init 7b2287859815 drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port 809b35f4f68e misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len 194192a51d06 drm/hdcp: Max MST content streams 3062c90f915d drm/i915/hdcp: MST streams support in hdcp port_data cdef9be4dbfb drm/i915/hdcp: Pass connector to check_2_2_link 40ebf781db7c drm/i915/hdcp: Add HDCP 2.2 stream register b27e53406aa5 drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks 28e8195e636b drm/i915/hdcp: Enable HDCP 2.2 MST support
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
URL : https://patchwork.freedesktop.org/series/82998/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/i915/gt/intel_reset.c:1312:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: expected void *in +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: expected void const *src +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: warning: incorrect type in argument 2 (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: expected void *in +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: expected void const *src +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: warning: incorrect type in argument 2 (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: expected unsigned int [usertype] *s +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/gvt/mmio.c:295:23: warning: memcpy with byte count of 279040 +drivers/gpu/drm/i915/i915_perf.c:1447:15: warning: memset with byte count of 16777216 +drivers/gpu/drm/i915/i915_perf.c:1501:15: warning: memset with byte count of 16777216 +./include/linux/seqlock.h:838:24: warning: trying to copy expression type 31 +./include/linux/seqlock.h:838:24: warning: trying to copy expression type 31 +./include/linux/seqlock.h:864:16: warning: trying to copy expression type 31 +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write8' - different lock contexts for basic block
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
URL : https://patchwork.freedesktop.org/series/82998/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9392 -> Patchwork_18986
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_18986:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@dp-mst-lic-type-0} (NEW):
- fi-tgl-u2: NOTRUN -> [SKIP][1] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-u2/igt@[email protected]
- {fi-ehl-1}: NOTRUN -> [SKIP][2] +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-ehl-1/igt@[email protected]
- fi-tgl-y: NOTRUN -> [SKIP][3] +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@[email protected]
* {igt@kms_content_protection@dp-mst-lic-type-1} (NEW):
- fi-cml-u2: NOTRUN -> [SKIP][4] +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-cml-u2/igt@[email protected]
- fi-icl-y: NOTRUN -> [SKIP][5] +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-icl-y/igt@[email protected]
- fi-cml-s: NOTRUN -> [SKIP][6] +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-cml-s/igt@[email protected]
* {igt@kms_content_protection@dp-mst-type-0} (NEW):
- fi-kbl-guc: NOTRUN -> [FAIL][7] +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-kbl-guc/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [FAIL][8] +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-bsw-nick/igt@[email protected]
* {igt@kms_content_protection@dp-mst-type-1} (NEW):
- fi-icl-u2: NOTRUN -> [SKIP][9] +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-icl-u2/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_9392 and Patchwork_18986:
### New CI tests (1) ###
* boot:
- Statuses : 40 pass(s)
- Exec time: [0.0] s
### New IGT tests (4) ###
* igt@kms_content_protection@dp-mst-lic-type-0:
- Statuses : 2 fail(s) 35 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_content_protection@dp-mst-lic-type-1:
- Statuses : 2 fail(s) 35 skip(s)
- Exec time: [0.0, 0.01] s
* igt@kms_content_protection@dp-mst-type-0:
- Statuses : 2 fail(s) 35 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_content_protection@dp-mst-type-1:
- Statuses : 2 fail(s) 35 skip(s)
- Exec time: [0.0, 0.00] s
Known issues
------------
Here are the changes found in Patchwork_18986 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-tgl-y: [PASS][10] -> [DMESG-WARN][11] ([i915#1982] / [k.org#205379])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [PASS][12] -> [DMESG-FAIL][13] ([i915#541])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
- fi-cfl-8109u: [PASS][14] -> [DMESG-FAIL][15] ([i915#541])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-cfl-8109u/igt@i915_selftest@live@gt_heartbeat.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-cfl-8109u/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_busy@basic@flip:
- fi-kbl-soraka: [PASS][16] -> [DMESG-WARN][17] ([i915#1982])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-kbl-soraka/igt@kms_busy@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-kbl-soraka/igt@kms_busy@[email protected]
* igt@kms_chamelium@dp-edid-read:
- fi-kbl-7500u: [PASS][18] -> [DMESG-WARN][19] ([i915#165])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-kbl-7500u/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-kbl-7500u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: [PASS][20] -> [DMESG-WARN][21] ([i915#1982])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-icl-u2/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-icl-u2/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- fi-tgl-y: [PASS][22] -> [DMESG-WARN][23] ([i915#402]) +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@[email protected]
#### Possible fixes ####
* igt@debugfs_test@read_all_entries:
- {fi-kbl-7560u}: [INCOMPLETE][24] ([i915#2417]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
* igt@i915_module_load@reload:
- fi-byt-j1900: [DMESG-WARN][26] ([i915#1982]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-byt-j1900/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-byt-j1900/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-tgl-y: [DMESG-FAIL][28] ([i915#2601] / [i915#541]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@i915_selftest@live@gt_heartbeat.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_busy@basic@flip:
- fi-tgl-y: [DMESG-WARN][30] ([i915#1982]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@kms_busy@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@kms_busy@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- fi-icl-u2: [DMESG-WARN][32] ([i915#1982]) -> [PASS][33] +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-icl-u2/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-icl-u2/igt@[email protected]
* igt@prime_self_import@basic-with_one_bo:
- fi-tgl-y: [DMESG-WARN][34] ([i915#402]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@prime_self_import@basic-with_one_bo.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@prime_self_import@basic-with_one_bo.html
#### Warnings ####
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-tgl-y: [DMESG-WARN][36] ([i915#1982] / [i915#2411]) -> [DMESG-WARN][37] ([i915#2411])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/fi-tgl-y/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/fi-tgl-y/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2417]: https://gitlab.freedesktop.org/drm/intel/issues/2417
[i915#2601]: https://gitlab.freedesktop.org/drm/intel/issues/2601
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541
[k.org#205379]: https://bugzilla.kernel.org/show_bug.cgi?id=205379
Participating hosts (44 -> 40)
------------------------------
Missing (4): fi-ilk-m540 fi-bsw-cyan fi-bdw-samus fi-hsw-4200u
Build changes
-------------
* IGT: IGT_5870 -> IGTPW_5228
* Linux: CI_DRM_9392 -> Patchwork_18986
CI-20190529: 20190529
CI_DRM_9392: 000f10be44a48c2fe20ba33544a6094da2e56fc9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5228: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5228/index.html
IGT_5870: 08b13995b85df26a77212e4fb21fd772976ef33c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_18986: 28e8195e636b41480255774950216f4d1a46f858 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
28e8195e636b drm/i915/hdcp: Enable HDCP 2.2 MST support b27e53406aa5 drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks 40ebf781db7c drm/i915/hdcp: Add HDCP 2.2 stream register cdef9be4dbfb drm/i915/hdcp: Pass connector to check_2_2_link 3062c90f915d drm/i915/hdcp: MST streams support in hdcp port_data 194192a51d06 drm/hdcp: Max MST content streams 809b35f4f68e misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len 7b2287859815 drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port f2f428fd437a drm/i915/hdcp: Pass dig_port to intel_hdcp_init 364abd7a10e7 drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support 3b08477e804e drm/i915/hdcp: Enable HDCP 1.4 stream encryption de0fc99eeb69 drm/i915/hdcp: HDCP stream encryption support 2410d90472dd drm/i915/hdcp: Move HDCP enc status timeout to header 9ebb17cb5dd1 drm/i915/hdcp: DP MST transcoder for link and stream e0378ed7d400 drm/i915/hdcp: No HDCP when encoder is't initialized a1399e34cc6b drm/i915/hotplug: Handle CP_IRQ for DP-MST cae9bce2e99c drm/i915/hdcp: Get conn while content_type changed fede738db387 drm/i915/hdcp: Update CP property in update_pipe
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (rev5)
URL : https://patchwork.freedesktop.org/series/82998/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9392_full -> Patchwork_18986_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_18986_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_18986_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_18986_full:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@dp-mst-lic-type-1} (NEW):
- shard-iclb: NOTRUN -> [SKIP][1] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb7/igt@[email protected]
* {igt@kms_content_protection@dp-mst-type-0} (NEW):
- shard-tglb: NOTRUN -> [SKIP][2] +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb3/igt@[email protected]
* igt@sysfs_timeslice_duration@timeout@vecs0:
- shard-apl: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl7/igt@sysfs_timeslice_duration@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl6/igt@sysfs_timeslice_duration@[email protected]
#### Warnings ####
* igt@kms_content_protection@srm:
- shard-skl: [SKIP][5] ([fdo#109271]) -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl8/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_9392_full and Patchwork_18986_full:
### New CI tests (1) ###
* boot:
- Statuses : 199 pass(s)
- Exec time: [0.0] s
### New IGT tests (4) ###
* igt@kms_content_protection@dp-mst-lic-type-0:
- Statuses : 7 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_content_protection@dp-mst-lic-type-1:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_content_protection@dp-mst-type-0:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_content_protection@dp-mst-type-1:
- Statuses : 8 skip(s)
- Exec time: [0.0, 0.00] s
Known issues
------------
Here are the changes found in Patchwork_18986_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_whisper@basic-contexts-forked:
- shard-glk: [PASS][7] -> [DMESG-WARN][8] ([i915#118] / [i915#95]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk4/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-skl: [PASS][9] -> [FAIL][10] ([i915#454])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl7/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-kbl: [PASS][11] -> [SKIP][12] ([fdo#109271]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl1/igt@[email protected]
- shard-glk: [PASS][13] -> [SKIP][14] ([fdo#109271]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk9/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk4/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][15] -> [INCOMPLETE][16] ([i915#2635])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl1/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl2/igt@[email protected]
- shard-iclb: [PASS][17] -> [INCOMPLETE][18] ([i915#1185])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb4/igt@[email protected]
- shard-kbl: [PASS][19] -> [INCOMPLETE][20] ([i915#155] / [i915#794])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl1/igt@[email protected]
- shard-glk: [PASS][21] -> [INCOMPLETE][22] ([i915#2199] / [i915#2635])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk4/igt@[email protected]
* igt@kms_color@pipe-c-ctm-blue-to-red:
- shard-kbl: [PASS][23] -> [FAIL][24] ([i915#129])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl1/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl3/igt@[email protected]
- shard-apl: [PASS][25] -> [FAIL][26] ([i915#129])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl8/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-128x42-offscreen:
- shard-skl: [PASS][27] -> [FAIL][28] ([i915#54]) +4 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl9/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [PASS][29] -> [INCOMPLETE][30] ([i915#2405] / [i915#2635])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl8/igt@[email protected]
- shard-kbl: [PASS][31] -> [INCOMPLETE][32] ([i915#155] / [i915#2405])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-64x21-random:
- shard-skl: [PASS][33] -> [SKIP][34] ([fdo#109271]) +9 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl10/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl8/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge:
- shard-glk: [PASS][35] -> [DMESG-WARN][36] ([i915#1982]) +7 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk5/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-b-256x256-left-edge:
- shard-skl: [PASS][37] -> [DMESG-WARN][38] ([i915#1982]) +36 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl2/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-c-256x256-bottom-edge:
- shard-apl: [PASS][39] -> [DMESG-WARN][40] ([i915#1982]) +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl7/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl3/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [PASS][41] -> [FAIL][42] ([i915#96])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw7/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw1/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size:
- shard-hsw: [PASS][43] -> [FAIL][44] ([i915#2295] / [i915#2370])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw8/igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw8/igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@flip-vs-cursor-crc-atomic:
- shard-tglb: [PASS][45] -> [FAIL][46] ([i915#2346]) +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb8/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][47] -> [INCOMPLETE][48] ([i915#2635])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk4/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk7/igt@kms_flip@[email protected]
* igt@kms_flip@2x-flip-vs-suspend@ab-vga1-hdmi-a1:
- shard-hsw: [PASS][49] -> [INCOMPLETE][50] ([i915#2637])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw1/igt@kms_flip@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][51] -> [FAIL][52] ([i915#2598])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb5/igt@kms_flip@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb7/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@a-dp1:
- shard-kbl: [PASS][53] -> [DMESG-WARN][54] ([i915#1982])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl3/igt@kms_flip@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl6/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-modesetfrombusy:
- shard-glk: [PASS][55] -> [FAIL][56] ([i915#49]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk5/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc:
- shard-tglb: [PASS][57] -> [DMESG-WARN][58] ([i915#1982]) +2 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt:
- shard-skl: [PASS][59] -> [FAIL][60] ([i915#49])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl4/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-iclb: [PASS][61] -> [INCOMPLETE][62] ([i915#1185] / [i915#123])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb1/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb3/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [PASS][63] -> [SKIP][64] ([i915#433])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb8/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][65] -> [DMESG-FAIL][66] ([fdo#108145] / [i915#1982])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl5/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl5/igt@[email protected]
* igt@kms_plane_cursor@pipe-a-viewport-size-256:
- shard-glk: [PASS][67] -> [FAIL][68] ([i915#2657])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk3/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk6/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][69] -> [SKIP][70] ([fdo#109441]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb3/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm:
- shard-hsw: [PASS][71] -> [SKIP][72] ([fdo#109271]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw8/igt@[email protected]
- shard-iclb: [PASS][73] -> [SKIP][74] ([fdo#109278])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb6/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb3/igt@[email protected]
- shard-apl: [PASS][75] -> [SKIP][76] ([fdo#109271]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl7/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl8/igt@[email protected]
* igt@perf_pmu@module-unload:
- shard-skl: [PASS][77] -> [DMESG-WARN][78] ([i915#1982] / [i915#262])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl9/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl9/igt@[email protected]
* igt@prime_vgem@sync@rcs0:
- shard-iclb: [PASS][79] -> [INCOMPLETE][80] ([i915#409])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb7/igt@prime_vgem@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb7/igt@prime_vgem@[email protected]
#### Possible fixes ####
* igt@device_reset@unbind-reset-rebind:
- shard-glk: [INCOMPLETE][81] ([i915#2283] / [i915#2405]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk4/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk5/igt@[email protected]
- shard-apl: [INCOMPLETE][83] ([i915#2283] / [i915#2405]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl6/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl4/igt@[email protected]
- shard-kbl: [INCOMPLETE][85] ([i915#2283] / [i915#2405]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl3/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl1/igt@[email protected]
- shard-tglb: [INCOMPLETE][87] ([i915#1602] / [i915#750]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb2/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb3/igt@[email protected]
- shard-iclb: [INCOMPLETE][89] ([i915#2283] / [i915#2405]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb2/igt@[email protected]
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-glk: [FAIL][91] ([i915#2389]) -> [PASS][92]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk4/igt@gem_exec_reloc@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk6/igt@gem_exec_reloc@[email protected]
- shard-hsw: [FAIL][93] ([i915#2389]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw1/igt@gem_exec_reloc@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw6/igt@gem_exec_reloc@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads:
- shard-hsw: [INCOMPLETE][95] -> [PASS][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw6/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw7/igt@[email protected]
* igt@i915_module_load@reload:
- shard-hsw: [DMESG-WARN][97] ([i915#1982]) -> [PASS][98] +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw6/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw6/igt@[email protected]
* igt@i915_pm_backlight@fade_with_suspend:
- shard-iclb: [INCOMPLETE][99] ([i915#1185] / [i915#2369]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb6/igt@i915_pm_backlight@fade_with_suspend.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb5/igt@i915_pm_backlight@fade_with_suspend.html
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][101] ([i915#454]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb2/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb3/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-hsw: [WARN][103] ([i915#1519]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw2/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw2/igt@[email protected]
* igt@i915_pm_rpm@gem-execbuf-stress:
- shard-glk: [SKIP][105] ([fdo#109271]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk7/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk5/igt@[email protected]
- shard-apl: [SKIP][107] ([fdo#109271]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl3/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl6/igt@[email protected]
- shard-kbl: [SKIP][109] ([fdo#109271]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl3/igt@[email protected]
- shard-hsw: [SKIP][111] ([fdo#109271]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw4/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw4/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-modeset:
- shard-skl: [INCOMPLETE][113] ([i915#151]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl3/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl3/igt@[email protected]
* {igt@kms_async_flips@alternate-sync-async-flip}:
- shard-tglb: [FAIL][115] ([i915#2521]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb3/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb2/igt@[email protected]
* igt@kms_color@pipe-a-gamma:
- shard-tglb: [FAIL][117] ([i915#1149]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb2/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-128x128-random:
- shard-skl: [FAIL][119] ([i915#54]) -> [PASS][120] +4 similar issues
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl8/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl7/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-c-256x256-left-edge:
- shard-apl: [DMESG-WARN][121] ([i915#1982]) -> [PASS][122] +3 similar issues
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl7/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- shard-glk: [DMESG-WARN][123] ([i915#1982]) -> [PASS][124] +4 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-glk5/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-glk6/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-toggle:
- shard-hsw: [FAIL][125] ([i915#2370]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw6/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw7/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-skl: [SKIP][127] ([fdo#109271]) -> [PASS][128] +11 similar issues
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl9/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- shard-skl: [INCOMPLETE][129] ([i915#198]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl9/igt@kms_flip@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1:
- shard-hsw: [INCOMPLETE][131] ([i915#2055] / [i915#2295]) -> [PASS][132]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-hsw6/igt@kms_flip@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-hsw8/igt@kms_flip@[email protected]
* {igt@kms_flip_tiling@flip-to-yf-tiled@edp-1-pipe-a}:
- shard-skl: [DMESG-WARN][133] ([i915#1982]) -> [PASS][134] +53 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl10/igt@kms_flip_tiling@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl3/igt@kms_flip_tiling@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- shard-tglb: [DMESG-WARN][135] ([i915#1982]) -> [PASS][136] +3 similar issues
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-tglb6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-tglb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary:
- shard-kbl: [FAIL][137] ([i915#49]) -> [PASS][138]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl2/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl6/igt@[email protected]
- shard-apl: [FAIL][139] ([i915#49]) -> [PASS][140]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl3/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-shrfb-scaledprimary:
- shard-iclb: [DMESG-WARN][141] ([i915#1982]) -> [PASS][142] +1 similar issue
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb5/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb2/igt@[email protected]
* igt@kms_hdr@bpc-switch:
- shard-skl: [FAIL][143] ([i915#1188]) -> [PASS][144]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl8/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl5/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-apl: [DMESG-WARN][145] ([i915#1982] / [i915#2621]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-apl7/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-apl1/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [SKIP][147] ([fdo#109441]) -> [PASS][148] +1 similar issue
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-iclb6/igt@kms_psr@psr2_cursor_mmap_cpu.html
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_vblank@pipe-b-wait-forked-busy:
- shard-kbl: [DMESG-WARN][149] ([i915#1982]) -> [PASS][150] +8 similar issues
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl6/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl7/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][151] ([i915#180]) -> [PASS][152]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-kbl7/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-kbl3/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [FAIL][153] ([i915#1542]) -> [PASS][154] +1 similar issue
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl6/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl2/igt@[email protected]
* igt@sysfs_timeslice_duration@timeout@vecs0:
- shard-skl: [FAIL][155] ([i915#1732]) -> [PASS][156]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9392/shard-skl10/igt@sysfs_timeslice_duration@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/shard-skl5/igt@sysfs_timeslice_duration@[email protected]
#### Warnings ####
* igt@device_reset@unbind-reset-reb
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18986/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Anshuman Gupta
This is v6 version to test with IGT https://patchwork.freedesktop.org/series/82987/
This v6 has added a new patch to series to avoid a crash reported on Chrome-OS and has addressed the few cosmetics review comments from Ram.
It has been also tested manually with above IGT series.
Quoted 7 lines
[PATCH v6 12/18] misc/mei/hdcp: Fix
AUTH_STREAM_REQcmd buffer len has an Ack from Tomas to merge it via drm-intel.[PATCH v6 13/18] drm/hdcp: Max MST content streams has an Ack from drm-misc maintainer to merge it via drm-intel.
Test-with: [email protected]
As HDCP over MST set up is not present on CI,
tested this series locally with v4 of the IGT series. https://patchwork.freedesktop.org/series/82987/
Quoted 21 lines
Anshuman Gupta (18):
drm/i915/hdcp: Update CP property inupdate_pipedrm/i915/hdcp: Get conn whilecontent_typechanged drm/i915/hotplug: HandleCP_IRQfor DP-MST drm/i915/hdcp: No HDCP when encoder is't initialized drm/i915/hdcp: DP MST transcoder for link and stream drm/i915/hdcp: Move HDCP enc status timeout to header drm/i915/hdcp: HDCP stream encryption support drm/i915/hdcp: Enable HDCP 1.4 stream encryption drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support drm/i915/hdcp: Passdig_porttointel_hdcp_initdrm/i915/hdcp: Encapsulatehdcp_port_datatodig_portmisc/mei/hdcp: FixAUTH_STREAM_REQcmd buffer len drm/hdcp: Max MST content streams drm/i915/hdcp: MST streams support in hdcpport_datadrm/i915/hdcp: Pass connector tocheck_2_2_linkdrm/i915/hdcp: Add HDCP 2.2 stream register drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks drm/i915/hdcp: Enable HDCP 2.2 MST support
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_ddi.c | 14 +- drivers/gpu/drm/i915/display/intel_ddi.h | 6 +- .../drm/i915/display/intel_display_types.h | 20 +- drivers/gpu/drm/i915/display/intel_dp.c | 14 +- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 186 +++++++++-- drivers/gpu/drm/i915/display/intel_dp_mst.c | 8 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 303 ++++++++++++++---- drivers/gpu/drm/i915/display/intel_hdcp.h | 8 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 19 +- drivers/gpu/drm/i915/i915_reg.h | 31 ++ drivers/misc/mei/hdcp/mei_hdcp.c | 3 +- include/drm/drm_hdcp.h | 8 +- 12 files changed, 500 insertions(+), 120 deletions(-)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx