Enable HDCP2.x via GSC CS
Subsystems (5)
v9 cover Enable HDCP2.x via GSC CS
These patches enable HDCP2.x on machines MTL and above. From MTL onwards CSME is spilt into GSC and CSC and now we use GSC CS instead of MEI to talk to firmware to start HDCP authentication
--v2
-Fixing some checkpatch changes which I forgot before sending out the series
--v3
-Drop cp and fw to make naming more agnostic[Jani] -Sort header[Jani]
-remove static inline function from i915_hdcp_interface[Jani] -abstract DISPLAY_VER check[Jani]
--v4
-Remove stale comment P2 [Jani]
-Fix part where file rename looks like its removed in P2 and added in P3 [Jani]
-Add bitmask definition for host session id[Alan] -Seprating gsc load and heci cmd submission into different funcs[Alan] -Create comman function to fill gsc_mtl_header[Alan]
--v5
-No need to make hdcp_message field null as we use kzalloc [Alan] -use i915->drm instead of gt->i915->drm [Alan]
--v6
-Make each patch build individually [Jani]
-drop cp_fw stale commit subject [Jani]
-fix the date on license [Jani]
-revert back to orginal design where mei and gsc fill their own header
--v7
-remove RB by Ankit
--v8
-change design to allocate and deallocate hdcp_message only at enablement and disabling of hdcp [Alan]
-fix few formatting issue [Ankit]
-fix stale comments [Ankit]
--v9
-move allocation dealloc of hdcp messgae to init and teardown [Alan] -remove obj from hdcp message , use i915_vma_unpin_and_release [Alan] -remove return statement from intel_hdcp_gsc_fini [Ankit]
Anshuman Gupta (1):
drm/i915/hdcp: Keep hdcp agonstic naming convention
Suraj Kandpal (5):
drm/i915/gsc: Create GSC request submission mechanism i915/hdcp: HDCP2.x Refactoring to agnostic hdcp drm/i915/hdcp: Refactor HDCP API structures drm/i915/mtl: Add function to send command to GSC CS drm/i915/mtl: Add HDCP GSC interface
drivers/gpu/drm/i915/Makefile | 2 + .../gpu/drm/i915/display/intel_display_core.h | 8 +- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 109 ++- drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 831 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 26 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h | 1 + .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 109 +++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h | 61 ++ drivers/misc/mei/hdcp/mei_hdcp.c | 105 ++- drivers/misc/mei/hdcp/mei_hdcp.h | 354 -------- include/drm/i915_hdcp_interface.h | 539 ++++++++++++ include/drm/i915_mei_hdcp_interface.h | 184 ---- 14 files changed, 1694 insertions(+), 639 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.h create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h create mode 100644 include/drm/i915_hdcp_interface.h delete mode 100644 include/drm/i915_mei_hdcp_interface.h
Signature · 1 line
2.25.1
PATCH v9 1/6 drm/i915/gsc: Create GSC request submission mechanism
HDCP and PXP will require a common function to allow it to submit commands to the gsc cs. Also adding the gsc mtl header that needs to be added on to the existing payloads of HDCP and PXP.
--v4
-Seprate gsc load and heci cmd submission into different functions in different files for better scalability [Alan] -Rename gsc address field [Alan]
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h | 1 + .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 94 +++++++++++++++++++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h | 45 +++++++++ 5 files changed, 143 insertions(+) create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -195,6 +195,7 @@ i915-y += \ i915-y += \ gt/uc/intel_gsc_fw.o \ gt/uc/intel_gsc_uc.o \ + gt/uc/intel_gsc_uc_heci_cmd_submit.o\ gt/uc/intel_guc.o \ gt/uc/intel_guc_ads.o \ gt/uc/intel_guc_capture.o \
drivers/gpu/drm/i915/gt/intel_gpu_commands.h +2 -0
@@ -439,6 +439,8 @@#define GSC_FW_LOAD GSC_INSTR(1, 0, 2)#define HECI1_FW_LIMIT_VALID (1 << 31) +#define GSC_HECI_CMD_PKT GSC_INSTR(0, 0, 6) +/* * Used to convert any address to canonical form. * Starting from gen8, some commands (e.g. STATE_BASE_ADDRESS,
drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h +1 -0
@@ -12,4 +12,5 @@ struct intel_gsc_uc;int intel_gsc_uc_fw_upload (struct intel_gsc_uc *gsc);bool intel_gsc_uc_fw_init_done (struct intel_gsc_uc *gsc); +#endif
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c new file +94 -0
94 lines not on this page · raw message
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v9 2/6 drm/i915/hdcp: Keep hdcp agonstic naming convention
In reply to Suraj KandpalFrom: Anshuman Gupta <[email protected]>
Change the include/drm/i915_mei_hdcp_interface.h to include/drm/i915_hdcp_interface.h
--v6
-make each patch build individually [Jani]
--v8
-change ME FW to ME/GSC FW [Ankit]
-fix formatting issue [Ankit]
---
.../gpu/drm/i915/display/intel_display_core.h | 2 +-
.../drm/i915/display/intel_display_types.h | 2 +-
drivers/gpu/drm/i915/display/intel_hdcp.c | 81 ++++++++--------
drivers/misc/mei/hdcp/mei_hdcp.c | 61 ++++++------
...hdcp_interface.h => i915_hdcp_interface.h} | 92 +++++++++----------
5 files changed, 118 insertions(+), 120 deletions(-)
rename include/drm/{i915_mei_hdcp_interface.h => i915_hdcp_interface.h} (73%)drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
@@ -378,7 +378,7 @@ struct intel_display { } gmbus;struct { -struct i915_hdcp_comp_master *master; +struct i915_hdcp_master *master;bool comp_added;/* Mutex to protect the above hdcp component related values. */
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
@@ -43,7 +43,7 @@#include <drm/drm_rect.h> #include <drm/drm_vblank.h> #include <drm/drm_vblank_work.h> -#include <drm/i915_mei_hdcp_interface.h> +#include <drm/i915_hdcp_interface.h> #include <media/cec-notifier.h> #include "i915_vma.h"
drivers/gpu/drm/i915/display/intel_hdcp.c +41 -40
274 lines not on this page · raw message
drivers/misc/mei/hdcp/mei_hdcp.c +29 -32
167 lines not on this page · raw message
include/drm/i915_hdcp_interface.h renamed from include/drm/i915_mei_hdcp_interface.h +46 -46
147 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v9 3/6 i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
In reply to Suraj KandpalAs now we have more then one type of content protection secrity firmware. Let change the i915_hdcp_interface.h header naming convention to suit generic f/w type. %s/MEI_/HDCP_
%s/mei_dev/hdcp_dev
As interface to CP FW can be either a non i915 component or i915 intergral component, change structure name Accordingly. %s/i915_hdcp_comp_master/i915_hdcp_master %s/i915_hdcp_component_ops/i915_hdcp_ops
--v3
-Changing names to drop cp_fw to make naming more agnostic[Jani]
--- drivers/gpu/drm/i915/display/intel_display_core.h | 1 + drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_display_core.h +1 -0
@@ -15,6 +15,7 @@#include <drm/drm_connector.h> #include <drm/drm_modeset_lock.h> +#include <drm/i915_hdcp_interface.h> #include "intel_cdclk.h" #include "intel_display_limits.h"
drivers/gpu/drm/i915/display/intel_hdcp.c +2 -2
@@ -1409,7 +1409,7 @@ static int hdcp2_authenticate_port(struct intel_connector *connector)return ret; } -static int hdcp2_close_mei_session (struct intel_connector *connector) +static int hdcp2_close_session (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);
@@ -1433,7 +1433,7 @@ static int hdcp2_close_mei_session(struct intel_connector *connector)static int hdcp2_deauthenticate_port (struct intel_connector *connector) { -return hdcp2_close_mei_session (connector); +return hdcp2_close_session (connector); }/* Authentication flow starts from here */
Signature · 1 line
2.25.1
PATCH v9 4/6 drm/i915/hdcp: Refactor HDCP API structures
In reply to Suraj KandpalIt requires to move intel specific HDCP API structures to i915_hdcp_interface.h from driver/misc/mei/hdcp/mei_hdcp.h so that any content protection fw interfaces can use these structures.
--- drivers/misc/mei/hdcp/mei_hdcp.c | 44 ++-- drivers/misc/mei/hdcp/mei_hdcp.h | 354 ----------------------------- include/drm/i915_hdcp_interface.h | 355 ++++++++++++++++++++++++++++++ 3 files changed, 377 insertions(+), 376 deletions(-)
drivers/misc/mei/hdcp/mei_hdcp.c +22 -22
@@ -52,7 +52,7 @@ mei_hdcp_initiate_session(struct device *dev, struct hdcp_port_data *data, session_init_in.header.api_version =HDCP_API_VERSION ; session_init_in.header.command_id =WIRED_INITIATE_HDCP2_SESSION ; - session_init_in.header.status =ME_HDCP_STATUS_SUCCESS ; + session_init_in.header.status =FW_HDCP_STATUS_SUCCESS ; session_init_in.header.buffer_len =WIRED_CMD_BUF_LEN_INITIATE_HDCP2_SESSION_IN ;
@@ -75,7 +75,7 @@ mei_hdcp_initiate_session(struct device *dev, struct hdcp_port_data *data,return byte; } -if (session_init_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (session_init_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X Failed. Status: 0x%X\n" ,WIRED_INITIATE_HDCP2_SESSION , session_init_out.header.status);
@@ -122,7 +122,7 @@ mei_hdcp_verify_receiver_cert_prepare_km(struct device *dev, verify_rxcert_in.header.api_version =HDCP_API_VERSION ; verify_rxcert_in.header.command_id =WIRED_VERIFY_RECEIVER_CERT ; - verify_rxcert_in.header.status =ME_HDCP_STATUS_SUCCESS ; + verify_rxcert_in.header.status =FW_HDCP_STATUS_SUCCESS ; verify_rxcert_in.header.buffer_len =WIRED_CMD_BUF_LEN_VERIFY_RECEIVER_CERT_IN ;
@@ -148,7 +148,7 @@ mei_hdcp_verify_receiver_cert_prepare_km(struct device *dev,return byte; } -if (verify_rxcert_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (verify_rxcert_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X Failed. Status: 0x%X\n" ,WIRED_VERIFY_RECEIVER_CERT , verify_rxcert_out.header.status);
@@ -194,7 +194,7 @@ mei_hdcp_verify_hprime(struct device *dev, struct hdcp_port_data *data, send_hprime_in.header.api_version =HDCP_API_VERSION ; send_hprime_in.header.command_id =WIRED_AKE_SEND_HPRIME ; - send_hprime_in.header.status =ME_HDCP_STATUS_SUCCESS ; + send_hprime_in.header.status =FW_HDCP_STATUS_SUCCESS ; send_hprime_in.header.buffer_len =WIRED_CMD_BUF_LEN_AKE_SEND_HPRIME_IN ; send_hprime_in.port.integrated_port_type = data->port_type;
@@ -218,7 +218,7 @@ mei_hdcp_verify_hprime(struct device *dev, struct hdcp_port_data *data,return byte; } -if (send_hprime_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (send_hprime_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X Failed. Status: 0x%X\n" ,WIRED_AKE_SEND_HPRIME , send_hprime_out.header.status);return -EIO ;
@@ -251,7 +251,7 @@ mei_hdcp_store_pairing_info(struct device *dev, struct hdcp_port_data *data, pairing_info_in.header.api_version =HDCP_API_VERSION ; pairing_info_in.header.command_id =WIRED_AKE_SEND_PAIRING_INFO ; - pairing_info_in.header.status =ME_HDCP_STATUS_SUCCESS ; + pairing_info_in.header.status =FW_HDCP_STATUS_SUCCESS ; pairing_info_in.header.buffer_len =WIRED_CMD_BUF_LEN_SEND_PAIRING_INFO_IN ;
@@ -276,7 +276,7 @@ mei_hdcp_store_pairing_info(struct device *dev, struct hdcp_port_data *data,return byte; } -if (pairing_info_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (pairing_info_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. Status: 0x%X\n" ,WIRED_AKE_SEND_PAIRING_INFO , pairing_info_out.header.status);
@@ -311,7 +311,7 @@ mei_hdcp_initiate_locality_check(struct device *dev, lc_init_in.header.api_version =HDCP_API_VERSION ; lc_init_in.header.command_id =WIRED_INIT_LOCALITY_CHECK ; - lc_init_in.header.status =ME_HDCP_STATUS_SUCCESS ; + lc_init_in.header.status =FW_HDCP_STATUS_SUCCESS ; lc_init_in.header.buffer_len =WIRED_CMD_BUF_LEN_INIT_LOCALITY_CHECK_IN ; lc_init_in.port.integrated_port_type = data->port_type;
@@ -330,7 +330,7 @@ mei_hdcp_initiate_locality_check(struct device *dev,return byte; } -if (lc_init_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (lc_init_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X Failed. status: 0x%X\n" ,WIRED_INIT_LOCALITY_CHECK , lc_init_out.header.status);return -EIO ;
@@ -366,7 +366,7 @@ mei_hdcp_verify_lprime(struct device *dev, struct hdcp_port_data *data, verify_lprime_in.header.api_version =HDCP_API_VERSION ; verify_lprime_in.header.command_id =WIRED_VALIDATE_LOCALITY ; - verify_lprime_in.header.status =ME_HDCP_STATUS_SUCCESS ; + verify_lprime_in.header.status =FW_HDCP_STATUS_SUCCESS ; verify_lprime_in.header.buffer_len =WIRED_CMD_BUF_LEN_VALIDATE_LOCALITY_IN ;
@@ -391,7 +391,7 @@ mei_hdcp_verify_lprime(struct device *dev, struct hdcp_port_data *data,return byte; } -if (verify_lprime_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (verify_lprime_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. status: 0x%X\n" ,WIRED_VALIDATE_LOCALITY , verify_lprime_out.header.status);
@@ -425,7 +425,7 @@ static int mei_hdcp_get_session_key(struct device *dev, get_skey_in.header.api_version =HDCP_API_VERSION ; get_skey_in.header.command_id =WIRED_GET_SESSION_KEY ; - get_skey_in.header.status =ME_HDCP_STATUS_SUCCESS ; + get_skey_in.header.status =FW_HDCP_STATUS_SUCCESS ; get_skey_in.header.buffer_len =WIRED_CMD_BUF_LEN_GET_SESSION_KEY_IN ; get_skey_in.port.integrated_port_type = data->port_type;
@@ -445,7 +445,7 @@ static int mei_hdcp_get_session_key(struct device *dev,return byte; } -if (get_skey_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (get_skey_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. status: 0x%X\n" ,WIRED_GET_SESSION_KEY , get_skey_out.header.status);return -EIO ;
@@ -489,7 +489,7 @@ mei_hdcp_repeater_check_flow_prepare_ack(struct device *dev, verify_repeater_in.header.api_version =HDCP_API_VERSION ; verify_repeater_in.header.command_id =WIRED_VERIFY_REPEATER ; - verify_repeater_in.header.status =ME_HDCP_STATUS_SUCCESS ; + verify_repeater_in.header.status =FW_HDCP_STATUS_SUCCESS ; verify_repeater_in.header.buffer_len =WIRED_CMD_BUF_LEN_VERIFY_REPEATER_IN ;
@@ -520,7 +520,7 @@ mei_hdcp_repeater_check_flow_prepare_ack(struct device *dev,return byte; } -if (verify_repeater_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (verify_repeater_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. status: 0x%X\n" ,WIRED_VERIFY_REPEATER , verify_repeater_out.header.status);
@@ -568,7 +568,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.status =FW_HDCP_STATUS_SUCCESS ; verify_mprime_in->header.buffer_len = cmd_size -sizeof (verify_mprime_in->header); verify_mprime_in->port.integrated_port_type = data->port_type;
@@ -597,7 +597,7 @@ static int mei_hdcp_verify_mprime(struct device *dev,return byte; } -if (verify_mprime_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (verify_mprime_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. status: 0x%X\n" ,WIRED_REPEATER_AUTH_STREAM_REQ , verify_mprime_out.header.status);
@@ -630,7 +630,7 @@ static int mei_hdcp_enable_authentication(struct device *dev, enable_auth_in.header.api_version =HDCP_API_VERSION ; enable_auth_in.header.command_id =WIRED_ENABLE_AUTH ; - enable_auth_in.header.status =ME_HDCP_STATUS_SUCCESS ; + enable_auth_in.header.status =FW_HDCP_STATUS_SUCCESS ; enable_auth_in.header.buffer_len =WIRED_CMD_BUF_LEN_ENABLE_AUTH_IN ; enable_auth_in.port.integrated_port_type = data->port_type;
@@ -652,7 +652,7 @@ static int mei_hdcp_enable_authentication(struct device *dev,return byte; } -if (enable_auth_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (enable_auth_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"ME cmd 0x%08X failed. status: 0x%X\n" ,WIRED_ENABLE_AUTH , enable_auth_out.header.status);return -EIO ;
@@ -684,7 +684,7 @@ mei_hdcp_close_session(struct device *dev, struct hdcp_port_data *data) session_close_in.header.api_version =HDCP_API_VERSION ; session_close_in.header.command_id =WIRED_CLOSE_SESSION ; - session_close_in.header.status =ME_HDCP_STATUS_SUCCESS ; + session_close_in.header.status =FW_HDCP_STATUS_SUCCESS ; session_close_in.header.buffer_len =WIRED_CMD_BUF_LEN_CLOSE_SESSION_IN ;
@@ -706,7 +706,7 @@ mei_hdcp_close_session(struct device *dev, struct hdcp_port_data *data)return byte; } -if (session_close_out.header.status !=ME_HDCP_STATUS_SUCCESS ) { +if (session_close_out.header.status !=FW_HDCP_STATUS_SUCCESS ) {dev_dbg (dev,"Session Close Failed. status: 0x%X\n" , session_close_out.header.status);return -EIO ;
drivers/misc/mei/hdcp/mei_hdcp.h +0 -354
358 lines not on this page · raw message
include/drm/i915_hdcp_interface.h +355 -0
359 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v9 5/6 drm/i915/mtl: Add function to send command to GSC CS
In reply to Suraj KandpalAdd function that takes care of sending command to gsc cs. We start of with allocation of memory for our command intel_hdcp_gsc_message that contains gsc cs memory header as directed in specs followed by the actual payload hdcp message that we want to send.
Spec states that we need to poll pending bit of response header around 20 times each try being 50ms apart hence adding that to current gsc_msg_send function
Also we use the same function to take care of both sending and receiving hence no separate function to get the response.
--v4
-Create common function to fill in gsc_mtl_header [Alan] -define host session bitmask [Alan]
--v5
-use i915 directly instead of gt->i915 [Alan]
-No need to make fields NULL as we are already
using kzalloc [Alan]
--v8
-change mechanism to reuse the same memory for one hdcp session[Alan] -fix header ordering
-add comments to explain flags and host session mask [Alan]
--v9
-remove gem obj from hdcp message as we can use i915_vma_unpin_and_release [Alan]
-move hdcp message allocation and deallocation from hdcp2_enable and hdcp2_disable to init and teardown of HDCP [Alan]
--- drivers/gpu/drm/i915/Makefile | 1 + .../gpu/drm/i915/display/intel_display_core.h | 5 + drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 200 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 23 ++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 15 ++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h | 16 ++ 6 files changed, 260 insertions(+) create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -255,6 +255,7 @@ i915-y += \ display/intel_frontbuffer.o \ display/intel_global_state.o \ display/intel_hdcp.o \ + display/intel_hdcp_gsc.o \ display/intel_hotplug.o \ display/intel_hti.o \ display/intel_lpe_audio.o \
drivers/gpu/drm/i915/display/intel_display_core.h +5 -0
@@ -382,6 +382,11 @@ struct intel_display {struct i915_hdcp_master *master;bool comp_added; +/*HDCP message struct for allocation of memory which can be reused +* when sending message to gsc cs +* this is only populated post Meteorlake +*/ +struct intel_hdcp_gsc_message *hdcp_message;/* Mutex to protect the above hdcp component related values. */ struct mutex comp_mutex; } hdcp;
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +200 -0
200 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_hdcp_gsc.h new file +23 -0
@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef __INTEL_HDCP_GSC_H__ +#define __INTEL_HDCP_GSC_H__ + +#include <linux/err.h> +#include <linux/types.h> + +struct drm_i915_private ; + +struct intel_hdcp_gsc_message { +struct i915_vma *vma; +void *hdcp_cmd; +}; + +ssize_t intel_hdcp_gsc_msg_send (struct drm_i915_private *i915,u8 *msg_in, +size_t msg_in_len,u8 *msg_out, +size_t msg_out_len); + +#endif /* __INTEL_HDCP_GCS_H__ */
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c +15 -0
@@ -92,3 +92,18 @@ int intel_gsc_uc_heci_cmd_submit_packet(struct intel_gsc_uc *gsc, u64 addr_in,return err; } + +void intel_gsc_uc_heci_cmd_emit_mtl_header (struct intel_gsc_mtl_header *header, +u8 heci_client_id,u32 message_size, +u64 host_session_id) +{ + host_session_id &= ~HOST_SESSION_MASK ; +if (heci_client_id ==HECI_MEADDRESS_PXP ) + host_session_id |=HOST_SESSION_PXP_SINGLE ; + + header->validity_marker =GSC_HECI_VALIDITY_MARKER ; + header->heci_client_id = heci_client_id; + header->host_session_handle = host_session_id; + header->header_version =MTL_GSC_HEADER_VERSION ; + header->message_size = message_size; +}
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h +16 -0
@@ -22,7 +22,17 @@ struct intel_gsc_mtl_header {u16 header_version;#define MTL_GSC_HEADER_VERSION 1 +/* +* FW allows host to decide host_session handle +* as it sees fit. +* For intertracebility reserving select bits(60-63) +* to differentiate caller-target subsystem +* 0000 - HDCP +* 0001 - PXP Single Session +*/ u64 host_session_handle; +#define HOST_SESSION_MASK REG_GENMASK64(63, 60) +#define HOST_SESSION_PXP_SINGLE BIT_ULL(60)u64 gsc_message_handle;u32 message_size;/* lower 20 bits only, upper 12 are reserved */
@@ -33,8 +43,11 @@ struct intel_gsc_mtl_header {* Bit 1: Session Cleanup; * Bits 2-15: Flags * Bits 16-31: Extension Size +* According to internal spec flags are either input or output +* we distinguish the flags using OUTFLAG or INFLAG */ u32 flags; +#define GSC_OUTFLAG_MSG_PENDING 1u32 status; } __packed;
@@ -42,4 +55,7 @@ struct intel_gsc_mtl_header {int intel_gsc_uc_heci_cmd_submit_packet (struct intel_gsc_uc *gsc,u64 addr_in,u32 size_in,u64 addr_out,u32 size_out); +void intel_gsc_uc_heci_cmd_emit_mtl_header (struct intel_gsc_mtl_header *header, +u8 heci_client_id,u32 message_size, +u64 host_session_id);#endif
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v9 5/6] drm/i915/mtl: Add function to send command to GSC CS
Conditional Rb with below fix in intel_hdcp_gsc_free_message:
Quoted 11 lines · Suraj
Add function that takes care of sending command to gsc cs. We start of with allocation of memory for our command
intel_hdcp_gsc_messagethat contains gsc cs memory header as directed in specs followed by the actual payload hdcp message that we want to send.
Spec states that we need to poll pending bit of response header around 20 times each try being 50ms apart hence adding that to currentgsc_msg_sendfunction
Also we use the same function to take care of both sending and receiving hence no separate function to get the response.
alan:snip..
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c line 65
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +4
-0+/*This function helps allocate memory for the command that we will send to gsc cs */ +int intel_hdcp_gsc_hdcp2_init (struct drm_i915_private *i915) +{ +
alan: okay i see this is now being called from intel_hdcp_gsc_init
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c line 88
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +6
-0+void intel_hdcp_gsc_free_message (struct drm_i915_private *i915) +{ + struct intel_hdcp_gsc_message *hdcp_message = + i915->display.hdcp.hdcp_message; + if (hdcp_message->vma) + i915_vma_unpin(fetch_and_zero(&hdcp_message->vma));
alan: i believe you don't need this extra i915_vma_unpin. Also, take note you have a bug above ... first code does a "fetch_and_zero" and right after zero-ing out its used to call i915_vma_unpin_and_release on the line below. So.. "if (hdcp_message->vma) -> i915_vma_unpin_and_release"
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c line 93
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +5
-0+ + i915_vma_unpin_and_release(&hdcp_message->vma, I915_VMA_RELEASE_MAP); + kfree(hdcp_message); +} +
alan:snip..
Quoted 3 lines
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v9 5/6] drm/i915/mtl: Add function to send command to GSC CS
Quoted 35 lines
From: Teres Alexis, Alan Previn <[email protected]>
Sent: Wednesday, February 1, 2023 2:18 PM
To: Kandpal, Suraj <[email protected]>; intel- [email protected]
Cc: Shankar, Uma <[email protected]>; Nautiyal, Ankit K <[email protected]>; Ceraolo Spurio, Daniele <[email protected]>; Gupta, Anshuman <[email protected]>
Subject: Re: [PATCH v9 5/6] drm/i915/mtl: Add function to send command to GSC CSConditional Rb with below fix in
intel_hdcp_gsc_free_message:Reviewed-by Alan Previn <[email protected]>Quoted 11 lines · Suraj
Add function that takes care of sending command to gsc cs. We start of with allocation of memory for our command
intel_hdcp_gsc_messagethat contains gsc cs memory header as directed in specs followed by the actual payload hdcp message that we want to send.
Spec states that we need to poll pending bit of response header around 20 times each try being 50ms apart hence adding that to currentgsc_msg_sendfunction Also we use the same function to take care of both sending and receiving hence no separate function to get the response.alan:snip..
Review
Quoted 4 lines
(quoted diff) +4
-0+/*This function helps allocate memory for the command that we will +send to gsc cs */ int intel_hdcp_gsc_hdcp2_init(struct +drm_i915_private *i915) { +alan: okay i see this is now being called from
intel_hdcp_gsc_init
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c line 88
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +6
-0+void intel_hdcp_gsc_free_message (struct drm_i915_private *i915) { + struct intel_hdcp_gsc_message *hdcp_message = + +i915->display.hdcp.hdcp_message; + if (hdcp_message->vma) + i915_vma_unpin(fetch_and_zero(&hdcp_message->vma));alan: i believe you don't need this extra
i915_vma_unpin. Also, take note you have a bug above ...
first code does a "fetch_and_zero" and right after zero-ing out its used to calli915_vma_unpin_and_releaseon the line below. So.. "if (hdcp_message-Quoted 1 line
vma) ->
i915_vma_unpin_and_release"
I see we can just skip this part and directly do an i915_vma_unpin_and_release
Regards,
Suraj Kandpal
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c line 93
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +6
-0+ + i915_vma_unpin_and_release(&hdcp_message->vma, +I915_VMA_RELEASE_MAP ); + kfree(hdcp_message); +} +alan:snip..
Quoted 3 lines
--
2.25.1
PATCH v9 6/6 drm/i915/mtl: Add HDCP GSC interface
In reply to Suraj KandpalMTL uses GSC command streamer i.e gsc cs to send HDCP/PXP commands to GSC f/w. It requires to keep hdcp display driver agnostic to content protection f/w (ME/GSC fw) in the form of i915_hdcp_fw_ops generic ops.
Adding HDCP GSC CS interface by leveraging the i915_hdcp_fw_ops generic ops instead of I915_HDCP_COMPONENT as integral part of i915.
Adding checks to see if GSC is loaded and proxy is setup
--v6
-dont change the license date in same patch series [Jani] -fix the license year {Jani]
--v8
-remove stale comment [Ankit]
-get headers in alphabetical order [Ankit]
-fix hdcp2_supported check [Ankit]
--v9
-remove return statement from hdcp_gsc_fini [Ankit]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 28 +- drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 637 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 3 + 3 files changed, 660 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +23 -5
@@ -23,6 +23,7 @@#include "intel_display_power_well.h" #include "intel_display_types.h" #include "intel_hdcp.h" +#include "intel_hdcp_gsc.h" #include "intel_hdcp_regs.h" #include "intel_pcode.h"
@@ -203,13 +204,20 @@ bool intel_hdcp2_capable(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; +struct intel_gt *gt = dev_priv->media_gt; +struct intel_gsc_uc *gsc = >->uc.gsc;bool capable = false;/* I915 support for HDCP2.2 */ if (!hdcp->hdcp2_supported)return false; -/* MEI interface is solid */ +/* If MTL+ make sure gsc is loaded and proxy is setup */ +if (intel_hdcp_gsc_cs_required (dev_priv)) +if (!intel_uc_fw_is_running (&gsc->fw)) +return false; + +/* MEI/GSC interface is solid depending on which is used */ mutex_lock (&dev_priv->display.hdcp.comp_mutex);if (!dev_priv->display.hdcp.comp_added || !dev_priv->display.hdcp.master) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);
@@ -2235,6 +2243,9 @@ static int initialize_hdcp_port_data(struct intel_connector *connector,static bool is_hdcp2_supported (struct drm_i915_private *dev_priv) { +if (intel_hdcp_gsc_cs_required (dev_priv)) +return true; +if (!IS_ENABLED (CONFIG_INTEL_MEI_HDCP ))return false;
@@ -2256,10 +2267,14 @@ void intel_hdcp_component_init(struct drm_i915_private *dev_priv) dev_priv->display.hdcp.comp_added = true;mutex_unlock (&dev_priv->display.hdcp.comp_mutex); - ret =component_add_typed (dev_priv->drm.dev, &i915_hdcp_ops, -I915_COMPONENT_HDCP ); +if (intel_hdcp_gsc_cs_required (dev_priv)) + ret =intel_hdcp_gsc_init (dev_priv); +else + ret =component_add_typed (dev_priv->drm.dev, &i915_hdcp_ops, +I915_COMPONENT_HDCP ); +if (ret <0 ) { -drm_dbg_kms (&dev_priv->drm,"Failed at component add(%d)\n" , +drm_dbg_kms (&dev_priv->drm,"Failed at fw component add(%d)\n" , ret);mutex_lock (&dev_priv->display.hdcp.comp_mutex); dev_priv->display.hdcp.comp_added = false;
@@ -2486,7 +2501,10 @@ void intel_hdcp_component_fini(struct drm_i915_private *dev_priv) dev_priv->display.hdcp.comp_added = false;mutex_unlock (&dev_priv->display.hdcp.comp_mutex); -component_del (dev_priv->drm.dev, &i915_hdcp_ops); +if (intel_hdcp_gsc_cs_required (dev_priv)) +intel_hdcp_gsc_fini (dev_priv); +else +component_del (dev_priv->drm.dev, &i915_hdcp_ops); }void intel_hdcp_cleanup (struct intel_connector *connector)
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c +634 -3
673 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_hdcp_gsc.h +3 -0
@@ -16,8 +16,11 @@ struct intel_hdcp_gsc_message { void *hdcp_cmd; }; +bool intel_hdcp_gsc_cs_required (struct drm_i915_private *i915);ssize_t intel_hdcp_gsc_msg_send (struct drm_i915_private *i915,u8 *msg_in,size_t msg_in_len,u8 *msg_out,size_t msg_out_len); +int intel_hdcp_gsc_init (struct drm_i915_private *i915); +void intel_hdcp_gsc_fini (struct drm_i915_private *i915);#endif /* __INTEL_HDCP_GCS_H__ */
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Enable HDCP2.x via GSC CS (rev9)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev9)
URL : https://patchwork.freedesktop.org/series/111876/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Enable HDCP2.x via GSC CS (rev9)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev9)
URL : https://patchwork.freedesktop.org/series/111876/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12670 -> Patchwork_111876v9
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/index.html
Participating hosts (25 -> 24)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_111876v9:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@gem_exec_fence@basic-await@vecs1:
- {bat-dg2-9}: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/bat-dg2-9/igt@gem_exec_fence@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/bat-dg2-9/igt@gem_exec_fence@[email protected]
Known issues
------------
Here are the changes found in Patchwork_111876v9 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
- fi-bsw-n3050: [PASS][3] -> [FAIL][4] ([i915#6298])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/fi-bsw-n3050/igt@kms_cursor_legacy@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/fi-bsw-n3050/igt@kms_cursor_legacy@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][5] ([i915#5334]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@slpc:
- {bat-rpls-1}: [DMESG-FAIL][7] ([i915#6367]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/bat-rpls-1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/bat-rpls-1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7977]: https://gitlab.freedesktop.org/drm/intel/issues/7977
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
Build changes
-------------
* Linux: CI_DRM_12670 -> Patchwork_111876v9
CI-20190529: 20190529
CI_DRM_12670: d98d1a109aa7df08b5398b29e2e90ba50b3f680a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7143: c7b12dcc460fc2348e1fa7f4dcb791bb82e29e44 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111876v9: d98d1a109aa7df08b5398b29e2e90ba50b3f680a @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
66b5bd6bd08e drm/i915/mtl: Add HDCP GSC interface eb8882d66854 drm/i915/mtl: Add function to send command to GSC CS 1f791658d46a drm/i915/hdcp: Refactor HDCP API structures b172ac7fe330 i915/hdcp: HDCP2.x Refactoring to agnostic hdcp e5cf965f336a drm/i915/hdcp: Keep hdcp agonstic naming convention 3e5a24837cbe drm/i915/gsc: Create GSC request submission mechanism
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for Enable HDCP2.x via GSC CS (rev9)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev9)
URL : https://patchwork.freedesktop.org/series/111876/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12670_full -> Patchwork_111876v9_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_111876v9_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_111876v9_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/index.html
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_111876v9_full:
### IGT changes ###
#### Possible regressions ####
* igt@prime_vgem@sync@vcs0:
- shard-glk: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk6/igt@prime_vgem@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk9/igt@prime_vgem@[email protected]
* igt@prime_vgem@sync@vecs0:
- shard-glk: [PASS][3] -> [DMESG-WARN][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk6/igt@prime_vgem@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk9/igt@prime_vgem@[email protected]
Known issues
------------
Here are the changes found in Patchwork_111876v9_full that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@drm_fdinfo@virtual-idle:
- {shard-rkl}: [FAIL][5] ([i915#7742]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@[email protected]
* igt@feature_discovery@psr2:
- {shard-rkl}: [SKIP][7] ([i915#658]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@[email protected]
* igt@gem_ctx_persistence@engines-hang@bcs0:
- {shard-rkl}: [SKIP][9] ([i915#6252]) -> [PASS][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-5/igt@gem_ctx_persistence@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-4/igt@gem_ctx_persistence@[email protected]
* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][11] ([fdo#103375]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-1/igt@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- {shard-rkl}: [FAIL][13] ([i915#2842]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-3/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [FAIL][15] ([i915#2842]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk4/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-wc-read-noreloc:
- {shard-rkl}: [SKIP][17] ([i915#3281]) -> [PASS][18] +9 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- {shard-rkl}: [SKIP][19] ([i915#3282]) -> [PASS][20] +6 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@[email protected]
* igt@gen9_exec_parse@batch-without-end:
- {shard-rkl}: [SKIP][21] ([i915#2527]) -> [PASS][22] +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@[email protected]
* igt@i915_hangman@gt-engine-error@bcs0:
- {shard-rkl}: [SKIP][23] ([i915#6258]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-5/igt@i915_hangman@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-4/igt@i915_hangman@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-rkl}: [SKIP][25] ([i915#1397]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@[email protected]
- {shard-dg1}: [SKIP][27] ([i915#1397]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-dg1-15/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-dg1-14/igt@[email protected]
* igt@kms_atomic@plane-overlay-legacy:
- {shard-tglu}: [SKIP][29] ([i915#7651]) -> [PASS][30] +7 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-tglu-6/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-tglu-3/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- {shard-rkl}: [SKIP][31] ([i915#1845] / [i915#4098]) -> [PASS][32] +15 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][33] ([i915#2346]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk4/igt@kms_cursor_legacy@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk5/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate@ac-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][35] ([i915#2122]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk4/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a2:
- shard-glk: [FAIL][37] ([i915#79]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-glk3/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-glk1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render:
- {shard-rkl}: [SKIP][39] ([i915#1849] / [i915#4098]) -> [PASS][40] +11 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- {shard-tglu}: [SKIP][41] ([i915#1849]) -> [PASS][42] +4 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-tglu-3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- {shard-tglu}: [SKIP][43] ([i915#1849] / [i915#3558]) -> [PASS][44] +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-tglu-6/igt@kms_plane@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-tglu-3/igt@kms_plane@[email protected]
* igt@kms_psr@cursor_mmap_gtt:
- {shard-rkl}: [SKIP][45] ([i915#1072]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@kms_psr@cursor_mmap_gtt.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@kms_psr@cursor_mmap_gtt.html
* igt@kms_universal_plane@universal-plane-pipe-b-sanity:
- {shard-tglu}: [SKIP][47] ([fdo#109274]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-tglu-6/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-tglu-3/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-modeset-rpm:
- {shard-tglu}: [SKIP][49] ([i915#1845] / [i915#7651]) -> [PASS][50] +4 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-tglu-6/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-tglu-3/igt@[email protected]
* igt@perf@gen8-unprivileged-single-ctx-counters:
- {shard-rkl}: [SKIP][51] ([i915#2436]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@[email protected]
* igt@perf@mi-rpc:
- {shard-rkl}: [SKIP][53] ([i915#2434]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@[email protected]
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][55] ([i915#4349]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-1/igt@perf_pmu@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-5/igt@perf_pmu@[email protected]
* igt@prime_vgem@basic-fence-flip:
- {shard-rkl}: [SKIP][57] ([fdo#109295] / [i915#3708] / [i915#4098]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12670/shard-rkl-4/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/shard-rkl-6/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4884]: https://gitlab.freedesktop.org/drm/intel/issues/4884
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
Build changes
-------------
* Linux: CI_DRM_12670 -> Patchwork_111876v9
CI-20190529: 20190529
CI_DRM_12670: d98d1a109aa7df08b5398b29e2e90ba50b3f680a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7143: c7b12dcc460fc2348e1fa7f4dcb791bb82e29e44 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111876v9: d98d1a109aa7df08b5398b29e2e90ba50b3f680a @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v9/index.html