Enable HDCP2.x via GSC CS
Subsystems (5)
v12 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]
--v10
-remove unnecessary i915_vma_unpin [Alan]
--v11
-commit message and header fix [Uma]
-comment style fix [Uma]
-add line gap [Uma]
--v12
-rename comp to arbiter [Uma]
Anshuman Gupta (1):
drm/i915/hdcp: Use generic names for HDCP helpers and structs
Suraj Kandpal (5):
drm/i915/gsc: Create GSC request submission mechanism drm/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 | 158 ++-- 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 + .../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 ---- 13 files changed, 1718 insertions(+), 663 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 v12 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]
--v5
-remove extra line is intel_gsc_fw.h [Uma]
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 + .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 94 +++++++++++++++++++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h | 45 +++++++++ 4 files changed, 142 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
@@ -440,6 +440,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_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
Re: [Intel-gfx] [PATCH v12 1/6] drm/i915/gsc: Create GSC request submission mechanism
Quoted 16 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Thursday, March 9, 2023 1:24 PM
To: [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Shankar, Uma <[email protected]>; Kandpal, Suraj <[email protected]>; Ceraolo Spurio, Daniele <[email protected]>; Teres Alexis, Alan Previn <[email protected]>
Subject: [PATCH v12 1/6] drm/i915/gsc: Create GSC request submission mechanismHDCP 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.
Quoted 6 lines
--v4
-Seprate gsc load and heci cmd submission into different functions in different files for better scalability [Alan] -Rename gsc address field [Alan]--v5
-remove extra line isintel_gsc_fw.h[Uma]
Looks Good to me.
Quoted 194 lines
Cc Daniele Ceraolo Spurio <[email protected]>Cc Alan Previn <[email protected]>Signed-off-by Suraj Kandpal<[email protected]>Reviewed-by Alan Previn <[email protected]>--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 + .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 94 +++++++++++++++++++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h | 45 +++++++++ 4 files changed, 142 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.hdrivers/gpu/drm/i915/Makefile index renamed from drivers/gpu/drm/i915/Makefile +0
-0
8e46f57e4569..8c6b3808c49f100644drivers/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@@ -440,6 +440,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, diff --git
a/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.cb/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.cnew file mode 100644
index 000000000000..be2424af521ddrivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c new file +94
-0@@ -0,0 +1,94 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +#include "gt/intel_engine_pm.h" +#include "gt/intel_gpu_commands.h" +#include "gt/intel_gt.h" +#include "gt/intel_ring.h" +#include "intel_gsc_uc_heci_cmd_submit.h" + +struct gsc_heci_pkt { +u64 addr_in; +u32 size_in; +u64 addr_out; +u32 size_out; +}; + +static int emit_gsc_heci_pkt (struct i915_request *rq,struct +gsc_heci_pkt *pkt) { +u32 *cs; + + cs =intel_ring_begin (rq,8 ); +if (IS_ERR (cs)) +return PTR_ERR (cs); + + *cs++ =GSC_HECI_CMD_PKT ; + *cs++ =lower_32_bits (pkt->addr_in); + *cs++ =upper_32_bits (pkt->addr_in); + *cs++ = pkt->size_in; + *cs++ =lower_32_bits (pkt->addr_out); + *cs++ =upper_32_bits (pkt->addr_out); + *cs++ = pkt->size_out; + *cs++ =0 ; + +intel_ring_advance (rq, cs); + +return 0 ; +} + +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) +{ +struct intel_context *ce = gsc->ce; +struct i915_request *rq; +struct gsc_heci_pkt pkt = { + .addr_in = addr_in, + .size_in = size_in, + .addr_out = addr_out, + .size_out = size_out + }; +int err; + +if (!ce) +return -ENODEV ; + + rq =i915_request_create (ce); +if (IS_ERR (rq)) +return PTR_ERR (rq); + +if (ce->engine->emit_init_breadcrumb) { + err = ce->engine->emit_init_breadcrumb (rq); +if (err) + goto out_rq; + } + + err =emit_gsc_heci_pkt (rq, &pkt); + +if (err) + goto out_rq; + + err = ce->engine->emit_flush (rq,0 ); + +out_rq: +i915_request_get (rq); + +if (unlikely (err)) +i915_request_set_error_once (rq, err); + +i915_request_add (rq); + +if (!err &&i915_request_wait (rq,0 ,msecs_to_jiffies (500 )) <0 ) + err = -ETIME ; + +i915_request_put (rq); + +if (err) +drm_err (&gsc_uc_to_gt (gsc)->i915->drm, +"Request submission for GSC heci cmd failed (%d)\n" , + err); + +return err; +}drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h new file +45
-1@@ -0,0 +1,45 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _INTEL_GSC_UC_HECI_CMD_SUBMIT_H_#define +_INTEL_GSC_UC_HECI_CMD_SUBMIT_H_ + +#include <linux/types.h> + +struct intel_gsc_uc ; +struct intel_gsc_mtl_header { +u32 validity_marker; +#define GSC_HECI_VALIDITY_MARKER 0xA578875A + +u8 heci_client_id; +#define HECI_MEADDRESS_PXP 17 +#define HECI_MEADDRESS_HDCP 18 + +u8 reserved1; + +u16 header_version; +#define MTL_GSC_HEADER_VERSION 1 + +u64 host_session_handle; +u64 gsc_message_handle; + +u32 message_size;/* lower 20 bits only, upper 12 are reserved */ + +/* +* Flags mask: +* Bit 0: Pending +* Bit 1: Session Cleanup; +* Bits 2-15: Flags +* Bits 16-31: Extension Size +*/ +u32 flags; + +u32 status; +} __packed; + +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); +#endif --2.25.1
PATCH v12 2/6 drm/i915/hdcp: Use generic names for HDCP helpers and structs
In reply to Suraj KandpalFrom: Anshuman Gupta <[email protected]>
pre MTL we interact with mei interface to talk to firmware and enable CP but going forward we will talk to gsc cs because of which we are making all names for HDCP helpers and structures generic as either mei or gsc cs maybe used.
Change the include/drm/i915_mei_hdcp_interface.h to include/drm/i915_hdcp_interface.h
Change the i915_hdcp_interface.h header naming convention to suit generic f/w type.
%s/MEI_/HDCP_
%s/mei_dev/hdcp_dev
Change structure name Accordingly.
%s/i915_hdcp_comp_master/i915_hdcp_master
%s/i915_hdcp_component_ops/i915_hdcp_ops
--v6
-make each patch build individually [Jani]
--v8
-change ME FW to ME/GSC FW [Ankit]
-fix formatting issue [Ankit]
--v9
-fix commit message and header [Uma]
--v10
-rename comp variable [Uma]
---
.../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 | 130 +++++++++---------
drivers/misc/mei/hdcp/mei_hdcp.c | 61 ++++----
...hdcp_interface.h => i915_hdcp_interface.h} | 94 ++++++-------
5 files changed, 144 insertions(+), 145 deletions(-)
rename include/drm/{i915_mei_hdcp_interface.h => i915_hdcp_interface.h} (71%)drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
@@ -384,7 +384,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 +66 -64
345 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 +47 -47
149 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v12 2/6] drm/i915/hdcp: Use generic names for HDCP helpers and structs
Quoted 33 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Thursday, March 9, 2023 1:24 PM
To: [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Shankar, Uma <[email protected]>; Gupta, Anshuman <[email protected]>; Winkler, Tomas <[email protected]>; Vivi, Rodrigo <[email protected]>; Kandpal, Suraj <[email protected]>
Subject: [PATCH v12 2/6] drm/i915/hdcp: Use generic names for HDCP helpers and structsFrom: Anshuman Gupta <[email protected]>
pre MTL we interact with mei interface to talk to firmware and enable CP but going forward we will talk to gsc cs because of which we are making all names for HDCP helpers and structures generic as either mei or gsc cs maybe used.
Change the
include/drm/i915_mei_hdcp_interface.htoinclude/drm/i915_hdcp_interface.hChange the
i915_hdcp_interface.hheader naming convention to suit generic f/w type.
%s/MEI_/HDCP_
%s/mei_dev/hdcp_devChange structure name Accordingly.
%s/i915_hdcp_comp_master/i915_hdcp_master
%s/i915_hdcp_component_ops/i915_hdcp_ops--v6
(quoted diff) +0
-1-make each patch build individually [Jani]
Review
Quoted 10 lines
(quoted diff) +0
-7--v8 -change ME FW to ME/GSC FW [Ankit] -fix formatting issue [Ankit] --v9 -fix commit message and header [Uma] --v10 -rename comp variable [Uma]
Looks Good to me.
Quoted 806 lines
Cc Tomas Winkler <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Uma Shankar <[email protected]>Cc Ankit Nautiyal <[email protected]>Signed-off-by Anshuman Gupta <[email protected]>Signed-off-by Suraj Kandpal <[email protected]>Reviewed-by Ankit Nautiyal <[email protected]>Acked-by Tomas Winkler <[email protected]>--- .../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 | 130 +++++++++--------- drivers/misc/mei/hdcp/mei_hdcp.c | 61 ++++---- ...hdcp_interface.h => i915_hdcp_interface.h} | 94 ++++++------- 5 files changed, 144 insertions(+), 145 deletions(-) rename
include/drm/{i915_mei_hdcp_interface.h=>i915_hdcp_interface.h} (71%)drivers/gpu/drm/i915/display/intel_display_core.h +1
-1@@ -384,7 +384,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 +14
-12@@ -1142,18 +1142,18 @@ hdcp2_prepare_ake_init(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->initiate_hdcp2_session (comp->mei_dev, data, ake_data); + ret = arbiter->ops->initiate_hdcp2_session (arbiter->hdcp_dev, data, +ake_data);if (ret)drm_dbg_kms (&dev_priv->drm,"Prepare_ake_init failed. %d\n" , ret);@@ -1172,18 +1172,18 @@ hdcp2_verify_rx_cert_prepare_km(structintel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->verify_receiver_cert_prepare_km (comp->mei_dev, data, + ret = arbiter->ops->verify_receiver_cert_prepare_km (arbiter->hdcp_dev, +data, rx_cert, paired, ek_pub_km, msg_sz);if (ret <0 )@@ -1200,18 +1200,18 @@ static int hdcp2_verify_hprime(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->verify_hprime (comp->mei_dev, data, rx_hprime); + ret = arbiter->ops->verify_hprime (arbiter->hdcp_dev, data, rx_hprime);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Verify hprime failed. %d\n" , ret);drivers/gpu/drm/i915/display/intel_hdcp.c +14
-12mutex_unlock (&dev_priv->display.hdcp.comp_mutex);@@ -1226,18 +1226,18 @@ hdcp2_store_pairing_info(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->store_pairing_info (comp->mei_dev, data, pairing_info); + ret = arbiter->ops->store_pairing_info (arbiter->hdcp_dev, data, +pairing_info);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Store pairing info failed. %d\n" , ret);@@ -1253,18 +1253,18 @@ hdcp2_prepare_lc_init(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->initiate_locality_check (comp->mei_dev, data, lc_init); + ret = arbiter->ops->initiate_locality_check (arbiter->hdcp_dev, data, +lc_init);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Prepare lc_init failed. %d\n" , ret);@@ -1280,18 +1280,18 @@ hdcp2_verify_lprime(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->verify_lprime (comp->mei_dev, data, rx_lprime); + ret = arbiter->ops->verify_lprime (arbiter->hdcp_dev, data, rx_lprime);if (ret <0 ) drm_dbg_kms(&dev_priv->drm, "Verify L_Prime failed. %d\n",drivers/gpu/drm/i915/display/intel_hdcp.c +12
-10ret);@@ -1306,18 +1306,18 @@ static int hdcp2_prepare_skey(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->get_session_key (comp->mei_dev, data, ske_data); + ret = arbiter->ops->get_session_key (arbiter->hdcp_dev, data, +ske_data);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Get session key failed. %d\n" , ret);@@ -1335,20 +1335,21 @@ hdcp2_verify_rep_topology_prepare_ack(structintel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->repeater_check_flow_prepare_ack (comp->mei_dev, data, - rep_topology, - rep_send_ack); + ret = arbiter->ops->repeater_check_flow_prepare_ack (arbiter->hdcp_dev, + data, + rep_topology, + rep_send_ack);if (ret <0 )drivers/gpu/drm/i915/display/intel_hdcp.c +17
-14drm_dbg_kms (&dev_priv->drm, "Verify rep topology failed. %d\n", ret); @@ -1364,18 +1365,18 @@ hdcp2_verify_mprime(struct intel_connector *connector, struct intel_digital_port *dig_port = intel_attached_dig_port(connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->verify_mprime (comp->mei_dev, data, stream_ready); + ret = arbiter->ops->verify_mprime (arbiter->hdcp_dev, data, +stream_ready);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Verify mprime failed. %d\n" , ret);mutex_unlock (&dev_priv->display.hdcp.comp_mutex);@@ -1388,18 +1389,18 @@ static int hdcp2_authenticate_port(struct intel_connector *connector)struct intel_digital_port *dig_port =intel_attached_dig_port (connector);struct hdcp_port_data *data = &dig_port->hdcp_port_data;struct drm_i915_private *dev_priv =to_i915 (connector->base.dev); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->enable_hdcp_authentication (comp->mei_dev, data); + ret = arbiter->ops->enable_hdcp_authentication (arbiter->hdcp_dev, +data);if (ret <0 )drm_dbg_kms (&dev_priv->drm,"Enable hdcp auth failed. %d\n" , ret);@@ -1412,18 +1413,18 @@ static int hdcp2_close_mei_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); -struct i915_hdcp_comp_master *comp; +struct i915_hdcp_master *arbiter;int ret;mutex_lock (&dev_priv->display.hdcp.comp_mutex); - comp = dev_priv->display.hdcp.master; + arbiter = dev_priv->display.hdcp.master; -if (!comp || !comp->ops) { +if (!arbiter || !arbiter->ops) {mutex_unlock (&dev_priv->display.hdcp.comp_mutex);return -EINVAL ; } - ret = comp->ops->close_hdcp_session (comp->mei_dev, + ret = arbiter->ops->close_hdcp_session (arbiter->hdcp_dev, &dig_port->hdcp_port_data);mutex_unlock (&dev_priv->display.hdcp.comp_mutex);@@ -2142,8 +2143,8 @@ static int i915_hdcp_component_bind(struct device *i915_kdev,drm_dbg (&dev_priv->drm,"I915 HDCP comp bind\n" );mutex_lock (&dev_priv->display.hdcp.comp_mutex); - dev_priv->display.hdcp.master = (struct i915_hdcp_comp_master *)data; - dev_priv->display.hdcp.master->mei_dev = mei_kdev; + dev_priv->display.hdcp.master = (struct i915_hdcp_master *)data; + dev_priv->display.hdcp.master->hdcp_dev = mei_kdev;mutex_unlock (&dev_priv->display.hdcp.comp_mutex);drivers/gpu/drm/i915/display/intel_hdcp.c +16
-14return 0 ;@@ -2160,30 +2161,30 @@ static void i915_hdcp_component_unbind(struct device *i915_kdev,mutex_unlock (&dev_priv->display.hdcp.comp_mutex); } -static const struct component_ops i915_hdcp_component_ops = { +static const struct component_ops i915_hdcp_ops = { .bind = i915_hdcp_component_bind, .unbind = i915_hdcp_component_unbind, }; -static enum mei_fw_ddi intel_get_mei_fw_ddi_index (enum port port) +static enum hdcp_ddi intel_get_hdcp_ddi_index (enum port port) {switch (port) {case PORT_A : -return MEI_DDI_A ; +return HDCP_DDI_A ; case PORT_B ... PORT_F: -return (enum mei_fw_ddi )port; +return (enum hdcp_ddi )port;default : -return MEI_DDI_INVALID_PORT ; +return HDCP_DDI_INVALID_PORT ; } } -static enum mei_fw_tc intel_get_mei_fw_tc (enum transcoder cpu_transcoder) +static enum hdcp_transcoder intel_get_hdcp_transcoder (enum transcoder +cpu_transcoder) {switch (cpu_transcoder) { case TRANSCODER_A ... TRANSCODER_D: -return (enum mei_fw_tc )(cpu_transcoder |0x10 ); +return (enum hdcp_transcoder )(cpu_transcoder |0x10 );default :/* eDP, DSI TRANSCODERS are non HDCP capable */ -return MEI_INVALID_TRANSCODER ; +return HDCP_INVALID_TRANSCODER ; } }@@ -2197,20 +2198,20 @@ static int initialize_hdcp_port_data(structintel_connector *connector, enum port port = dig_port->base.port;if (DISPLAY_VER (dev_priv) <12 ) - data->fw_ddi =intel_get_mei_fw_ddi_index (port); + data->hdcp_ddi =intel_get_hdcp_ddi_index (port);else /* -* As per ME FW API expectation, for GEN 12+, fw_ddi is filled +* As per ME FW API expectation, for GEN 12+, hdcp_ddi is filled * with zero(INVALID PORT index). */ - data->fw_ddi =MEI_DDI_INVALID_PORT ; + data->hdcp_ddi =HDCP_DDI_INVALID_PORT ;/* -* As associated transcoder is set and modified at modeset, here fw_tc +* As associated transcoder is set and modified at modeset, here +hdcp_transcoder * is initialized to zero (invalid transcoder index). This will be * retained for <Gen12 forever. */ - data->fw_tc =MEI_INVALID_TRANSCODER ; + data->hdcp_transcoder =HDCP_INVALID_TRANSCODER ; data->port_type = (u8 )HDCP_PORT_TYPE_INTEGRATED ; data->protocol = (u8 )shim->protocol;@@ -2253,7 +2254,7 @@ 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_component_ops, + ret =component_add_typed (dev_priv->drm.dev, &i915_hdcp_ops,I915_COMPONENT_HDCP );drivers/gpu/drm/i915/display/intel_hdcp.c +2
-1if (ret <0 ) { drm_dbg_kms(&dev_priv->drm, "Failed at component add(%d)\n",@@ -2347,7 +2348,8 @@ int intel_hdcp_enable(struct intel_connector *connector, }if (DISPLAY_VER (dev_priv) >=12 ) - dig_port->hdcp_port_data.fw_tc =intel_get_mei_fw_tc (hdcp- >cpu_transcoder); + dig_port->hdcp_port_data.hdcp_transcoder = +intel_get_hdcp_transcoder (hdcp->cpu_transcoder);/* * Considering that HDCP2.2 is more secure than HDCP1.4, If the setup @@ -
2482,7 +2484,7 @@ voidintel_hdcp_component_fini(struct drm_i915_private *dev_priv)drivers/gpu/drm/i915/display/intel_hdcp.c +1
-1dev_priv->display.hdcp.comp_added = false;mutex_unlock (&dev_priv->display.hdcp.comp_mutex); -component_del (dev_priv->drm.dev, &i915_hdcp_component_ops); +component_del (dev_priv->drm.dev, &i915_hdcp_ops); } void intel_hdcp_cleanup(struct intel_connector *connector) diff --git
a/drivers/misc/mei/hdcp/mei_hdcp.cb/drivers/misc/mei/hdcp/mei_hdcp.cindexe0dcd5c114db..9e85bf916091100644drivers/misc/mei/hdcp/mei_hdcp.c +3
-3@@ -23,7 +23,7 @@#include <linux/component.h> #include <drm/drm_connector.h> #include <drm/i915_component.h> -#include <drm/i915_mei_hdcp_interface.h> +#include <drm/i915_hdcp_interface.h> #include "mei_hdcp.h" @@ -57,8 +57,8 @@ mei_hdcp_initiate_session(struct device *dev, structhdcp_port_data *data,WIRED_CMD_BUF_LEN_INITIATE_HDCP2_SESSION_IN ; session_init_in.port.integrated_port_type = data->port_type; - session_init_in.port.physical_port = (u8 )data->fw_ddi; - session_init_in.port.attached_transcoder = (u8 )data->fw_tc; + session_init_in.port.physical_port = (u8 )data->hdcp_ddi; + session_init_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; session_init_in.protocol = data->protocol;byte = mei_cldev_send(cldev, (u8 *)&session_init_in, @@ -127,8 +127,8
@@ mei_hdcp_verify_receiver_cert_prepare_km(struct device *dev,WIRED_CMD_BUF_LEN_VERIFY_RECEIVER_CERT_IN;drivers/misc/mei/hdcp/mei_hdcp.c +2
-2verify_rxcert_in.port.integrated_port_type = data->port_type; - verify_rxcert_in.port.physical_port = (u8 )data->fw_ddi; - verify_rxcert_in.port.attached_transcoder = (u8 )data->fw_tc; + verify_rxcert_in.port.physical_port = (u8 )data->hdcp_ddi; + verify_rxcert_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; verify_rxcert_in.cert_rx = rx_cert->cert_rx; memcpy(verify_rxcert_in.r_rx, &rx_cert->r_rx, HDCP_2_2_RRX_LEN); @@ -198,8 +198,8 @@ mei_hdcp_verify_hprime(struct device *dev, struct
hdcp_port_data*data,
send_hprime_in.header.buffer_len =WIRED_CMD_BUF_LEN_AKE_SEND_HPRIME_IN;drivers/misc/mei/hdcp/mei_hdcp.c +4
-4send_hprime_in.port.integrated_port_type = data->port_type; - send_hprime_in.port.physical_port = (u8 )data->fw_ddi; - send_hprime_in.port.attached_transcoder = (u8 )data->fw_tc; + send_hprime_in.port.physical_port = (u8 )data->hdcp_ddi; + send_hprime_in.port.attached_transcoder = (u8 )data->hdcp_transcoder;memcpy (send_hprime_in.h_prime, rx_hprime->h_prime,HDCP_2_2_H_PRIME_LEN );@@ -256,8 +256,8 @@ mei_hdcp_store_pairing_info(struct device *dev, structhdcp_port_data *data,WIRED_CMD_BUF_LEN_SEND_PAIRING_INFO_IN ; pairing_info_in.port.integrated_port_type = data->port_type; - pairing_info_in.port.physical_port = (u8 )data->fw_ddi; - pairing_info_in.port.attached_transcoder = (u8 )data->fw_tc; + pairing_info_in.port.physical_port = (u8 )data->hdcp_ddi; + pairing_info_in.port.attached_transcoder = (u8 )data->hdcp_transcoder;drivers/misc/mei/hdcp/mei_hdcp.c +2
-2memcpy (pairing_info_in.e_kh_km, pairing_info->e_kh_km,HDCP_2_2_E_KH_KM_LEN );@@ -315,8 +315,8 @@ mei_hdcp_initiate_locality_check(struct device *dev, lc_init_in.header.buffer_len =WIRED_CMD_BUF_LEN_INIT_LOCALITY_CHECK_IN ; lc_init_in.port.integrated_port_type = data->port_type; - lc_init_in.port.physical_port = (u8 )data->fw_ddi; - lc_init_in.port.attached_transcoder = (u8 )data->fw_tc; + lc_init_in.port.physical_port = (u8 )data->hdcp_ddi; + lc_init_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; byte =mei_cldev_send (cldev, (u8 *)&lc_init_in,sizeof (lc_init_in));drivers/misc/mei/hdcp/mei_hdcp.c +2
-2if (byte <0 ) {@@ -371,8 +371,8 @@ mei_hdcp_verify_lprime(struct device *dev, structhdcp_port_data *data,WIRED_CMD_BUF_LEN_VALIDATE_LOCALITY_IN ; verify_lprime_in.port.integrated_port_type = data->port_type; - verify_lprime_in.port.physical_port = (u8 )data->fw_ddi; - verify_lprime_in.port.attached_transcoder = (u8 )data->fw_tc; + verify_lprime_in.port.physical_port = (u8 )data->hdcp_ddi; + verify_lprime_in.port.attached_transcoder = (u8 )data->hdcp_transcoder;drivers/misc/mei/hdcp/mei_hdcp.c +2
-2memcpy (verify_lprime_in.l_prime, rx_lprime->l_prime,HDCP_2_2_L_PRIME_LEN );@@ -429,8 +429,8 @@ static int mei_hdcp_get_session_key(struct device *dev, get_skey_in.header.buffer_len =WIRED_CMD_BUF_LEN_GET_SESSION_KEY_IN ; get_skey_in.port.integrated_port_type = data->port_type; - get_skey_in.port.physical_port = (u8 )data->fw_ddi; - get_skey_in.port.attached_transcoder = (u8 )data->fw_tc; + get_skey_in.port.physical_port = (u8 )data->hdcp_ddi; + get_skey_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; byte =mei_cldev_send (cldev, (u8 *)&get_skey_in,sizeof (get_skey_in));drivers/misc/mei/hdcp/mei_hdcp.c +6
-4if (byte <0 ) {@@ -494,8 +494,8 @@ mei_hdcp_repeater_check_flow_prepare_ack(struct device *dev,WIRED_CMD_BUF_LEN_VERIFY_REPEATER_IN ; verify_repeater_in.port.integrated_port_type = data->port_type; - verify_repeater_in.port.physical_port = (u8 )data->fw_ddi; - verify_repeater_in.port.attached_transcoder = (u8 )data->fw_tc; + verify_repeater_in.port.physical_port = (u8 )data->hdcp_ddi; + verify_repeater_in.port.attached_transcoder = +(u8 )data->hdcp_transcoder;memcpy (verify_repeater_in.rx_info, rep_topology->rx_info,HDCP_2_2_RXINFO_LEN );@@ -572,8 +572,8 @@ static int mei_hdcp_verify_mprime(struct device *dev, 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; - verify_mprime_in->port.attached_transcoder = (u8 )data->fw_tc; + verify_mprime_in->port.physical_port = (u8 )data->hdcp_ddi; + verify_mprime_in->port.attached_transcoder = +(u8 )data->hdcp_transcoder; memcpy(verify_mprime_in->m_prime, stream_ready->m_prime,
HDCP_2_2_MPRIME_LEN);
drm_hdcp_cpu_to_be24(verify_mprime_in->seq_num_m, data-Quoted 1 line
seq_num_m); @@ -634,8 +634,8 @@ static intmei_hdcp_enable_authentication(struct device *dev,
enable_auth_in.header.buffer_len =WIRED_CMD_BUF_LEN_ENABLE_AUTH_IN;drivers/misc/mei/hdcp/mei_hdcp.c +2
-2enable_auth_in.port.integrated_port_type = data->port_type; - enable_auth_in.port.physical_port = (u8 )data->fw_ddi; - enable_auth_in.port.attached_transcoder = (u8 )data->fw_tc; + enable_auth_in.port.physical_port = (u8 )data->hdcp_ddi; + enable_auth_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; enable_auth_in.stream_type = data->streams[0 ].stream_type; byte = mei_cldev_send(cldev, (u8 *)&enable_auth_in, @@ -689,8 +689,8@@
mei_hdcp_close_session(struct device *dev, struct hdcp_port_data *data)drivers/misc/mei/hdcp/mei_hdcp.c +3
-3WIRED_CMD_BUF_LEN_CLOSE_SESSION_IN ; session_close_in.port.integrated_port_type = data->port_type; - session_close_in.port.physical_port = (u8 )data->fw_ddi; - session_close_in.port.attached_transcoder = (u8 )data->fw_tc; + session_close_in.port.physical_port = (u8 )data->hdcp_ddi; + session_close_in.port.attached_transcoder = (u8 )data->hdcp_transcoder; byte =mei_cldev_send (cldev, (u8 *)&session_close_in,sizeof (session_close_in));@@ -715,7 +715,7 @@ mei_hdcp_close_session(struct device *dev, struct hdcp_port_data *data)return 0 ; } -static const struct i915_hdcp_component_ops mei_hdcp_ops = { +static const struct i915_hdcp_ops mei_hdcp_ops = { .owner =THIS_MODULE , .initiate_hdcp2_session = mei_hdcp_initiate_session,drivers/misc/mei/hdcp/mei_hdcp.c +3
-5.verify_receiver_cert_prepare_km =@@ -735,13 +735,12 @@ static const struct i915_hdcp_component_ops mei_hdcp_ops = { static int mei_component_master_bind(struct device *dev) {struct mei_cl_device *cldev =to_mei_cl_device (dev); -struct i915_hdcp_comp_master *comp_master = -mei_cldev_get_drvdata (cldev); +struct i915_hdcp_master *comp_master =mei_cldev_get_drvdata (cldev);int ret;dev_dbg (dev,"%s\n" , __func__); comp_master->ops = &mei_hdcp_ops; - comp_master->mei_dev = dev; + comp_master->hdcp_dev = dev; ret =component_bind_all (dev, comp_master);if (ret <0 )return ret;@@ -752,8 +751,7 @@ static int mei_component_master_bind(struct device *dev)static void mei_component_master_unbind (struct device *dev) {struct mei_cl_device *cldev =to_mei_cl_device (dev); -struct i915_hdcp_comp_master *comp_master = -mei_cldev_get_drvdata (cldev); +struct i915_hdcp_master *comp_master =mei_cldev_get_drvdata (cldev);dev_dbg (dev,"%s\n" , __func__); component_unbind_all(dev, comp_master); @@ -801,7 +799,7 @@ staticint mei_hdcp_component_match(struct device *dev, int subcomponent, static int mei_hdcp_probe(struct
mei_cl_device*cldev,drivers/misc/mei/hdcp/mei_hdcp.c +2
-4const struct mei_cl_device_id *id) { -struct i915_hdcp_comp_master *comp_master; +struct i915_hdcp_master *comp_master;struct component_match *master_match;int ret;@@ -846,8 +844,7 @@ static int mei_hdcp_probe(struct mei_cl_device *cldev,static void mei_hdcp_remove (struct mei_cl_device *cldev) { -struct i915_hdcp_comp_master *comp_master = -mei_cldev_get_drvdata (cldev); +struct i915_hdcp_master *comp_master =mei_cldev_get_drvdata (cldev);int ret; component_master_del(&cldev->dev, &mei_component_master_ops); diff - -git a/include/drm/i915_mei_hdcp_interface.h b/include/drm/i915_hdcp_interface.hsimilarity index 71%
rename frominclude/drm/i915_mei_hdcp_interface.h
rename toinclude/drm/i915_hdcp_interface.hindexf441cbcd95a4..0bf5c385050b100644include/drm/i915_hdcp_interface.h renamed from include/drm/i915_mei_hdcp_interface.h +44
-44@@ -6,15 +6,15 @@* Ramalingam C <[email protected]> */ -#ifndef _I915_MEI_HDCP_INTERFACE_H_ -#define _I915_MEI_HDCP_INTERFACE_H_ +#ifndef _I915_HDCP_INTERFACE_H_ +#define _I915_HDCP_INTERFACE_H_#include <linux/mutex.h> #include <linux/device.h> #include <drm/display/drm_hdcp.h> /** -* enum hdcp_port_type - HDCP port implementation type defined by ME FW +* enum hdcp_port_type - HDCP port implementation type defined by +ME/GSC FW * @HDCP_PORT_TYPE_INVALID: Invalid hdcp port type * @HDCP_PORT_TYPE_INTEGRATED: In-Host HDCP2.x port * @HDCP_PORT_TYPE_LSPCON: HDCP2.2 discrete wired Tx port with LSPCON @@ -41,46 +41,46 @@ enum hdcp_wired_protocol { HDCP_PROTOCOL_DP }; -enum mei_fw_ddi { -MEI_DDI_INVALID_PORT = 0x0, +enum hdcp_ddi { +HDCP_DDI_INVALID_PORT = 0x0, -MEI_DDI_B = 1, -MEI_DDI_C, -MEI_DDI_D, -MEI_DDI_E, -MEI_DDI_F, -MEI_DDI_A = 7, -MEI_DDI_RANGE_END = MEI_DDI_A, +HDCP_DDI_B = 1, +HDCP_DDI_C, +HDCP_DDI_D, +HDCP_DDI_E, +HDCP_DDI_F, +HDCP_DDI_A = 7, +HDCP_DDI_RANGE_END = HDCP_DDI_A, }; /** -* enum mei_fw_tc - ME Firmware defined index for transcoders -* @MEI_INVALID_TRANSCODER: Index for Invalid transcoder -* @MEI_TRANSCODER_EDP: Index for EDP Transcoder -* @MEI_TRANSCODER_DSI0: Index for DSI0 Transcoder -* @MEI_TRANSCODER_DSI1: Index for DSI1 Transcoder -* @MEI_TRANSCODER_A: Index for Transcoder A -* @MEI_TRANSCODER_B: Index for Transcoder B -* @MEI_TRANSCODER_C: Index for Transcoder C -* @MEI_TRANSCODER_D: Index for Transcoder D +* enum hdcp_tc - ME/GSC Firmware defined index for transcoders +* @HDCP_INVALID_TRANSCODER: Index for Invalid transcoder +* @HDCP_TRANSCODER_EDP: Index for EDP Transcoder +* @HDCP_TRANSCODER_DSI0: Index for DSI0 Transcoder +* @HDCP_TRANSCODER_DSI1: Index for DSI1 Transcoder +* @HDCP_TRANSCODER_A: Index for Transcoder A +* @HDCP_TRANSCODER_B: Index for Transcoder B +* @HDCP_TRANSCODER_C: Index for Transcoder C +* @HDCP_TRANSCODER_D: Index for Transcoder D */ -enum mei_fw_tc { -MEI_INVALID_TRANSCODER =0x00 , -MEI_TRANSCODER_EDP , -MEI_TRANSCODER_DSI0 , -MEI_TRANSCODER_DSI1 , -MEI_TRANSCODER_A =0x10 , -MEI_TRANSCODER_B , -MEI_TRANSCODER_C , -MEI_TRANSCODER_D +enum hdcp_transcoder { +HDCP_INVALID_TRANSCODER =0x00 , +HDCP_TRANSCODER_EDP , +HDCP_TRANSCODER_DSI0 , +HDCP_TRANSCODER_DSI1 , +HDCP_TRANSCODER_A =0x10 , +HDCP_TRANSCODER_B , +HDCP_TRANSCODER_C , +HDCP_TRANSCODER_D };/** * struct hdcp_port_data - intel specific HDCP port data -* @fw_ddi: ddi index as per ME FW -* @fw_tc: transcoder index as per ME FW -* @port_type: HDCP port type as per ME FW classification -* @protocol: HDCP adaptation as per ME FW +* @hdcp_ddi: ddi index as per ME/GSC FW +* @hdcp_transcoder: transcoder index as per ME/GSC FW +* @port_type: HDCP port type as per ME/GSC FW classification +* @protocol: HDCP adaptation as per ME/GSC FW * @k: No of streams transmitted on a port. Only on DP MST this is != 1 * @seq_num_m: Count of RepeaterAuth_Stream_Manage msg propagated. * Initialized to 0 on AKE_INIT. Incremented after every successful @@ -90,8 +90,8 @@ enum mei_fw_tc {* streams */ struct hdcp_port_data { -enum mei_fw_ddi fw_ddi; -enum mei_fw_tc fw_tc; +enum hdcp_ddi hdcp_ddi; +enum hdcp_transcoder hdcp_transcoder;u8 port_type;u8 protocol;u16 k;@@ -100,7 +100,7 @@ struct hdcp_port_data { };/** -* struct i915_hdcp_component_ops- ops for HDCP2.2 services. +* struct i915_hdcp_ops- ops for HDCP2.2 services. * @owner: Module providing the ops * @initiate_hdcp2_session: Initiate a Wired HDCP2.2 Tx Session. * And Prepare AKE_Init. @@ -119,9 +119,9 @@ struct hdcp_port_data {* @close_hdcp_session: Close the Wired HDCP Tx session per port. * This also disables the authenticated state of the port. */ -struct i915_hdcp_component_ops { +struct i915_hdcp_ops {/** -* @owner: mei_hdcp module +* @owner: hdcp module */ struct module *owner;@@ -168,17 +168,17 @@ struct i915_hdcp_component_ops { };/** -* struct i915_hdcp_component_master - Used for communication between i915 -* and mei_hdcp drivers for the HDCP2.2 services -* @mei_dev: device that provide the HDCP2.2 service from MEI Bus. -* @hdcp_ops: Ops implemented by mei_hdcp driver, used by i915 driver. +* struct i915_hdcp_master - Used for communication between i915 +* and hdcp drivers for the HDCP2.2 services +* @hdcp_dev: device that provide the HDCP2.2 service from MEI Bus. +* @hdcp_ops: Ops implemented by hdcp driver or intel_hdcp_gsc , used by i915 driver.
*/include/drm/i915_hdcp_interface.h renamed from include/drm/i915_mei_hdcp_interface.h +4
-5-struct i915_hdcp_comp_master { -struct device *mei_dev; -const struct i915_hdcp_component_ops *ops; +struct i915_hdcp_master { +struct device *hdcp_dev; +const struct i915_hdcp_ops *ops;/* To protect the above members. */ struct mutex mutex; }; -#endif /* _I915_MEI_HDCP_INTERFACE_H_ */ +#endif /* _I915_HDCP_INTERFACE_H_ */ --2.25.1
PATCH v12 3/6 drm/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.
%s/_mei_/_
--v3
-Changing names to drop cp_fw to make naming more agnostic[Jani]
--v4
-remove header reference in intel_display_core.h [Uma] -fix commit message and prefix drm [Uma]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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
Re: [Intel-gfx] [PATCH v12 3/6] drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
Quoted 12 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Thursday, March 9, 2023 1:24 PM
To: [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Shankar, Uma <[email protected]>; Kandpal, Suraj <[email protected]>; Winkler, Tomas <[email protected]>; Vivi, Rodrigo <[email protected]>; Gupta, Anshuman <[email protected]>
Subject: [PATCH v12 3/6] drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
Quoted 1 line
As now we have more then one type of content protection secrity firmware.
Just say it as "There are more than type of content protection security firmware. Make the name generic". Also typo in security.
With this fixed,
Quoted 46 lines
%s/_mei_/_
--v3
(quoted diff) +0
-3-Changing names to drop cp_fw to make naming more agnostic[Jani] --v4 -remove header reference in intel_display_core.h [Uma] -fix commit message andprefix drm [Uma]
Cc Tomas Winkler <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Uma Shankar <[email protected]>Cc Ankit Nautiyal <[email protected]>Signed-off-by Anshuman Gupta <[email protected]>Signed-off-by Suraj Kandpal <[email protected]>Reviewed-by Ankit Nautiyal <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_hdcp.c +1
-1@@ -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 inthdcp2_close_mei_session(struct intel_connector *connector)static int
hdcp2_deauthenticate_port(struct intel_connector *connector){drivers/gpu/drm/i915/display/intel_hdcp.c +1
-2-return hdcp2_close_mei_session (connector); +return hdcp2_close_session (connector); }/* Authentication flow starts from here */ --2.25.1
PATCH v13 4/7 drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
In reply to Suraj KandpalThere are more than type of content protection security firmware. Make the name generic
%s/_mei_/_
--v3
-Changing names to drop cp_fw to make naming more agnostic[Jani]
--v4
-remove header reference in intel_display_core.h [Uma] -fix commit message and prefix drm [Uma]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 v13 4/6 drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
There are more than type of content protection security firmware. Make the name generic
%s/_mei_/_
--v3
-Changing names to drop cp_fw to make naming more agnostic[Jani]
--v4
-remove header reference in intel_display_core.h [Uma] -fix commit message and prefix drm [Uma]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 v13 3/6 drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp
There are more than type of content protection security firmware. Make the name generic
%s/_mei_/_
--v3
-Changing names to drop cp_fw to make naming more agnostic[Jani]
--v4
-remove header reference in intel_display_core.h [Uma] -fix commit message and prefix drm [Uma]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 v12 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 v12 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]
--v10
-remove unnecessary i915_vma_unpin [Alan]
--v11
-fix comment style [Uma]
--- drivers/gpu/drm/i915/Makefile | 1 + .../gpu/drm/i915/display/intel_display_core.h | 6 + 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, 261 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
@@ -256,6 +256,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 +6 -0
@@ -387,6 +387,12 @@ 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 v12 5/6] drm/i915/mtl: Add function to send command to GSC CS
Quoted 40 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Thursday, March 9, 2023 1:24 PM
To: [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Shankar, Uma <[email protected]>; Kandpal, Suraj <[email protected]>; Ceraolo Spurio, Daniele <[email protected]>; Teres Alexis, Alan Previn <[email protected]>; Gupta, Anshuman <[email protected]>
Subject: [PATCH v12 5/6] drm/i915/mtl: Add function to send command to GSC CSAdd 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.--v4
-Create common function to fill ingsc_mtl_header[Alan] -define host session bitmask [Alan]--v5
-use i915 directly instead ofgt->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 usei915_vma_unpin_and_release[Alan] -move hdcp message allocation and deallocation fromhdcp2_enableandhdcp2_disableto init and teardown of HDCP [Alan]--v10
Review
Quoted 4 lines
(quoted diff) +0
-3-remove unnecessary i915_vma_unpin [Alan] --v11 -fix comment style [Uma]
Looks Good to me.
Quoted 367 lines
Cc Ankit Nautiyal <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Alan Pervin Teres <[email protected]>Cc Uma Shankar <[email protected]>Cc Anshuman Gupta <[email protected]>Signed-off-by Suraj Kandpal <[email protected]>Reviewed-by Alan Previn <[email protected]>--- drivers/gpu/drm/i915/Makefile | 1 + .../gpu/drm/i915/display/intel_display_core.h | 6 + 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, 261 insertions(+) create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.hdrivers/gpu/drm/i915/Makefile index renamed from drivers/gpu/drm/i915/Makefile +0
-0
8c6b3808c49f..53318809f4a1100644drivers/gpu/drm/i915/Makefile +1
-0@@ -256,6 +256,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 +6
-0@@ -387,6 +387,12 @@ 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 +13
-0@@ -0,0 +1,200 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2023, Intel Corporation. +*/ + +#include "display/intel_hdcp_gsc.h" +#include "gem/i915_gem_region.h" +#include "gt/uc/intel_gsc_uc_heci_cmd_submit.h" +#include "i915_drv.h" +#include "i915_utils.h" + +/*This function helps allocate memory for the command that we will send +to gsc cs */ static int intel_hdcp_gsc_initialize_message(struct drm_i915_private*i915,
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +1
-0+struct intel_hdcp_gsc_message
*hdcp_message) {drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +11
-0+struct intel_gt *gt = i915->media_gt; +struct drm_i915_gem_object *obj =NULL ; +struct i915_vma *vma =NULL ; +void *cmd; +int err; + +/* allocate object of one page for HDCP command memory and store it */ + obj =i915_gem_object_create_shmem (i915,PAGE_SIZE ); + +if (IS_ERR (obj)) { + drm_err(&i915->drm, "Failed to allocate HDCP streamingcommand!\n");
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +4
-0+return PTR_ERR (obj); + } + + cmd = i915_gem_object_pin_map_unlocked(obj,
i915_coherent_map_type(i915, obj, true));drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +57
-0+if (IS_ERR (cmd)) { +drm_err (&i915->drm,"Failed to map gsc message page!\n" ); + err =PTR_ERR (cmd); + goto out_unpin; + } + + vma =i915_vma_instance (obj, >->ggtt->vm,NULL ); +if (IS_ERR (vma)) { + err =PTR_ERR (vma); + goto out_unmap; + } + + err =i915_vma_pin (vma,0 ,0 ,PIN_GLOBAL ); +if (err) + goto out_unmap; + +memset (cmd,0 , obj->base.size); + + hdcp_message->hdcp_cmd = cmd; + hdcp_message->vma = vma; + +return 0 ; + +out_unmap: +i915_gem_object_unpin_map (obj); +out_unpin: +i915_gem_object_put (obj); +return err; +} + +int intel_hdcp_gsc_hdcp2_init (struct drm_i915_private *i915) { +struct intel_hdcp_gsc_message *hdcp_message; +int ret; + + hdcp_message =kzalloc (sizeof (*hdcp_message),GFP_KERNEL ); + +if (!hdcp_message) +return -ENOMEM ; + +/* +* NOTE: No need to lock the comp mutex here as it is already +* going to be taken before this function called +*/ + i915->display.hdcp.hdcp_message = hdcp_message; + ret =intel_hdcp_gsc_initialize_message (i915, hdcp_message); + +if (ret) +drm_err (&i915->drm,"Could not initialize hdcp_message\n" ); + +return ret; +} + +void intel_hdcp_gsc_free_message (struct drm_i915_private *i915) { +struct intel_hdcp_gsc_message *hdcp_message = + i915->display.hdcp.hdcp_message; + + i915_vma_unpin_and_release(&hdcp_message->vma,
I915_VMA_RELEASE_MAP);drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +53
-0+kfree (hdcp_message); +} + +static int intel_gsc_send_sync (struct drm_i915_private *i915, +struct intel_gsc_mtl_header *header,u64 addr, +size_t msg_out_len) +{ +struct intel_gt *gt = i915->media_gt; +int ret; + + header->flags =0 ; + ret =intel_gsc_uc_heci_cmd_submit_packet (>->uc.gsc, addr, + header->message_size, + addr, + msg_out_len +sizeof (*header)); +if (ret) { +drm_err (&i915->drm,"failed to send gsc HDCP msg (%d)\n" , ret); +return ret; + } + +/* +* Checking validity marker for memory sanity +*/ +if (header->validity_marker !=GSC_HECI_VALIDITY_MARKER ) { +drm_err (&i915->drm,"invalid validity marker\n" ); +return -EINVAL ; + } + +if (header->status !=0 ) { +drm_err (&i915->drm,"header status indicates error %d\n" , + header->status); +return -EINVAL ; + } + +if (header->flags &GSC_OUTFLAG_MSG_PENDING ) +return -EAGAIN ; + +return 0 ; +} + +/* +* This function can now be used for sending requests and will also +handle +* receipt of reply messages hence no different function of message +retrieval +* is required. We will initialize intel_hdcp_gsc_message structure +then add +* gsc cs memory header as stated in specs after which the normal HDCP +payload +* will follow +*/ +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) {drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +22
-0+struct intel_gt *gt = i915->media_gt; +struct intel_gsc_mtl_header *header; +const size_t max_msg_size =PAGE_SIZE -sizeof (*header); +struct intel_hdcp_gsc_message *hdcp_message; +u64 addr, host_session_id; +u32 reply_size, msg_size; +int ret, tries =0 ; + +if (!intel_uc_uses_gsc_uc (>->uc)) +return -ENODEV ; + +if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) +return -ENOSPC ; + + hdcp_message = i915->display.hdcp.hdcp_message; + header = hdcp_message->hdcp_cmd; + addr =i915_ggtt_offset (hdcp_message->vma); + + msg_size = msg_in_len +sizeof (*header); +memset (header,0 , msg_size); +get_random_bytes (&host_session_id,sizeof (u64)); + intel_gsc_uc_heci_cmd_emit_mtl_header(header,
HECI_MEADDRESS_HDCP,drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +27
-0+ msg_size, host_session_id); +memcpy (hdcp_message->hdcp_cmd +sizeof (*header), msg_in, msg_in_len); + +/* +* Keep sending request in case the pending bit is set no need to add +* message handle as we are using same address hence loc. of header is +* same and it will contain the message handle. we will send the message +* 20 times each message 50 ms apart +*/ +do { + ret =intel_gsc_send_sync (i915, header, addr, msg_out_len); + +/* Only try again if gsc says so */ +if (ret != -EAGAIN ) +break ; + +msleep (50 ); + + }while (++tries <20 ); + +if (ret) + goto err; + +/* we use the same mem for the reply, so header is in the same loc */ + reply_size = header->message_size -sizeof (*header); +if (reply_size > msg_out_len) { + drm_warn(&i915->drm, "caller with insufficient HDCP reply size %u(%d)\n",
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +4
-0+ reply_size, (u32)msg_out_len); + reply_size = msg_out_len; + }else if (reply_size != msg_out_len) { + drm_dbg_kms(&i915->drm, "caller unexpected HCDP reply size %u(%d)\n",
drivers/gpu/drm/i915/display/intel_hdcp_gsc.c new file +9
-0+ reply_size, (u32)msg_out_len); + } + +memcpy (msg_out, hdcp_message->hdcp_cmd +sizeof (*header), +msg_out_len); + +err: +return ret; +}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 +2
-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,
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c +13
-0+ 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 +17
-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
--
2.25.1
PATCH v12 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);
@@ -2233,6 +2241,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;
@@ -2254,10 +2265,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;
@@ -2484,7 +2499,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.CHECKPATCH: warning for Enable HDCP2.x via GSC CS (rev12)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev12)
URL : https://patchwork.freedesktop.org/series/111876/
State : warning
== Summary ==
Error: dim checkpatch failed18d157dcf4cc drm/i915/gsc: Create GSC request submission mechanism
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:50: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #50:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 154 lines checked7c4035340d7d drm/i915/hdcp: Use generic names for HDCP helpers and structs
-:627: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #627:
rename from include/drm/i915_mei_hdcp_interface.h
total: 0 errors, 1 warnings, 0 checks, 677 lines checkeddfd44547afdb drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp5cee5609af1c drm/i915/hdcp: Refactor HDCP API structuresfbb88fca8e7f drm/i915/mtl: Add function to send command to GSC CS
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:80: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #80:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 295 lines checkedf82555b881fe drm/i915/mtl: Add HDCP GSC interface
-:760: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*data)...) over kzalloc(sizeof(struct i915_hdcp_master)...) #760: FILE: drivers/gpu/drm/i915/display/intel_hdcp_gsc.c:703:
+ data = kzalloc(sizeof(struct i915_hdcp_master), GFP_KERNEL);
total: 0 errors, 0 warnings, 1 checks, 749 lines checked
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Enable HDCP2.x via GSC CS (rev12)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev12)
URL : https://patchwork.freedesktop.org/series/111876/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12829 -> Patchwork_111876v12
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/index.html
Participating hosts (36 -> 34)
------------------------------
Missing (2): fi-kbl-soraka fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_111876v12 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [PASS][1] -> [ABORT][2] ([i915#7911])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/fi-bsw-n3050/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/fi-bsw-n3050/igt@i915_selftest@[email protected]
- fi-bsw-nick: [PASS][3] -> [ABORT][4] ([i915#7911] / [i915#7913])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/fi-bsw-nick/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/fi-bsw-nick/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gt_lrc:
- bat-dg2-11: [PASS][5] -> [INCOMPLETE][6] ([i915#7609] / [i915#7913])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-2: [PASS][7] -> [ABORT][8] ([i915#6687])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/bat-rpls-2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-2/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-rpls-1: NOTRUN -> [SKIP][9] ([i915#7828])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-1/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][10] ([i915#5354]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-dg2-11/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-rpls-1: NOTRUN -> [SKIP][11] ([i915#1845])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-1/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: [ABORT][12] ([i915#6687] / [i915#7978]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/bat-rpls-1/igt@gem_exec_suspend@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-1/igt@gem_exec_suspend@[email protected]
#### Warnings ####
* igt@i915_selftest@live@slpc:
- bat-rpls-2: [DMESG-FAIL][14] ([i915#6367] / [i915#7913]) -> [DMESG-FAIL][15] ([i915#6367] / [i915#7913] / [i915#7996])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/bat-rpls-2/igt@i915_selftest@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-2/igt@i915_selftest@[email protected]
- bat-rpls-1: [DMESG-FAIL][16] ([i915#6367]) -> [DMESG-FAIL][17] ([i915#6367] / [i915#7996])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/bat-rpls-1/igt@i915_selftest@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/bat-rpls-1/igt@i915_selftest@[email protected]
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* Linux: CI_DRM_12829 -> Patchwork_111876v12
CI-20190529: 20190529
CI_DRM_12829: d947159409deea43f404f35cc758740c714c8888 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7185: 6707461ddb214bb8a75c5fcf2747941c9d9b11ae @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111876v12: d947159409deea43f404f35cc758740c714c8888 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
fb9e177dfa2b drm/i915/mtl: Add HDCP GSC interfaced8a4ee6edc4c drm/i915/mtl: Add function to send command to GSC CS 20ee9d3e605c drm/i915/hdcp: Refactor HDCP API structures 4b32dd139cce drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp 972045838839 drm/i915/hdcp: Use generic names for HDCP helpers and structs 14f41fc285a6 drm/i915/gsc: Create GSC request submission mechanism
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for Enable HDCP2.x via GSC CS (rev12)
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: Enable HDCP2.x via GSC CS (rev12)
URL : https://patchwork.freedesktop.org/series/111876/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12829_full -> Patchwork_111876v12_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_111876v12_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_111876v12_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (8 -> 10)
------------------------------
Additional (2): shard-tglu-9 shard-tglu-10
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_111876v12_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_workarounds@suspend-resume-fd:
- shard-tglu-9: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@gem_mmap_gtt@close-race:
- {shard-tglu}: [PASS][2] -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-1/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_111876v12_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@pan:
- shard-tglu-9: NOTRUN -> [SKIP][4] ([i915#2582]) +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@feature_discovery@psr2:
- shard-tglu-10: NOTRUN -> [SKIP][5] ([i915#658]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@gem_ccs@ctrl-surf-copy:
- shard-tglu-9: NOTRUN -> [SKIP][6] ([i915#3555] / [i915#5325])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_ccs@suspend-resume:
- shard-tglu-9: NOTRUN -> [SKIP][7] ([i915#5325])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vcs0:
- shard-apl: [PASS][8] -> [ABORT][9] ([i915#180])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-apl2/igt@gem_ctx_isolation@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl1/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglu-9: NOTRUN -> [SKIP][10] ([fdo#109314])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_ctx_sseu@mmap-args:
- shard-tglu-10: NOTRUN -> [SKIP][11] ([i915#280])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@gem_exec_capture@capture-recoverable:
- shard-tglu-9: NOTRUN -> [SKIP][12] ([i915#6344])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#2842]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-glk5/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@rsvd2-dirt:
- shard-tglu-9: NOTRUN -> [SKIP][15] ([fdo#109283])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_lmem_evict@dontneed-evict-race:
- shard-tglu-9: NOTRUN -> [SKIP][16] ([i915#7582])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_lmem_swapping@heavy-random:
- shard-tglu-10: NOTRUN -> [SKIP][17] ([i915#4613])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4613])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random-ccs:
- shard-tglu-9: NOTRUN -> [SKIP][19] ([i915#4613]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_media_vme:
- shard-tglu-10: NOTRUN -> [SKIP][20] ([i915#284])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@gem_media_vme.html
* igt@gem_pxp@create-regular-context-1:
- shard-tglu-10: NOTRUN -> [SKIP][21] ([i915#4270])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@gem_pxp@fail-invalid-protected-context:
- shard-tglu-9: NOTRUN -> [SKIP][22] ([i915#4270])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-tglu-9: NOTRUN -> [SKIP][23] ([i915#3323])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gem_userptr_blits@unsync-unmap-after-close:
- shard-tglu-9: NOTRUN -> [SKIP][24] ([i915#3297]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@gen3_render_mixed_blits:
- shard-tglu-10: NOTRUN -> [SKIP][25] ([fdo#109289])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@gen3_render_mixed_blits.html
* igt@gen9_exec_parse@cmd-crossing-page:
- shard-tglu-10: NOTRUN -> [SKIP][26] ([i915#2527] / [i915#2856]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@gen9_exec_parse@valid-registers:
- shard-tglu-9: NOTRUN -> [SKIP][27] ([i915#2527] / [i915#2856])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@i915_hwmon@hwmon-read:
- shard-tglu-10: NOTRUN -> [SKIP][28] ([i915#7707])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglu-9: NOTRUN -> [SKIP][29] ([fdo#109289]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp:
- shard-tglu-9: NOTRUN -> [SKIP][30] ([fdo#111644] / [i915#1397])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- shard-tglu-10: NOTRUN -> [SKIP][31] ([fdo#111644] / [i915#1397])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- shard-glk: [PASS][32] -> [DMESG-FAIL][33] ([i915#5334])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-glk4/igt@i915_selftest@live@gt_heartbeat.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-glk3/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-tglu-9: NOTRUN -> [SKIP][34] ([i915#1845]) +13 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-tglu-10: NOTRUN -> [SKIP][35] ([i915#5286]) +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-tglu-10: NOTRUN -> [SKIP][36] ([fdo#111614])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-tglu-9: NOTRUN -> [SKIP][37] ([fdo#111615] / [i915#1845] / [i915#7651]) +4 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-tglu-10: NOTRUN -> [SKIP][38] ([fdo#111615]) +3 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][39] ([i915#3689] / [i915#3886]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_dg2_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][40] ([fdo#109271]) +34 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_dg2_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][41] ([i915#3689] / [i915#6095]) +3 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][42] ([i915#3689]) +4 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_ccs.html
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-tglu-9: NOTRUN -> [SKIP][43] ([i915#1845] / [i915#7651]) +43 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-4_tiled_dg2_mc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][44] ([i915#6095]) +4 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_ccs@pipe-c-bad-rotation-90-4_tiled_dg2_mc_ccs.html
* igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#3886])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-pixel-format-yf_tiled_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][46] ([fdo#111615] / [i915#3689]) +3 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_ccs@pipe-d-bad-pixel-format-yf_tiled_ccs.html
* igt@kms_chamelium_color@ctm-negative:
- shard-tglu-10: NOTRUN -> [SKIP][47] ([fdo#111827])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- shard-tglu-9: NOTRUN -> [SKIP][48] ([i915#7828]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd-for-each-pipe:
- shard-tglu-10: NOTRUN -> [SKIP][49] ([i915#7828]) +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_color@ctm-0-50:
- shard-tglu-9: NOTRUN -> [SKIP][50] ([i915#3546]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglu-10: NOTRUN -> [SKIP][51] ([i915#3116] / [i915#3299])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-tglu-10: NOTRUN -> [SKIP][52] ([i915#6944] / [i915#7116] / [i915#7118])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_content_protection@uevent@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][53] ([i915#1339])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-32x32:
- shard-tglu-10: NOTRUN -> [SKIP][54] ([i915#3555]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-tglu-10: NOTRUN -> [SKIP][55] ([i915#3359])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-tglu-10: NOTRUN -> [SKIP][56] ([fdo#109274]) +3 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-tglu-10: NOTRUN -> [SKIP][57] ([i915#3469])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_flip@2x-dpms-vs-vblank-race-interruptible:
- shard-tglu-10: NOTRUN -> [SKIP][58] ([fdo#109274] / [i915#3637]) +4 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_flip@2x-flip-vs-fences-interruptible:
- shard-tglu-9: NOTRUN -> [SKIP][59] ([fdo#109274] / [i915#3637]) +6 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_flip@nonexisting-fb:
- shard-tglu-9: NOTRUN -> [SKIP][60] ([i915#3637]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling:
- shard-tglu-9: NOTRUN -> [SKIP][61] ([i915#3555]) +9 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling@pipe-a-valid-mode:
- shard-tglu-10: NOTRUN -> [SKIP][62] ([i915#2587] / [i915#2672])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_flip_scaled_crc@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- shard-tglu-9: NOTRUN -> [SKIP][63] ([fdo#109285])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-pri-indfb-multidraw:
- shard-tglu-10: NOTRUN -> [SKIP][64] ([fdo#110189]) +13 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-tglu-9: NOTRUN -> [SKIP][65] ([i915#1849]) +35 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-tglu-10: NOTRUN -> [SKIP][66] ([fdo#109280]) +18 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_plane_alpha_blend@alpha-transparent-fb:
- shard-tglu-9: NOTRUN -> [SKIP][67] ([i915#7128] / [i915#7294])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_plane_scaling@plane-scaler-with-rotation-unity-scaling@pipe-d-hdmi-a-1:
- shard-tglu-10: NOTRUN -> [SKIP][68] ([i915#5176]) +3 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20:
- shard-tglu-9: NOTRUN -> [SKIP][69] ([i915#6953] / [i915#8152])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_prime@basic-crc-hybrid:
- shard-tglu-9: NOTRUN -> [SKIP][70] ([i915#6524])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-tglu-9: NOTRUN -> [SKIP][71] ([i915#658])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-tglu-9: NOTRUN -> [SKIP][72] ([fdo#109642] / [fdo#111068] / [i915#658])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-tglu-9: NOTRUN -> [SKIP][73] ([fdo#110189]) +2 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@kms_psr@psr2_sprite_plane_onoff.html
* igt@kms_selftest@all-tests:
- shard-tglu-10: NOTRUN -> [SKIP][74] ([i915#6433])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@kms_universal_plane@universal-plane-pipe-c-sanity:
- shard-tglu-9: NOTRUN -> [SKIP][75] ([fdo#109274]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@kms_vblank@pipe-d-wait-idle:
- shard-apl: NOTRUN -> [SKIP][76] ([fdo#109271] / [i915#533])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@[email protected]
* igt@kms_writeback@writeback-pixel-formats:
- shard-tglu-10: NOTRUN -> [SKIP][77] ([i915#2437])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@[email protected]
* igt@perf_pmu@event-wait@rcs0:
- shard-tglu-9: NOTRUN -> [SKIP][78] ([fdo#112283])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@perf_pmu@[email protected]
* igt@prime_vgem@fence-flip-hang:
- shard-tglu-9: NOTRUN -> [SKIP][79] ([fdo#109295])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@[email protected]
* igt@v3d/v3d_get_param@get-bad-param:
- shard-tglu-10: NOTRUN -> [SKIP][80] ([fdo#109315] / [i915#2575])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@v3d/[email protected]
* igt@v3d/v3d_perfmon@get-values-invalid-pad:
- shard-tglu-9: NOTRUN -> [SKIP][81] ([fdo#109315] / [i915#2575]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@v3d/[email protected]
* igt@vc4/vc4_purgeable_bo@mark-purgeable:
- shard-tglu-9: NOTRUN -> [SKIP][82] ([i915#2575]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-9/igt@vc4/[email protected]
* igt@vc4/vc4_purgeable_bo@mark-willneed:
- shard-tglu-10: NOTRUN -> [SKIP][83] ([i915#2575]) +3 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-10/igt@vc4/[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@virtual-idle:
- {shard-rkl}: [FAIL][84] ([i915#7742]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-rkl}: [FAIL][86] ([i915#6268]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-2/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-4/igt@[email protected]
- {shard-tglu}: [FAIL][88] ([i915#6268]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-3/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][90] ([fdo#103375]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@gem_exec_balancer@fairslice:
- {shard-rkl}: [SKIP][92] ([i915#6259]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-5/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][94] ([i915#2842]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-glk2/igt@gem_exec_fair@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-glk5/igt@gem_exec_fair@[email protected]
- {shard-tglu}: [FAIL][96] ([i915#2842]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-1/igt@gem_exec_fair@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- {shard-rkl}: [FAIL][98] ([i915#2842]) -> [PASS][99] +2 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@gem_exec_fair@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-gtt-wc-noreloc:
- {shard-rkl}: [SKIP][100] ([i915#3281]) -> [PASS][101] +8 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@[email protected]
* igt@gem_exec_schedule@semaphore-power:
- {shard-rkl}: [SKIP][102] ([i915#7276]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@[email protected]
* igt@gem_lmem_swapping@smem-oom@lmem0:
- {shard-dg1}: [DMESG-WARN][104] ([i915#4936]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-dg1-13/igt@gem_lmem_swapping@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-dg1-18/igt@gem_lmem_swapping@[email protected]
* igt@gen9_exec_parse@bb-start-param:
- {shard-rkl}: [SKIP][106] ([i915#2527]) -> [PASS][107] +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- {shard-rkl}: [SKIP][108] ([i915#3361]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-5/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-1/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- {shard-rkl}: [SKIP][110] ([i915#658]) -> [PASS][111] +2 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- {shard-rkl}: [SKIP][112] ([i915#4281]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@cursor:
- {shard-tglu}: [SKIP][114] ([i915#1849]) -> [PASS][115] +13 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-3/igt@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-rkl}: [SKIP][116] ([i915#1397]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-5/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- {shard-dg1}: [SKIP][118] ([i915#1397]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-dg1-18/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-dg1-14/igt@[email protected]
* igt@i915_suspend@forcewake:
- shard-apl: [ABORT][120] ([i915#180]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-apl4/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- {shard-tglu}: [SKIP][122] ([i915#1845]) -> [PASS][123] +5 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-8/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][124] ([i915#2346]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-glk3/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-glk6/igt@[email protected]
* igt@kms_cursor_legacy@torture-bo@pipe-c:
- {shard-tglu}: [INCOMPLETE][126] ([i915#8011]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-1/igt@kms_cursor_legacy@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-7/igt@kms_cursor_legacy@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- {shard-rkl}: [SKIP][128] ([i915#1849] / [i915#4098]) -> [PASS][129] +20 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_plane@pixel-format-source-clamping@pipe-b-planes:
- {shard-tglu}: [SKIP][130] ([i915#1849] / [i915#3558]) -> [PASS][131] +1 similar issue
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@kms_plane@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-8/igt@kms_plane@[email protected]
- {shard-rkl}: [SKIP][132] ([i915#1849]) -> [PASS][133] +2 similar issues
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@kms_plane@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@kms_plane@[email protected]
* igt@kms_psr@sprite_blt:
- {shard-rkl}: [SKIP][134] ([i915#1072]) -> [PASS][135] +2 similar issues
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@kms_psr@sprite_blt.html
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@kms_psr@sprite_blt.html
* igt@kms_universal_plane@cursor-fb-leak-pipe-d:
- {shard-tglu}: [SKIP][136] ([fdo#109274]) -> [PASS][137] +2 similar issues
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-3/igt@[email protected]
* igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-b:
- {shard-rkl}: [SKIP][138] ([i915#4098]) -> [PASS][139] +1 similar issue
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-5/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-b.html
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-b.html
* igt@kms_vblank@pipe-b-ts-continuation-idle:
- {shard-rkl}: [SKIP][140] ([i915#1845] / [i915#4098]) -> [PASS][141] +31 similar issues
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-3/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-6/igt@[email protected]
* igt@kms_vblank@pipe-d-wait-forked-busy:
- {shard-tglu}: [SKIP][142] ([i915#1845] / [i915#7651]) -> [PASS][143] +34 similar issues
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-tglu-6/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-tglu-3/igt@[email protected]
* igt@perf@mi-rpc:
- {shard-rkl}: [SKIP][144] ([i915#2434]) -> [PASS][145]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- {shard-rkl}: [SKIP][146] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][147] +1 similar issue
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12829/shard-rkl-4/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/shard-rkl-5/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[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#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[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#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
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1339]: https://gitlab.freedesktop.org/drm/intel/issues/1339
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[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#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[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#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[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#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[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#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[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#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[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#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4936]: https://gitlab.freedesktop.org/drm/intel/issues/4936
[i915#5030]: https://gitlab.freedesktop.org/drm/intel/issues/5030
[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#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[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#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6259]: https://gitlab.freedesktop.org/drm/intel/issues/6259
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6355]: https://gitlab.freedesktop.org/drm/intel/issues/6355
[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#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7276]: https://gitlab.freedesktop.org/drm/intel/issues/7276
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7582]: https://gitlab.freedesktop.org/drm/intel/issues/7582
[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#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
[i915#8154]: https://gitlab.freedesktop.org/drm/intel/issues/8154
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8273]: https://gitlab.freedesktop.org/drm/intel/issues/8273
[i915#8275]: https://gitlab.freedesktop.org/drm/intel/issues/8275
Build changes
-------------
* Linux: CI_DRM_12829 -> Patchwork_111876v12
CI-20190529: 20190529
CI_DRM_12829: d947159409deea43f404f35cc758740c714c8888 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7185: 6707461ddb214bb8a75c5fcf2747941c9d9b11ae @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111876v12: d947159409deea43f404f35cc758740c714c8888 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111876v12/index.html