drm/i915: Introduce Intel PXP
Subsystems (7)
v11 cover drm/i915: Introduce Intel PXP
PXP (Protected Xe Path) is an i915 component, available on GEN12 and newer platforms, that helps to establish the hardware protected session and manage the status of the alive software session, as well as its life cycle.
changes from v10:
- Added v10 delta into history of patches that changed in v10
- Fixed checkpatch errors.
Tested with: https://patchwork.freedesktop.org/series/87570/
Anshuman Gupta (2):
drm/i915/pxp: Add plane decryption support
drm/i915/pxp: black pixels on pxp disabled
Daniele Ceraolo Spurio (9):
drm/i915/pxp: Define PXP component interface drm/i915/pxp: define PXP device flag and kconfig drm/i915/pxp: allocate a vcs context for pxp usage drm/i915/pxp: set KCR reg init drm/i915/pxp: interfaces for using protected objects drm/i915/pxp: start the arb session on demand drm/i915/pxp: add pxp debugfs
drm/i915/pxp: add PXP documentation drm/i915/pxp: enable PXP for integrated Gen12
Huang, Sean Z (5):
drm/i915/pxp: Implement funcs to create the TEE channel drm/i915/pxp: Create the arbitrary session after boot drm/i915/pxp: Implement arb session teardown drm/i915/pxp: Implement PXP irq handler drm/i915/pxp: Enable PXP power management
Vitaly Lubart (1):
mei: pxp: export pavp client to me client bus
Documentation/gpu/i915.rst | 8 + drivers/gpu/drm/i915/Kconfig | 11 + drivers/gpu/drm/i915/Makefile | 10 + drivers/gpu/drm/i915/display/intel_display.c | 34 ++ .../drm/i915/display/intel_display_types.h | 6 + .../drm/i915/display/skl_universal_plane.c | 49 ++- drivers/gpu/drm/i915/gem/i915_gem_context.c | 96 +++++- drivers/gpu/drm/i915/gem/i915_gem_context.h | 6 + .../gpu/drm/i915/gem/i915_gem_context_types.h | 28 ++ drivers/gpu/drm/i915/gem/i915_gem_create.c | 72 +++-- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 18 ++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 1 + drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 + .../gpu/drm/i915/gem/i915_gem_object_types.h | 8 + .../gpu/drm/i915/gem/selftests/mock_context.c | 4 +- drivers/gpu/drm/i915/gt/intel_engine.h | 2 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 22 +- drivers/gpu/drm/i915/gt/intel_gt.c | 5 + drivers/gpu/drm/i915/gt/intel_gt_debugfs.c | 2 + drivers/gpu/drm/i915/gt/intel_gt_irq.c | 7 + drivers/gpu/drm/i915/gt/intel_gt_pm.c | 15 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/i915_drv.c | 2 + drivers/gpu/drm/i915/i915_drv.h | 3 + drivers/gpu/drm/i915/i915_pci.c | 2 + drivers/gpu/drm/i915/i915_reg.h | 48 +++ drivers/gpu/drm/i915/intel_device_info.h | 1 + drivers/gpu/drm/i915/pxp/intel_pxp.c | 298 ++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp.h | 64 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 141 +++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h | 15 + drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c | 78 +++++ drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h | 21 ++ drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 101 ++++++ drivers/gpu/drm/i915/pxp/intel_pxp_irq.h | 32 ++ drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 46 +++ drivers/gpu/drm/i915/pxp/intel_pxp_pm.h | 24 ++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 175 ++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 15 + drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 172 ++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.h | 17 + .../drm/i915/pxp/intel_pxp_tee_interface.h | 36 +++ drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 83 +++++ drivers/misc/mei/Kconfig | 2 + drivers/misc/mei/Makefile | 1 + drivers/misc/mei/pxp/Kconfig | 13 + drivers/misc/mei/pxp/Makefile | 7 + drivers/misc/mei/pxp/mei_pxp.c | 229 ++++++++++++++ drivers/misc/mei/pxp/mei_pxp.h | 18 ++ include/drm/i915_component.h | 1 + include/drm/i915_pxp_tee_interface.h | 42 +++ include/uapi/drm/i915_drm.h | 99 +++++- 52 files changed, 2157 insertions(+), 42 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_irq.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_irq.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_session.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_session.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_types.h create mode 100644 drivers/misc/mei/pxp/Kconfig create mode 100644 drivers/misc/mei/pxp/Makefile create mode 100644 drivers/misc/mei/pxp/mei_pxp.c create mode 100644 drivers/misc/mei/pxp/mei_pxp.h create mode 100644 include/drm/i915_pxp_tee_interface.h
Signature · 1 line
2.25.1
PATCH v11 1/17 drm/i915/pxp: Define PXP component interface
From: Daniele Ceraolo Spurio <[email protected]>
This will be used for communication between the i915 driver and the mei one. Defining it in a stand-alone patch to avoid circualr dependedencies between the patches modifying the 2 drivers.
Split out from an original patch from Huang, Sean Z
v2: rename the component struct (Rodrigo)
--- include/drm/i915_component.h | 1 + include/drm/i915_pxp_tee_interface.h | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 include/drm/i915_pxp_tee_interface.h
include/drm/i915_component.h +1 -0
@@ -29,6 +29,7 @@enum i915_component_type {I915_COMPONENT_AUDIO =1 ,I915_COMPONENT_HDCP , +I915_COMPONENT_PXP };/* MAX_PORT is the number of port
include/drm/i915_pxp_tee_interface.h new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v11 2/17 mei: pxp: export pavp client to me client bus
In reply to Alan PrevinFrom: Vitaly Lubart <[email protected]>
Export PAVP client to work with i915 driver,
for binding it uses kernel component framework.
v2:drop debug prints, refactor match code to match mei_hdcp (Tomas)
--- drivers/misc/mei/Kconfig | 2 + drivers/misc/mei/Makefile | 1 + drivers/misc/mei/pxp/Kconfig | 13 ++ drivers/misc/mei/pxp/Makefile | 7 + drivers/misc/mei/pxp/mei_pxp.c | 229 +++++++++++++++++++++++++++++++++ drivers/misc/mei/pxp/mei_pxp.h | 18 +++ 6 files changed, 270 insertions(+) create mode 100644 drivers/misc/mei/pxp/Kconfig create mode 100644 drivers/misc/mei/pxp/Makefile create mode 100644 drivers/misc/mei/pxp/mei_pxp.c create mode 100644 drivers/misc/mei/pxp/mei_pxp.h
drivers/misc/mei/Kconfig +2 -0
@@ -47,3 +47,5 @@ config INTEL_MEI_TXE Intel Bay Trail source "drivers/misc/mei/hdcp/Kconfig" +source "drivers/misc/mei/pxp/Kconfig" +
drivers/misc/mei/Makefile +1 -0
@@ -26,3 +26,4 @@ mei-$(CONFIG_EVENT_TRACING) += mei-trace.o CFLAGS_mei-trace.o = -I$(src) obj-$(CONFIG_INTEL_MEI_HDCP) += hdcp/ +obj-$(CONFIG_INTEL_MEI_PXP) += pxp/
drivers/misc/mei/pxp/Kconfig new file +13 -0
@@ -0,0 +1,13 @@ + +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2020, Intel Corporation. All rights reserved. +# +config INTEL_MEI_PXP + tristate "Intel PXP services of ME Interface" + select INTEL_MEI_ME + depends on DRM_I915 + help + MEI Support for PXP Services on Intel platforms. + + Enables the ME FW services required for PXP support through + I915 display driver of Intel.
drivers/misc/mei/pxp/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2020, Intel Corporation. All rights reserved. +# +# Makefile - PXP client driver for Intel MEI Bus Driver. + +obj-$(CONFIG_INTEL_MEI_PXP) += mei_pxp.o
drivers/misc/mei/pxp/mei_pxp.c new file +229 -0
229 lines not on this page · raw message
drivers/misc/mei/pxp/mei_pxp.h new file +18 -0
@@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright © 2020 Intel Corporation +* +* Authors: +* Vitaly Lubart <[email protected]> +*/ + +#ifndef __MEI_PXP_H__ +#define __MEI_PXP_H__ + +/* me_pxp_status: Enumeration of all PXP Status Codes */ +enum me_pxp_status { +ME_PXP_STATUS_SUCCESS =0x0000 , + +}; + +#endif /* __MEI_PXP_H__ */
Signature · 1 line
2.25.1
PATCH v11 3/17 drm/i915/pxp: define PXP device flag and kconfig
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
Ahead of the PXP implementation, define the relevant define flag and kconfig option.
v2: flip kconfig default to N. Some machines have IFWIs that do not support PXP, so we need it to be an opt-in until we add support to query the caps from the mei device.
v10: change comments from "Gen12+" to "Gen12 and newer"
--- drivers/gpu/drm/i915/Kconfig | 11 +++++++++++ drivers/gpu/drm/i915/i915_drv.h | 3 +++ drivers/gpu/drm/i915/intel_device_info.h | 1 + 3 files changed, 15 insertions(+)
drivers/gpu/drm/i915/Kconfig +11 -0
@@ -131,6 +131,17 @@ config DRM_I915_GVT_KVMGT Choose this option if you want to enable KVMGT support for Intel GVT-g. +config DRM_I915_PXP + bool "Enable Intel PXP support for Intel Gen12 and newer platform" + depends on DRM_I915 + depends on INTEL_MEI && INTEL_MEI_PXP + default n + help + PXP (Protected Xe Path) is an i915 component, available on GEN12 and + newer GPUs, that helps to establish the hardware protected session and + manage the status of the alive software session, as well as its life + cycle. + menu "drm/i915 Debugging" depends on DRM_I915 depends on EXPERT
drivers/gpu/drm/i915/i915_drv.h +3 -0
@@ -1683,6 +1683,9 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_GLOBAL_MOCS_REGISTERS (dev_priv) (INTEL_INFO(dev_priv)->has_global_mocs) +#define HAS_PXP (dev_priv) ((IS_ENABLED(CONFIG_DRM_I915_PXP) && \ + INTEL_INFO(dev_priv)->has_pxp) && \ + VDBOX_MASK(&dev_priv->gt))#define HAS_GMCH (dev_priv) (INTEL_INFO(dev_priv)->display.has_gmch)
drivers/gpu/drm/i915/intel_device_info.h +1 -0
@@ -133,6 +133,7 @@ enum intel_ppgtt_type {func (has_logical_ring_elsq); \func (has_mslices); \func (has_pooled_eu); \ +func (has_pxp); \func (has_rc6); \func (has_rc6p); \func (has_rps); \
Signature · 1 line
2.25.1
PATCH v11 4/17 drm/i915/pxp: allocate a vcs context for pxp usage
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
The context is required to send the session termination commands to the VCS, which will be implemented in a follow-up patch. We can also use the presence of the context as a check of pxp initialization completion.
v2: use perma-pinned context (Chris)
v3: rename pinned_context functions (Chris)
v4: split export of pinned_context functions to a separate patch (Rodrigo)
v10: remove inclusion of intel_gt_types.h from intel_pxp.h (Jani)
--- drivers/gpu/drm/i915/Makefile | 4 ++ drivers/gpu/drm/i915/gt/intel_engine.h | 2 + drivers/gpu/drm/i915/gt/intel_gt.c | 5 ++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/pxp/intel_pxp.c | 69 ++++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp.h | 30 ++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 17 ++++++ 7 files changed, 130 insertions(+) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_types.h
drivers/gpu/drm/i915/Makefile +4 -0
@@ -280,6 +280,10 @@ i915-y += \ i915-y += i915_perf.o +# Protected execution platform (PXP) support +i915-$(CONFIG_DRM_I915_PXP) += \ + pxp/intel_pxp.o + # Post-mortem debug and GPU hang state capture i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o i915-$(CONFIG_DRM_I915_SELFTEST) += \
drivers/gpu/drm/i915/gt/intel_engine.h +2 -0
@@ -175,6 +175,8 @@ intel_write_status_page(struct intel_engine_cs *engine, int reg, u32 value)#define I915_GEM_HWS_SEQNO 0x40#define I915_GEM_HWS_SEQNO_ADDR (I915_GEM_HWS_SEQNO * sizeof(u32))#define I915_GEM_HWS_MIGRATE (0x42 * sizeof(u32)) +#define I915_GEM_HWS_PXP 0x60 +#define I915_GEM_HWS_PXP_ADDR (I915_GEM_HWS_PXP * sizeof(u32))#define I915_GEM_HWS_SCRATCH 0x80#define I915_HWS_CSB_BUF0_INDEX 0x10
drivers/gpu/drm/i915/gt/intel_gt.c +5 -0
@@ -21,6 +21,7 @@#include "intel_rps.h" #include "intel_uncore.h" #include "shmem_utils.h" +#include "pxp/intel_pxp.h" void intel_gt_init_early (struct intel_gt *gt,struct drm_i915_private *i915) {
@@ -714,6 +715,8 @@ int intel_gt_init(struct intel_gt *gt)intel_migrate_init (>->migrate, gt); +intel_pxp_init (>->pxp); + goto out_fw; err_gt:__intel_gt_disable (gt);
@@ -749,6 +752,8 @@ void intel_gt_driver_unregister(struct intel_gt *gt)intel_rps_driver_unregister (>->rps); +intel_pxp_fini (>->pxp); +/* * Upon unregistering the device to prevent any new users, cancel * all in-flight requests so that we can quickly unbind the active
drivers/gpu/drm/i915/gt/intel_gt_types.h +3 -0
@@ -26,6 +26,7 @@#include "intel_rps_types.h" #include "intel_migrate_types.h" #include "intel_wakeref.h" +#include "pxp/intel_pxp_types.h" struct drm_i915_private ;struct i915_ggtt ;
@@ -201,6 +202,8 @@ struct intel_gt {struct {u8 uc_index; } mocs; + +struct intel_pxp pxp; };enum intel_gt_scratch_field {
drivers/gpu/drm/i915/pxp/intel_pxp.c new file +69 -0
69 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp.h new file +30 -0
@@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_H__ +#define __INTEL_PXP_H__ + +#include "intel_pxp_types.h" + +static inline bool intel_pxp_is_enabled (const struct intel_pxp *pxp) +{ +return pxp->ce; +} + +#ifdef CONFIG_DRM_I915_PXP +struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp); +void intel_pxp_init (struct intel_pxp *pxp); +void intel_pxp_fini (struct intel_pxp *pxp); +#else +static inline void intel_pxp_init (struct intel_pxp *pxp) +{ +} + +static inline void intel_pxp_fini (struct intel_pxp *pxp) +{ +} +#endif + +#endif /* __INTEL_PXP_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_types.h new file +17 -0
@@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_TYPES_H__ +#define __INTEL_PXP_TYPES_H__ + +#include <linux/types.h> + +struct intel_context ; + +struct intel_pxp { +struct intel_context *ce; +}; + +#endif /* __INTEL_PXP_TYPES_H__ */
Signature · 1 line
2.25.1
PATCH v11 5/17 drm/i915/pxp: Implement funcs to create the TEE channel
In reply to Alan PrevinFrom: "Huang, Sean Z" <[email protected]>
Implement the funcs to create the TEE channel, so kernel can send the TEE commands directly to TEE for creating the arbitrary (default) session.
v2: fix locking, don't pollute dev_priv (Chris)
v3: wait for mei PXP component to be bound.
v4: drop the wait, as the component might be bound after i915 load completes. We'll instead check when sending a tee message.
v5: fix an issue with mei_pxp module removal
v6: don't use fetch_and_zero in fini (Rodrigo)
--- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/pxp/intel_pxp.c | 13 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 79 ++++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.h | 14 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 4 ++ 5 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee.h
drivers/gpu/drm/i915/Makefile +2 -1
@@ -282,7 +282,8 @@ i915-y += i915_perf.o # Protected execution platform (PXP) support i915-$(CONFIG_DRM_I915_PXP) += \ - pxp/intel_pxp.o + pxp/intel_pxp.o \ + pxp/intel_pxp_tee.o # Post-mortem debug and GPU hang state capture i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o
drivers/gpu/drm/i915/pxp/intel_pxp.c +13 -0
@@ -3,6 +3,7 @@* Copyright(c) 2020 Intel Corporation. */ #include "intel_pxp.h" +#include "intel_pxp_tee.h" #include "gt/intel_context.h" #include "i915_drv.h"
@@ -57,7 +58,16 @@ void intel_pxp_init(struct intel_pxp *pxp)if (ret)return ; + ret =intel_pxp_tee_component_init (pxp); +if (ret) + goto out_context; +drm_info (>->i915->drm,"Protected Xe Path (PXP) protected content support initialized\n" ); + +return ; + +out_context: +destroy_vcs_context (pxp); }void intel_pxp_fini (struct intel_pxp *pxp)
@@ -65,5 +75,8 @@ void intel_pxp_fini(struct intel_pxp *pxp)if (!intel_pxp_is_enabled (pxp))return ; +intel_pxp_tee_component_fini (pxp); +destroy_vcs_context (pxp); + }
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c new file +79 -0
79 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_tee.h new file +14 -0
@@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_TEE_H__ +#define __INTEL_PXP_TEE_H__ + +#include "intel_pxp.h" + +int intel_pxp_tee_component_init (struct intel_pxp *pxp); +void intel_pxp_tee_component_fini (struct intel_pxp *pxp); + +#endif /* __INTEL_PXP_TEE_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +4 -0
@@ -9,8 +9,12 @@#include <linux/types.h> struct intel_context ; +struct i915_pxp_component ;struct intel_pxp { +struct i915_pxp_component *pxp_component; +bool pxp_component_added; +struct intel_context *ce; };
Signature · 1 line
2.25.1
PATCH v11 6/17 drm/i915/pxp: set KCR reg init
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
The setting is required by hardware to allow us doing further protection operation such as sending commands to GPU or TEE. The register needs to be re-programmed on resume, so for simplicitly we bundle the programming with the component binding, which is automatically called on resume.
Further HW set-up operations will be added in the same location in follow-up patches, so get ready for them by using a couple of init/fini_hw wrappers instead of calling the KCR funcs directly.
v3: move programming to component binding function, rework commit msg
--- drivers/gpu/drm/i915/pxp/intel_pxp.c | 26 ++++++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp.h | 3 +++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 5 +++++ 3 files changed, 34 insertions(+)
drivers/gpu/drm/i915/pxp/intel_pxp.c +26 -0
@@ -12,6 +12,23 @@ struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp) return container_of(pxp, struct intel_gt, pxp); } +/* KCR register definitions */ +#define KCR_INIT _MMIO(0x320f0) +/* Setting KCR Init bit is required after system boot */ +#define KCR_INIT_ALLOW_DISPLAY_ME_WRITES REG_BIT(14) + +static void kcr_pxp_enable (struct intel_gt *gt) +{ +intel_uncore_write (gt->uncore,KCR_INIT , +_MASKED_BIT_ENABLE (KCR_INIT_ALLOW_DISPLAY_ME_WRITES )); +} + +static void kcr_pxp_disable (struct intel_gt *gt) +{ +intel_uncore_write (gt->uncore,KCR_INIT , +_MASKED_BIT_DISABLE (KCR_INIT_ALLOW_DISPLAY_ME_WRITES )); +} +static int create_vcs_context (struct intel_pxp *pxp) {static struct lock_class_key pxp_lock;
@@ -78,5 +95,14 @@ void intel_pxp_fini(struct intel_pxp *pxp)intel_pxp_tee_component_fini (pxp);destroy_vcs_context (pxp); +} + +void intel_pxp_init_hw (struct intel_pxp *pxp) +{ +kcr_pxp_enable (pxp_to_gt (pxp)); +} +void intel_pxp_fini_hw (struct intel_pxp *pxp) +{ +kcr_pxp_disable (pxp_to_gt (pxp)); }
drivers/gpu/drm/i915/pxp/intel_pxp.h +3 -0
@@ -17,6 +17,9 @@ static inline bool intel_pxp_is_enabled(const struct intel_pxp *pxp)struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp);void intel_pxp_init (struct intel_pxp *pxp);void intel_pxp_fini (struct intel_pxp *pxp); + +void intel_pxp_init_hw (struct intel_pxp *pxp); +void intel_pxp_fini_hw (struct intel_pxp *pxp);#else static inline void intel_pxp_init (struct intel_pxp *pxp) {
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +5 -0
@@ -33,6 +33,9 @@ static int i915_pxp_tee_component_bind(struct device *i915_kdev, pxp->pxp_component = data; pxp->pxp_component->tee_dev = tee_kdev; +/* the component is required to fully start the PXP HW */ +intel_pxp_init_hw (pxp); +return 0 ; }
@@ -41,6 +44,8 @@ static void i915_pxp_tee_component_unbind(struct device *i915_kdev, {struct intel_pxp *pxp =i915_dev_to_pxp (i915_kdev); +intel_pxp_fini_hw (pxp); + pxp->pxp_component =NULL ; }
Signature · 1 line
2.25.1
PATCH v11 7/17 drm/i915/pxp: Create the arbitrary session after boot
In reply to Alan PrevinFrom: "Huang, Sean Z" <[email protected]>
Create the arbitrary session, with the fixed session id 0xf, after system boot, for the case that application allocates the protected buffer without establishing any protection session. Because the hardware requires at least one alive session for protected buffer creation. This arbitrary session will need to be re-created after teardown or power event because hardware encryption key won't be valid after such cases.
The session ID is exposed as part of the uapi so it can be used as part of userspace commands.
v2: use gt->uncore->rpm (Chris)
v3: s/arb_is_in_play/arb_is_valid (Chris), move set-up to the new
init_hw function
v4: move interface defs to separate header, set arb_is valid to false
on fini (Rodrigo)
v5: handle async component binding
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/pxp/intel_pxp.c | 12 +++ drivers/gpu/drm/i915/pxp/intel_pxp.h | 2 + drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 74 ++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 15 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 87 +++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_tee.h | 3 + .../drm/i915/pxp/intel_pxp_tee_interface.h | 36 ++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 10 +++ include/uapi/drm/i915_drm.h | 3 + 10 files changed, 243 insertions(+) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_session.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_session.h create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -283,6 +283,7 @@ i915-y += i915_perf.o # Protected execution platform (PXP) support i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ + pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.o # Post-mortem debug and GPU hang state capture
drivers/gpu/drm/i915/pxp/intel_pxp.c +12 -0
@@ -3,6 +3,7 @@* Copyright(c) 2020 Intel Corporation. */ #include "intel_pxp.h" +#include "intel_pxp_session.h" #include "intel_pxp_tee.h" #include "gt/intel_context.h" #include "i915_drv.h"
@@ -12,6 +13,11 @@ struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp) return container_of(pxp, struct intel_gt, pxp); } +bool intel_pxp_is_active (const struct intel_pxp *pxp) +{ +return pxp->arb_is_valid; +} +/* KCR register definitions */ #define KCR_INIT _MMIO(0x320f0)/* Setting KCR Init bit is required after system boot */
@@ -71,6 +77,8 @@ void intel_pxp_init(struct intel_pxp *pxp)if (!HAS_PXP (gt->i915))return ; +mutex_init (&pxp->tee_mutex); + ret =create_vcs_context (pxp);if (ret)return ;
@@ -92,6 +100,8 @@ void intel_pxp_fini(struct intel_pxp *pxp)if (!intel_pxp_is_enabled (pxp))return ; + pxp->arb_is_valid = false; +intel_pxp_tee_component_fini (pxp);destroy_vcs_context (pxp);
@@ -100,6 +110,8 @@ void intel_pxp_fini(struct intel_pxp *pxp)void intel_pxp_init_hw (struct intel_pxp *pxp) {kcr_pxp_enable (pxp_to_gt (pxp)); + +intel_pxp_create_arb_session (pxp); }void intel_pxp_fini_hw (struct intel_pxp *pxp)
drivers/gpu/drm/i915/pxp/intel_pxp.h +2 -0
@@ -15,6 +15,8 @@ static inline bool intel_pxp_is_enabled(const struct intel_pxp *pxp)#ifdef CONFIG_DRM_I915_PXP struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp); +bool intel_pxp_is_active (const struct intel_pxp *pxp); +void intel_pxp_init (struct intel_pxp *pxp);void intel_pxp_fini (struct intel_pxp *pxp);
drivers/gpu/drm/i915/pxp/intel_pxp_session.c new file +74 -0
74 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_session.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_SESSION_H__ +#define __INTEL_PXP_SESSION_H__ + +#include <linux/types.h> + +struct intel_pxp ; + +int intel_pxp_create_arb_session (struct intel_pxp *pxp); + +#endif /* __INTEL_PXP_SESSION_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +87 -0
124 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_tee.h +3 -0
@@ -11,4 +11,7 @@int intel_pxp_tee_component_init (struct intel_pxp *pxp);void intel_pxp_tee_component_fini (struct intel_pxp *pxp); +int intel_pxp_tee_cmd_create_arb_session (struct intel_pxp *pxp, +int arb_session_id); +#endif /* __INTEL_PXP_TEE_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h new file +36 -0
@@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_TEE_INTERFACE_H__ +#define __INTEL_PXP_TEE_INTERFACE_H__ + +#include <linux/types.h> + +#define PXP_TEE_APIVER 0x40002 +#define PXP_TEE_ARB_CMDID 0x1e +#define PXP_TEE_ARB_PROTECTION_MODE 0x2 + +/* PXP TEE message header */ +struct pxp_tee_cmd_header { +u32 api_version; +u32 command_id; +u32 status; +/* Length of the message (excluding the header) */ +u32 buffer_len; +} __packed; + +/* PXP TEE message input to create a arbitrary session */ +struct pxp_tee_create_arb_in { +struct pxp_tee_cmd_header header; +u32 protection_mode; +u32 session_id; +} __packed; + +/* PXP TEE message output to create a arbitrary session */ +struct pxp_tee_create_arb_out { +struct pxp_tee_cmd_header header; +} __packed; + +#endif /* __INTEL_PXP_TEE_INTERFACE_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +10 -0
@@ -6,6 +6,7 @@#ifndef __INTEL_PXP_TYPES_H__#define __INTEL_PXP_TYPES_H__ +#include <linux/mutex.h> #include <linux/types.h> struct intel_context ;
@@ -16,6 +17,15 @@ struct intel_pxp {bool pxp_component_added;struct intel_context *ce; + +/* +* After a teardown, the arb session can still be in play on the HW +* even if the keys are gone, so we can't rely on the HW state of the +* session to know if it's valid and need to track the status in SW. +*/ +bool arb_is_valid; + + struct mutex tee_mutex; /* protects the tee channel binding */ };#endif /* __INTEL_PXP_TYPES_H__ */
include/uapi/drm/i915_drm.h +3 -0
@@ -3038,6 +3038,9 @@ struct drm_i915_gem_create_ext_memory_regions {__u64 regions; }; +/* ID of the protected content session managed by i915 when PXP is active */ +#define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf +#if defined(__cplusplus) }#endif
Signature · 1 line
2.25.1
PATCH v11 8/17 drm/i915/pxp: Implement arb session teardown
In reply to Alan PrevinFrom: "Huang, Sean Z" <[email protected]>
Teardown is triggered when the display topology changes and no long meets the secure playback requirement, and hardware trashes all the encryption keys for display. Additionally, we want to emit a teardown operation to make sure we're clean on boot and resume
v2: emit in the ring, use high prio request (Chris)
v3: better defines, stalling flush, cleaned up and renamed submission
funcs (Chris)
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 22 ++- drivers/gpu/drm/i915/pxp/intel_pxp.c | 7 +- drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 141 +++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h | 15 ++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 29 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 1 + 7 files changed, 212 insertions(+), 4 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -283,6 +283,7 @@ i915-y += i915_perf.o # Protected execution platform (PXP) support i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ + pxp/intel_pxp_cmd.o \ pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.o
drivers/gpu/drm/i915/gt/intel_gpu_commands.h +19 -3
@@ -28,10 +28,13 @@#define INSTR_26_TO_24_MASK 0x7000000#define INSTR_26_TO_24_SHIFT 24 +#define __INSTR (client) ((client) << INSTR_CLIENT_SHIFT) +/* * Memory interface instructions used by the kernel */ -#define MI_INSTR (opcode, flags) (((opcode) << 23) | (flags)) +#define MI_INSTR (opcode, flags) \ + (__INSTR(INSTR_MI_CLIENT) | (opcode) << 23 | (flags))/* Many MI commands use bit 22 of the header dword for GGTT vs PPGTT */ #define MI_GLOBAL_GTT (1<<22)
@@ -57,6 +60,7 @@#define MI_SUSPEND_FLUSH MI_INSTR(0x0b, 0)#define MI_SUSPEND_FLUSH_EN (1<<0)#define MI_SET_APPID MI_INSTR(0x0e, 0) +#define MI_SET_APPID_SESSION_ID (x) ((x) << 0)#define MI_OVERLAY_FLIP MI_INSTR(0x11, 0)#define MI_OVERLAY_CONTINUE (0x0<<21)#define MI_OVERLAY_ON (0x1<<21)
@@ -146,6 +150,7 @@#define MI_STORE_REGISTER_MEM_GEN8 MI_INSTR(0x24, 2)#define MI_SRM_LRM_GLOBAL_GTT (1<<22)#define MI_FLUSH_DW MI_INSTR(0x26, 1)/* for GEN6 */ +#define MI_FLUSH_DW_PROTECTED_MEM_EN (1 << 22)#define MI_FLUSH_DW_STORE_INDEX (1<<21)#define MI_INVALIDATE_TLB (1<<18)#define MI_FLUSH_DW_OP_STOREDW (1<<14)
@@ -272,6 +277,19 @@#define MI_MATH_REG_ZF 0x32#define MI_MATH_REG_CF 0x33 +/* +* Media instructions used by the kernel +*/ +#define MEDIA_INSTR (pipe, op, sub_op, flags) \ + (__INSTR(INSTR_RC_CLIENT) | (pipe) << INSTR_SUBCLIENT_SHIFT | \ + (op) << INSTR_26_TO_24_SHIFT | (sub_op) << 16 | (flags)) + +#define MFX_WAIT MEDIA_INSTR(1, 0, 0, 0) +#define MFX_WAIT_DW0_MFX_SYNC_CONTROL_FLAG REG_BIT(8) +#define MFX_WAIT_DW0_PXP_SYNC_CONTROL_FLAG REG_BIT(9) + +#define CRYPTO_KEY_EXCHANGE MEDIA_INSTR(2, 6, 9, 0) +/* * Commands used only by the command parser */
@@ -328,8 +346,6 @@#define GFX_OP_3DSTATE_BINDING_TABLE_EDIT_PS \ ((0x3<<29)|(0x3<<27)|(0x0<<24)|(0x47<<16)) -#define MFX_WAIT ((0x3<<29)|(0x1<<27)|(0x0<<16)) -#define COLOR_BLT ((0x2<<29)|(0x40<<22))#define SRC_COPY_BLT ((0x2<<29)|(0x43<<22))
drivers/gpu/drm/i915/pxp/intel_pxp.c +6 -1
@@ -109,9 +109,14 @@ void intel_pxp_fini(struct intel_pxp *pxp)void intel_pxp_init_hw (struct intel_pxp *pxp) { +int ret; +kcr_pxp_enable (pxp_to_gt (pxp)); -intel_pxp_create_arb_session (pxp); +/* always emit a full termination to clean the state */ + ret =intel_pxp_terminate_arb_session_and_global (pxp); +if (!ret) +intel_pxp_create_arb_session (pxp); }void intel_pxp_fini_hw (struct intel_pxp *pxp)
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +141 -0
141 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_CMD_H__ +#define __INTEL_PXP_CMD_H__ + +#include <linux/types.h> + +struct intel_pxp ; + +int intel_pxp_terminate_session (struct intel_pxp *pxp,u32 idx); + +#endif /* __INTEL_PXP_CMD_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_session.c +29 -0
@@ -7,6 +7,7 @@#include "i915_drv.h" #include "intel_pxp.h" +#include "intel_pxp_cmd.h" #include "intel_pxp_session.h" #include "intel_pxp_tee.h" #include "intel_pxp_types.h"
@@ -15,6 +16,9 @@#define GEN12_KCR_SIP _MMIO(0x32260)/* KCR hwdrm session in play 0-31 */ +/* PXP global terminate register for session termination */ +#define PXP_GLOBAL_TERMINATE _MMIO(0x320f8) +static bool intel_pxp_session_is_in_play (struct intel_pxp *pxp,u32 id) {struct intel_gt *gt =pxp_to_gt (pxp);
@@ -72,3 +76,28 @@ int intel_pxp_create_arb_session(struct intel_pxp *pxp)return 0 ; } + +int intel_pxp_terminate_arb_session_and_global (struct intel_pxp *pxp) +{ +int ret; +struct intel_gt *gt =pxp_to_gt (pxp); + + pxp->arb_is_valid = false; + +/* terminate the hw sessions */ + ret =intel_pxp_terminate_session (pxp,ARB_SESSION ); +if (ret) { +drm_err (>->i915->drm,"Failed to submit session termination\n" ); +return ret; + } + + ret =pxp_wait_for_session_state (pxp,ARB_SESSION , false); +if (ret) { +drm_err (>->i915->drm,"Session state did not clear\n" ); +return ret; + } + +intel_uncore_write (gt->uncore,PXP_GLOBAL_TERMINATE ,1 ); + +return ret; +}
drivers/gpu/drm/i915/pxp/intel_pxp_session.h +1 -0
@@ -11,5 +11,6 @@struct intel_pxp ;int intel_pxp_create_arb_session (struct intel_pxp *pxp); +int intel_pxp_terminate_arb_session_and_global (struct intel_pxp *pxp);#endif /* __INTEL_PXP_SESSION_H__ */
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v11 08/17] drm/i915/pxp: Implement arb session teardown
Quoted 219 lines · Alan Previn
From: "Huang, Sean Z" <[email protected]>
Teardown is triggered when the display topology changes and no long meets the secure playback requirement, and hardware trashes all the encryption keys for display. Additionally, we want to emit a teardown operation to make sure we're clean on boot and resume
v2: emit in the ring, use high prio request (Chris)
v3: better defines, stalling flush, cleaned up and renamed submission
funcs (Chris)Signed-off-by Huang, Sean Z <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>Reviewed-by Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 22 ++- drivers/gpu/drm/i915/pxp/intel_pxp.c | 7 +- drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 141 +++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h | 15 ++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 29 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 1 + 7 files changed, 212 insertions(+), 4 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.hdrivers/gpu/drm/i915/Makefile +1
-0@@ -283,6 +283,7 @@ i915-y += i915_perf.o # Protected execution platform (PXP) support i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ + pxp/intel_pxp_cmd.o \ pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.odrivers/gpu/drm/i915/gt/intel_gpu_commands.h +19
-3@@ -28,10 +28,13 @@#define INSTR_26_TO_24_MASK 0x7000000#define INSTR_26_TO_24_SHIFT 24 +#define __INSTR (client) ((client) << INSTR_CLIENT_SHIFT) +/* * Memory interface instructions used by the kernel */ -#define MI_INSTR (opcode, flags) (((opcode) << 23) | (flags)) +#define MI_INSTR (opcode, flags) \ + (__INSTR(INSTR_MI_CLIENT) | (opcode) << 23 | (flags))/* Many MI commands use bit 22 of the header dword for GGTT vs PPGTT */ #define MI_GLOBAL_GTT (1<<22)@@ -57,6 +60,7 @@#define MI_SUSPEND_FLUSH MI_INSTR(0x0b, 0)#define MI_SUSPEND_FLUSH_EN (1<<0)#define MI_SET_APPID MI_INSTR(0x0e, 0) +#define MI_SET_APPID_SESSION_ID (x) ((x) << 0)#define MI_OVERLAY_FLIP MI_INSTR(0x11, 0)#define MI_OVERLAY_CONTINUE (0x0<<21)#define MI_OVERLAY_ON (0x1<<21)@@ -146,6 +150,7 @@#define MI_STORE_REGISTER_MEM_GEN8 MI_INSTR(0x24, 2)#define MI_SRM_LRM_GLOBAL_GTT (1<<22)#define MI_FLUSH_DW MI_INSTR(0x26, 1)/* for GEN6 */ +#define MI_FLUSH_DW_PROTECTED_MEM_EN (1 << 22)#define MI_FLUSH_DW_STORE_INDEX (1<<21)#define MI_INVALIDATE_TLB (1<<18)#define MI_FLUSH_DW_OP_STOREDW (1<<14)@@ -272,6 +277,19 @@#define MI_MATH_REG_ZF 0x32#define MI_MATH_REG_CF 0x33 +/* +* Media instructions used by the kernel +*/ +#define MEDIA_INSTR (pipe, op, sub_op, flags) \ + (__INSTR(INSTR_RC_CLIENT) | (pipe) << INSTR_SUBCLIENT_SHIFT | \ + (op) << INSTR_26_TO_24_SHIFT | (sub_op) << 16 | (flags)) + +#define MFX_WAIT MEDIA_INSTR(1, 0, 0, 0) +#define MFX_WAIT_DW0_MFX_SYNC_CONTROL_FLAG REG_BIT(8) +#define MFX_WAIT_DW0_PXP_SYNC_CONTROL_FLAG REG_BIT(9) + +#define CRYPTO_KEY_EXCHANGE MEDIA_INSTR(2, 6, 9, 0) +/* * Commands used only by the command parser */ @@ -328,8 +346,6 @@#define GFX_OP_3DSTATE_BINDING_TABLE_EDIT_PS \ ((0x3<<29)|(0x3<<27)|(0x0<<24)|(0x47<<16)) -#define MFX_WAIT ((0x3<<29)|(0x1<<27)|(0x0<<16)) -#define COLOR_BLT ((0x2<<29)|(0x40<<22))#define SRC_COPY_BLT ((0x2<<29)|(0x43<<22))drivers/gpu/drm/i915/pxp/intel_pxp.c +6
-1@@ -109,9 +109,14 @@ void intel_pxp_fini(struct intel_pxp *pxp)void intel_pxp_init_hw (struct intel_pxp *pxp) { +int ret; +kcr_pxp_enable (pxp_to_gt (pxp)); -intel_pxp_create_arb_session (pxp); +/* always emit a full termination to clean the state */ + ret =intel_pxp_terminate_arb_session_and_global (pxp); +if (!ret) +intel_pxp_create_arb_session (pxp); }void intel_pxp_fini_hw (struct intel_pxp *pxp)drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +90
-0@@ -0,0 +1,141 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#include "intel_pxp.h" +#include "intel_pxp_cmd.h" +#include "intel_pxp_session.h" +#include "gt/intel_context.h" +#include "gt/intel_engine_pm.h" +#include "gt/intel_gpu_commands.h" +#include "gt/intel_ring.h" + +#include "i915_trace.h" + +/* stall until prior PXP and MFX/HCP/HUC objects are cmopleted */ +#define MFX_WAIT_PXP (MFX_WAIT | \ + MFX_WAIT_DW0_PXP_SYNC_CONTROL_FLAG | \ + MFX_WAIT_DW0_MFX_SYNC_CONTROL_FLAG) + +static u32 *pxp_emit_session_selection (u32 *cs,u32 idx) +{ + *cs++ =MFX_WAIT_PXP ; + +/* pxp off */ + *cs++ =MI_FLUSH_DW ; + *cs++ =0 ; + *cs++ =0 ; + +/* select session */ + *cs++ =MI_SET_APPID |MI_SET_APPID_SESSION_ID (idx); + + *cs++ =MFX_WAIT_PXP ; + +/* pxp on */ + *cs++ =MI_FLUSH_DW |MI_FLUSH_DW_PROTECTED_MEM_EN | +MI_FLUSH_DW_OP_STOREDW |MI_FLUSH_DW_STORE_INDEX ; + *cs++ =I915_GEM_HWS_PXP_ADDR |MI_FLUSH_DW_USE_GTT ; + *cs++ =0 ; + + *cs++ =MFX_WAIT_PXP ; + +return cs; +} + +static u32 *pxp_emit_inline_termination (u32 *cs) +{ +/* session inline termination */ + *cs++ =CRYPTO_KEY_EXCHANGE ; + *cs++ =0 ; + +return cs; +} + +static u32 *pxp_emit_session_termination (u32 *cs,u32 idx) +{ + cs =pxp_emit_session_selection (cs, idx); + cs =pxp_emit_inline_termination (cs); + +return cs; +} + +static u32 *pxp_emit_wait (u32 *cs) +{ +/* wait for cmds to go through */ + *cs++ =MFX_WAIT_PXP ; + *cs++ =0 ; + +return cs; +} + +/* +* if we ever need to terminate more than one session, we can submit multiple +* selections and terminations back-to-back with a single wait at the end +*/ +#define SELECTION_LEN 10 +#define TERMINATION_LEN 2 +#define SESSION_TERMINATION_LEN (x) ((SELECTION_LEN + TERMINATION_LEN) * (x)) +#define WAIT_LEN 2 + +static void pxp_request_commit (struct i915_request *rq) +{ +struct i915_sched_attr attr = { .priority =I915_PRIORITY_MAX }; +struct intel_timeline *const tl =i915_request_timeline (rq); + +lockdep_unpin_lock (&tl->mutex, rq->cookie); + +trace_i915_request_add (rq); +__i915_request_commit (rq); +__i915_request_queue (rq, &attr);
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c line 100
Quoted 10 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +10
-0+ +mutex_unlock (&tl->mutex); +} + +int intel_pxp_terminate_session (struct intel_pxp *pxp,u32 id) +{ +struct i915_request *rq; +struct intel_context *ce = pxp->ce; +u32 *cs; +int err;
err needs to be initialized to 0. If not initialized, it may be used uninitialized in the line I mentioned below.
Quoted 19 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +19
-0+ +if (!intel_pxp_is_enabled (pxp)) +return 0 ; + + 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; + } + + cs =intel_ring_begin (rq,SESSION_TERMINATION_LEN (1 ) +WAIT_LEN ); +if (IS_ERR (cs)) { + err =PTR_ERR (cs); + goto out_rq; + }
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c line 129
Quoted 10 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +10
-0+ + cs =pxp_emit_session_termination (cs, id); + cs =pxp_emit_wait (cs); + +intel_ring_advance (rq, cs); + +out_rq: +i915_request_get (rq); + +if (unlikely (err))
uninitialized 'err' may be used in the above line.
Quoted 98 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +12
-0+i915_request_set_error_once (rq, err); + +pxp_request_commit (rq); + +if (!err &&i915_request_wait (rq,0 ,HZ /5 ) <0 ) + err = -ETIME ; + +i915_request_put (rq); + +return err; +} +drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h new file +15
-0@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_CMD_H__ +#define __INTEL_PXP_CMD_H__ + +#include <linux/types.h> + +struct intel_pxp ; + +int intel_pxp_terminate_session (struct intel_pxp *pxp,u32 idx); + +#endif /* __INTEL_PXP_CMD_H__ */ drivers/gpu/drm/i915/pxp/intel_pxp_session.c +29
-0@@ -7,6 +7,7 @@#include "i915_drv.h" #include "intel_pxp.h" +#include "intel_pxp_cmd.h" #include "intel_pxp_session.h" #include "intel_pxp_tee.h" #include "intel_pxp_types.h" @@ -15,6 +16,9 @@#define GEN12_KCR_SIP _MMIO(0x32260)/* KCR hwdrm session in play 0-31 */ +/* PXP global terminate register for session termination */ +#define PXP_GLOBAL_TERMINATE _MMIO(0x320f8) +static bool intel_pxp_session_is_in_play (struct intel_pxp *pxp,u32 id) {struct intel_gt *gt =pxp_to_gt (pxp);@@ -72,3 +76,28 @@ int intel_pxp_create_arb_session(struct intel_pxp *pxp)return 0 ; } + +int intel_pxp_terminate_arb_session_and_global (struct intel_pxp *pxp) +{ +int ret; +struct intel_gt *gt =pxp_to_gt (pxp); + + pxp->arb_is_valid = false; + +/* terminate the hw sessions */ + ret =intel_pxp_terminate_session (pxp,ARB_SESSION ); +if (ret) { +drm_err (>->i915->drm,"Failed to submit session termination\n" ); +return ret; + } + + ret =pxp_wait_for_session_state (pxp,ARB_SESSION , false); +if (ret) { +drm_err (>->i915->drm,"Session state did not clear\n" ); +return ret; + } + +intel_uncore_write (gt->uncore,PXP_GLOBAL_TERMINATE ,1 ); + +return ret; +}drivers/gpu/drm/i915/pxp/intel_pxp_session.h +1
-0@@ -11,5 +11,6 @@struct intel_pxp ;int intel_pxp_create_arb_session (struct intel_pxp *pxp); +int intel_pxp_terminate_arb_session_and_global (struct intel_pxp *pxp);#endif /* __INTEL_PXP_SESSION_H__ */ Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v11 08/17] drm/i915/pxp: Implement arb session teardown
Quoted 68 lines · Harish Chegondi
Quoted 35 lines · Alan Previn
From: "Huang, Sean Z" <[email protected]>
Teardown is triggered when the display topology changes and no long meets the secure playback requirement, and hardware trashes all the encryption keys for display. Additionally, we want to emit a teardown operation to make sure we're clean on boot and resume
v2: emit in the ring, use high prio request (Chris)
v3: better defines, stalling flush, cleaned up and renamed submission
funcs (Chris)Signed-off-by Huang, Sean Z <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>Reviewed-by Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 22 ++- drivers/gpu/drm/i915/pxp/intel_pxp.c | 7 +- drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 141 +++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_cmd.h | 15 ++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 29 ++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 1 + 7 files changed, 212 insertions(+), 4 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd.hvoid
intel_pxp_fini_hw(struct intel_pxp *pxp)drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +0
-0drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c line 100
Quoted 8 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +6
-0+int intel_pxp_terminate_session (struct intel_pxp *pxp,u32 id) +{ +struct i915_request *rq; +struct intel_context *ce = pxp->ce; +u32 *cs; +int err;err needs to be initialized to 0. If not initialized, it may be used uninitialized in the line I mentioned below.
Quoted 22 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +22
-0+ +if (!intel_pxp_is_enabled (pxp)) +return 0 ; + + 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; + } + + cs =intel_ring_begin (rq,SESSION_TERMINATION_LEN (1 ) +WAIT_LEN ); +if (IS_ERR (cs)) { + err =PTR_ERR (cs); + goto out_rq; + } + + cs =pxp_emit_session_termination (cs, id); + cs =pxp_emit_wait (cs);
Quoted 8 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c line 129
Quoted 7 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +7
-0+ +intel_ring_advance (rq, cs); + +out_rq: +i915_request_get (rq); + +if (unlikely (err))uninitialized 'err' may be used in the above line.
thanks for catching this Harish - its a valid bug.
i should have used a stronger make option when building / testing. since the series needs a rebase anyway (drm-tip from just now causing issues), I will push a new rev out.
..alan
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c new file +3
-0+i915_request_set_error_once (rq, err); + +pxp_request_commit (rq);
PATCH v11 9/17 drm/i915/pxp: Implement PXP irq handler
In reply to Alan PrevinFrom: "Huang, Sean Z" <[email protected]>
The HW will generate a teardown interrupt when session termination is required, which requires i915 to submit a terminating batch. Once the HW is done with the termination it will generate another interrupt, at which point it is safe to re-create the session.
Since the termination and re-creation flow is something we want to trigger from the driver as well, use a common work function that can be called both from the irq handler and from the driver set-up flows, which has the addded benefit of allowing us to skip any extra locks because the work itself serializes the operations.
v2: use struct completion instead of bool (Chris)
v3: drop locks, clean up functions and improve comments (Chris),
move to common work function.
v4: improve comments, simplify wait logic (Rodrigo)
v5: unconditionally set interrupts, rename state_attacked var (Rodrigo)
v10: remove inclusion of intel_gt_types.h from intel_pxp.h (Jani)
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt_irq.c | 7 ++ drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/pxp/intel_pxp.c | 66 ++++++++++-- drivers/gpu/drm/i915/pxp/intel_pxp.h | 8 ++ drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 100 +++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_irq.h | 32 ++++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 54 +++++++++- drivers/gpu/drm/i915/pxp/intel_pxp_session.h | 5 +- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 8 +- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 18 ++++ 11 files changed, 284 insertions(+), 16 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_irq.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_irq.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -284,6 +284,7 @@ i915-y += i915_perf.o i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ pxp/intel_pxp_cmd.o \ + pxp/intel_pxp_irq.o \ pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.o
drivers/gpu/drm/i915/gt/intel_gt_irq.c +7 -0
@@ -13,6 +13,7 @@#include "intel_lrc_reg.h" #include "intel_uncore.h" #include "intel_rps.h" +#include "pxp/intel_pxp_irq.h" static void guc_irq_handler (struct intel_guc *guc,u16 iir) {
@@ -64,6 +65,9 @@ gen11_other_irq_handler(struct intel_gt *gt, const u8 instance,if (instance ==OTHER_GTPM_INSTANCE )return gen11_rps_irq_handler (>->rps, iir); +if (instance ==OTHER_KCR_INSTANCE ) +return intel_pxp_irq_handler (>->pxp, iir); +WARN_ONCE (1 ,"unhandled other interrupt instance=0x%x, iir=0x%x\n" , instance, iir); }
@@ -196,6 +200,9 @@ void gen11_gt_irq_reset(struct intel_gt *gt)intel_uncore_write (uncore,GEN11_GPM_WGBOXPERF_INTR_MASK , ~0 );intel_uncore_write (uncore,GEN11_GUC_SG_INTR_ENABLE ,0 );intel_uncore_write (uncore,GEN11_GUC_SG_INTR_MASK , ~0 ); + +intel_uncore_write (uncore,GEN11_CRYPTO_RSVD_INTR_ENABLE ,0 ); +intel_uncore_write (uncore,GEN11_CRYPTO_RSVD_INTR_MASK , ~0 ); }void gen11_gt_irq_postinstall (struct intel_gt *gt)
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -8117,6 +8117,7 @@ enum {/* irq instances for OTHER_CLASS */ #define OTHER_GUC_INSTANCE 0#define OTHER_GTPM_INSTANCE 1 +#define OTHER_KCR_INSTANCE 4#define GEN11_INTR_IDENTITY_REG (x) _MMIO(0x190060 + ((x) * 4))
drivers/gpu/drm/i915/pxp/intel_pxp.c +60 -6
92 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp.h +8 -0
@@ -22,6 +22,9 @@ void intel_pxp_fini(struct intel_pxp *pxp);void intel_pxp_init_hw (struct intel_pxp *pxp);void intel_pxp_fini_hw (struct intel_pxp *pxp); + +void intel_pxp_mark_termination_in_progress (struct intel_pxp *pxp); +int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp);#else static inline void intel_pxp_init (struct intel_pxp *pxp) {
@@ -30,6 +33,11 @@ static inline void intel_pxp_init(struct intel_pxp *pxp)static inline void intel_pxp_fini (struct intel_pxp *pxp) { } + +static inline int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp) +{ +return -ENODEV ; +}#endif #endif /* __INTEL_PXP_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_irq.c new file +100 -0
100 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_irq.h new file +32 -0
@@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_IRQ_H__ +#define __INTEL_PXP_IRQ_H__ + +#include <linux/types.h> + +struct intel_pxp ; + +#define GEN12_DISPLAY_PXP_STATE_TERMINATED_INTERRUPT BIT(1) +#define GEN12_DISPLAY_APP_TERMINATED_PER_FW_REQ_INTERRUPT BIT(2) +#define GEN12_DISPLAY_STATE_RESET_COMPLETE_INTERRUPT BIT(3) + +#define GEN12_PXP_INTERRUPTS \ + (GEN12_DISPLAY_PXP_STATE_TERMINATED_INTERRUPT | \ + GEN12_DISPLAY_APP_TERMINATED_PER_FW_REQ_INTERRUPT | \ + GEN12_DISPLAY_STATE_RESET_COMPLETE_INTERRUPT) + +#ifdef CONFIG_DRM_I915_PXP +void intel_pxp_irq_enable (struct intel_pxp *pxp); +void intel_pxp_irq_disable (struct intel_pxp *pxp); +void intel_pxp_irq_handler (struct intel_pxp *pxp,u16 iir); +#else +static inline void intel_pxp_irq_handler (struct intel_pxp *pxp,u16 iir) +{ +} +#endif + +#endif /* __INTEL_PXP_IRQ_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_session.c +51 -3
73 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_session.h +2 -3
@@ -8,9 +8,8 @@#include <linux/types.h> -struct intel_pxp ; +struct work_struct ; -int intel_pxp_create_arb_session (struct intel_pxp *pxp); -int intel_pxp_terminate_arb_session_and_global (struct intel_pxp *pxp); +void intel_pxp_session_work (struct work_struct *work);#endif /* __INTEL_PXP_SESSION_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +4 -4
@@ -80,6 +80,7 @@ static int i915_pxp_tee_component_bind(struct device *i915_kdev, {struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev);struct intel_pxp *pxp =i915_dev_to_pxp (i915_kdev); +int ret;mutex_lock (&pxp->tee_mutex); pxp->pxp_component = data;
@@ -88,15 +89,14 @@ static int i915_pxp_tee_component_bind(struct device *i915_kdev,/* the component is required to fully start the PXP HW */ intel_pxp_init_hw (pxp); - -if (!pxp->arb_is_valid) { + ret =intel_pxp_wait_for_arb_start (pxp); +if (ret) {drm_err (&i915->drm,"Failed to create arb session during bind\n" );intel_pxp_fini_hw (pxp); pxp->pxp_component =NULL ; -return -EIO ; } -return 0 ; +return ret; } static void i915_pxp_tee_component_unbind(struct device *i915_kdev,
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +18 -0
@@ -6,8 +6,10 @@#ifndef __INTEL_PXP_TYPES_H__#define __INTEL_PXP_TYPES_H__ +#include <linux/completion.h> #include <linux/mutex.h> #include <linux/types.h> +#include <linux/workqueue.h> struct intel_context ;struct i915_pxp_component ;
@@ -26,6 +28,22 @@ struct intel_pxp {bool arb_is_valid;struct mutex tee_mutex;/* protects the tee channel binding */ + +/* +* If the HW perceives an attack on the integrity of the encryption it +* will invalidate the keys and expect SW to re-initialize the session. +* We keep track of this state to make sure we only re-start the arb +* session when required. +*/ +bool hw_state_invalidated; + +bool irq_enabled; +struct completion termination; + +struct work_struct session_work; +u32 session_events;/* protected with gt->irq_lock */ +#define PXP_TERMINATION_REQUEST BIT(0) +#define PXP_TERMINATION_COMPLETE BIT(1) };#endif /* __INTEL_PXP_TYPES_H__ */
Signature · 1 line
2.25.1
PATCH v11 10/17 drm/i915/pxp: interfaces for using protected objects
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
This api allow user mode to create protected buffers and to mark contexts as making use of such objects. Only when using contexts marked in such a way is the execution guaranteed to work as expected.
Contexts can only be marked as using protected content at creation time (i.e. the parameter is immutable) and they must be both bannable and not recoverable. Given that the protected session gets invalidated on suspend, contexts created this way hold a runtime pm wakeref until they're either destroyed or invalidated.
All protected objects and contexts will be considered invalid when the PXP session is destroyed and all new submissions using them will be rejected. All intel contexts within the invalidated gem contexts will be marked banned. Userspace can detect that an invalidation has occurred via the RESET_STATS ioctl, where we report it the same way as a ban due to a hang.
v5: squash patches, rebase on proto_ctx, update kerneldoc
v6: rebase on obj create_ext changes
v7: Use session counter to check if an object it valid, hold wakeref in
context, don't add a new flag to RESET_STATS (Daniel)
v8: don't increase guilty count for contexts banned during pxp
invalidation (Rodrigo)
v9: better comments, avoid wakeref put race between pxp_inval and
context_close, add usage examples (Rodrigo)
v10: modify internal set/get-protected-context functions to not
return -ENODEV when setting PXP param to false or getting param when running on pxp-unsupported hw or getting param when i915 was built with CONFIG_PXP off
--- drivers/gpu/drm/i915/gem/i915_gem_context.c | 94 +++++++++++++++--- drivers/gpu/drm/i915/gem/i915_gem_context.h | 6 ++ .../gpu/drm/i915/gem/i915_gem_context_types.h | 28 ++++++ drivers/gpu/drm/i915/gem/i915_gem_create.c | 72 ++++++++++---- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 18 ++++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 1 + drivers/gpu/drm/i915/gem/i915_gem_object.h | 6 ++ .../gpu/drm/i915/gem/i915_gem_object_types.h | 8 ++ .../gpu/drm/i915/gem/selftests/mock_context.c | 4 +- drivers/gpu/drm/i915/pxp/intel_pxp.c | 78 +++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp.h | 12 +++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 6 ++ drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 9 ++ include/uapi/drm/i915_drm.h | 96 ++++++++++++++++++- 14 files changed, 403 insertions(+), 35 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_context.c +80 -14
@@ -77,6 +77,8 @@#include "gt/intel_gpu_commands.h" #include "gt/intel_ring.h" +#include "pxp/intel_pxp.h" +#include "i915_gem_context.h" #include "i915_trace.h" #include "i915_user_extensions.h"
@@ -186,10 +188,13 @@ static int validate_priority(struct drm_i915_private *i915,return 0 ; } -static void proto_context_close (struct i915_gem_proto_context *pc) +static void proto_context_close (struct drm_i915_private *i915, +struct i915_gem_proto_context *pc) {int i; +if (pc->pxp_wakeref) +intel_runtime_pm_put (&i915->runtime_pm, pc->pxp_wakeref);if (pc->vm)i915_vm_put (pc->vm);if (pc->user_engines) {
@@ -241,6 +246,33 @@ static int proto_context_set_persistence(struct drm_i915_private *i915,return 0 ; } +static int proto_context_set_protected (struct drm_i915_private *i915, +struct i915_gem_proto_context *pc, +bool protected) +{ +int ret =0 ; + +if (!protected) { + pc->uses_protected_content = false; + }else if (!intel_pxp_is_enabled (&i915->gt.pxp)) { + ret = -ENODEV ; + }else if ((pc->user_flags &BIT (UCONTEXT_RECOVERABLE )) || + !(pc->user_flags &BIT (UCONTEXT_BANNABLE ))) { + ret = -EPERM ; + }else { + pc->uses_protected_content = true; + +/* +* protected context usage requires the PXP session to be up, +* which in turn requires the device to be active. +*/ + pc->pxp_wakeref =intel_runtime_pm_get (&i915->runtime_pm); + ret =intel_pxp_wait_for_arb_start (&i915->gt.pxp); + } + +return ret; +} +static struct i915_gem_proto_context *proto_context_create (struct drm_i915_private *i915,unsigned int flags) {
@@ -269,7 +301,7 @@ proto_context_create(struct drm_i915_private *i915, unsigned int flags)return pc; proto_close: -proto_context_close (pc); +proto_context_close (i915, pc);return err; }
@@ -693,6 +725,8 @@ static int set_proto_ctx_param(struct drm_i915_file_private *fpriv, ret = -EPERM ; else if (args->value) pc->user_flags |= BIT(UCONTEXT_BANNABLE); + else if (pc->uses_protected_content) + ret = -EPERM ; else pc->user_flags &= ~BIT(UCONTEXT_BANNABLE);break ;
@@ -700,10 +734,12 @@ static int set_proto_ctx_param(struct drm_i915_file_private *fpriv,case I915_CONTEXT_PARAM_RECOVERABLE :if (args->size) ret = -EINVAL ; -else if (args->value) - pc->user_flags |=BIT (UCONTEXT_RECOVERABLE ); -else +else if (!args->value) pc->user_flags &= ~BIT (UCONTEXT_RECOVERABLE ); +else if (pc->uses_protected_content) + ret = -EPERM ; +else + pc->user_flags |=BIT (UCONTEXT_RECOVERABLE );break ;case I915_CONTEXT_PARAM_PRIORITY :
@@ -731,6 +767,11 @@ static int set_proto_ctx_param(struct drm_i915_file_private *fpriv, args->value);break ; +case I915_CONTEXT_PARAM_PROTECTED_CONTENT : + ret =proto_context_set_protected (fpriv->dev_priv, pc, + args->value); +break ; +case I915_CONTEXT_PARAM_NO_ZEROMAP :case I915_CONTEXT_PARAM_BAN_PERIOD :case I915_CONTEXT_PARAM_RINGSIZE :
@@ -955,6 +996,8 @@ static void i915_gem_context_release_work(struct work_struct *work) vm = ctx->vm;if (vm)i915_vm_put (vm); +if (ctx->pxp_wakeref) +intel_runtime_pm_put (&ctx->i915->runtime_pm, ctx->pxp_wakeref);mutex_destroy (&ctx->engines_mutex);mutex_destroy (&ctx->lut_mutex);
@@ -1338,6 +1381,11 @@ i915_gem_create_context(struct drm_i915_private *i915, goto err_engines; } +if (pc->uses_protected_content) { + ctx->pxp_wakeref =intel_runtime_pm_get (&i915->runtime_pm); + ctx->uses_protected_content = true; + } +trace_i915_context_create (ctx);return ctx;
@@ -1409,7 +1457,7 @@ int i915_gem_context_open(struct drm_i915_private *i915, } ctx =i915_gem_create_context (i915, pc); -proto_context_close (pc); +proto_context_close (i915, pc);if (IS_ERR (ctx)) { err =PTR_ERR (ctx); goto err;
@@ -1436,7 +1484,7 @@ void i915_gem_context_close(struct drm_file *file)unsigned long idx;xa_for_each (&file_priv->proto_context_xa, idx, pc) -proto_context_close (pc); +proto_context_close (file_priv->dev_priv, pc);xa_destroy (&file_priv->proto_context_xa);mutex_destroy (&file_priv->proto_context_lock);
@@ -1731,6 +1779,15 @@ static int set_priority(struct i915_gem_context *ctx,return 0 ; } +static int get_protected (struct i915_gem_context *ctx, +struct drm_i915_gem_context_param *args) +{ + args->size =0 ; + args->value =i915_gem_context_uses_protected_content (ctx); + +return 0 ; +} +static int ctx_setparam (struct drm_i915_file_private *fpriv,struct i915_gem_context *ctx,struct drm_i915_gem_context_param *args)
@@ -1754,6 +1811,8 @@ static int ctx_setparam(struct drm_i915_file_private *fpriv, ret = -EPERM ; else if (args->value) i915_gem_context_set_bannable(ctx); + else if (i915_gem_context_uses_protected_content(ctx)) + ret = -EPERM ;/* can't clear this for protected contexts */ elsei915_gem_context_clear_bannable (ctx );break ;
@@ -1761,10 +1820,12 @@ static int ctx_setparam(struct drm_i915_file_private *fpriv,case I915_CONTEXT_PARAM_RECOVERABLE :if (args->size) ret = -EINVAL ; -else if (args->value) -i915_gem_context_set_recoverable (ctx); -else +else if (!args->value)i915_gem_context_clear_recoverable (ctx); +else if (i915_gem_context_uses_protected_content (ctx)) + ret = -EPERM ;/* can't set this for protected contexts */ +else +i915_gem_context_set_recoverable (ctx);break ;case I915_CONTEXT_PARAM_PRIORITY :
@@ -1779,6 +1840,7 @@ static int ctx_setparam(struct drm_i915_file_private *fpriv, ret =set_persistence (ctx, args);break ; +case I915_CONTEXT_PARAM_PROTECTED_CONTENT :case I915_CONTEXT_PARAM_NO_ZEROMAP :case I915_CONTEXT_PARAM_BAN_PERIOD :case I915_CONTEXT_PARAM_RINGSIZE :
@@ -1857,7 +1919,7 @@ finalize_create_context_locked(struct drm_i915_file_private *file_priv, old =xa_erase (&file_priv->proto_context_xa, id);GEM_BUG_ON (old != pc); -proto_context_close (pc); +proto_context_close (file_priv->dev_priv, pc);/* One for the xarray and one for the caller */ return i915_gem_context_get (ctx);
@@ -1943,7 +2005,7 @@ int i915_gem_context_create_ioctl(struct drm_device *dev, void *data, goto err_pc; } -proto_context_close (ext_data.pc); +proto_context_close (i915, ext_data.pc);gem_context_register (ctx, ext_data.fpriv, id); }else { ret =proto_context_register (ext_data.fpriv, ext_data.pc, &id);
@@ -1957,7 +2019,7 @@ int i915_gem_context_create_ioctl(struct drm_device *dev, void *data,return 0 ; err_pc: -proto_context_close (ext_data.pc); +proto_context_close (i915, ext_data.pc);return ret; }
@@ -1988,7 +2050,7 @@ int i915_gem_context_destroy_ioctl(struct drm_device *dev, void *data,GEM_WARN_ON (ctx && pc);if (pc) -proto_context_close (pc); +proto_context_close (file_priv->dev_priv, pc);if (ctx)context_close (ctx);
@@ -2106,6 +2168,10 @@ int i915_gem_context_getparam_ioctl(struct drm_device *dev, void *data, args->value =i915_gem_context_is_persistent (ctx);break ; +case I915_CONTEXT_PARAM_PROTECTED_CONTENT : + ret =get_protected (ctx, args); +break ; +case I915_CONTEXT_PARAM_NO_ZEROMAP :case I915_CONTEXT_PARAM_BAN_PERIOD :case I915_CONTEXT_PARAM_ENGINES :
drivers/gpu/drm/i915/gem/i915_gem_context.h +6 -0
@@ -108,6 +108,12 @@ i915_gem_context_clear_user_engines(struct i915_gem_context *ctx)clear_bit (CONTEXT_USER_ENGINES , &ctx->flags); } +static inline bool +i915_gem_context_uses_protected_content (const struct i915_gem_context *ctx) +{ +return ctx->uses_protected_content; +} +/* i915_gem_context.c */ void i915_gem_init__contexts (struct drm_i915_private *i915);
drivers/gpu/drm/i915/gem/i915_gem_context_types.h +28 -0
@@ -198,6 +198,12 @@ struct i915_gem_proto_context {/** @single_timeline: See See &i915_gem_context.syncobj */ bool single_timeline; + +/** @uses_protected_content: See &i915_gem_context.uses_protected_content */ +bool uses_protected_content; + +/** @pxp_wakeref: See &i915_gem_context.pxp_wakeref */ +intel_wakeref_t pxp_wakeref; };/**
@@ -321,6 +327,28 @@ struct i915_gem_context {#define CONTEXT_CLOSED 0#define CONTEXT_USER_ENGINES 1 +/** +* @uses_protected_content: context uses PXP-encrypted objects. +* +* This flag can only be set at ctx creation time and it's immutable for +* the lifetime of the context. See I915_CONTEXT_PARAM_PROTECTED_CONTENT +* in uapi/drm/i915_drm.h for more info on setting restrictions and +* expected behaviour of marked contexts. +*/ +bool uses_protected_content; + +/** +* @pxp_wakeref: wakeref to keep the device awake when PXP is in use +* +* PXP sessions are invalidated when the device is suspended, which in +* turns invalidates all contexts and objects using it. To keep the +* flow simple, we keep the device awake when contexts using PXP objects +* are in use. It is expected that the userspace application only uses +* PXP when the display is on, so taking a wakeref here shouldn't worsen +* our power metrics. +*/ +intel_wakeref_t pxp_wakeref; +/** @mutex: guards everything that isn't engines or handles_vma */ struct mutex mutex;
drivers/gpu/drm/i915/gem/i915_gem_create.c +54 -18
116 lines not on this page · raw message
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +18 -0
@@ -21,6 +21,8 @@#include "gt/intel_gt_pm.h" #include "gt/intel_ring.h" +#include "pxp/intel_pxp.h" +#include "i915_drv.h" #include "i915_gem_clflush.h" #include "i915_gem_context.h"
@@ -821,6 +823,22 @@ static struct i915_vma *eb_lookup_vma(struct i915_execbuffer *eb, u32 handle)if (unlikely (!obj))return ERR_PTR (-ENOENT ); +/* +* If the user has opted-in for protected-object tracking, make +* sure the object encryption can be used. +* We only need to do this when the object is first used with +* this context, because the context itself will be banned when +* the protected objects become invalid. +*/ +if (i915_gem_context_uses_protected_content (eb->gem_context) && +i915_gem_object_is_protected (obj)) { + err =intel_pxp_key_check (&vm->gt->pxp, obj); +if (err) { +i915_gem_object_put (obj); +return ERR_PTR (err); + } + } + vma =i915_vma_instance (obj, vm,NULL );if (IS_ERR (vma)) {i915_gem_object_put (obj);
drivers/gpu/drm/i915/gem/i915_gem_object.c +1 -0
@@ -25,6 +25,7 @@#include <linux/sched/mm.h> #include "display/intel_frontbuffer.h" +#include "pxp/intel_pxp.h" #include "i915_drv.h" #include "i915_gem_clflush.h" #include "i915_gem_context.h"
drivers/gpu/drm/i915/gem/i915_gem_object.h +6 -0
@@ -269,6 +269,12 @@ i915_gem_object_clear_tiling_quirk(struct drm_i915_gem_object *obj)clear_bit (I915_TILING_QUIRK_BIT , &obj->flags); } +static inline bool +i915_gem_object_is_protected (const struct drm_i915_gem_object *obj) +{ +return obj->flags &I915_BO_PROTECTED ; +} +static inline bool i915_gem_object_type_has (const struct drm_i915_gem_object *obj,unsigned long flags)
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +8 -0
@@ -298,6 +298,7 @@ struct drm_i915_gem_object { I915_BO_ALLOC_USER)#define I915_BO_READONLY BIT(4)#define I915_TILING_QUIRK_BIT 5/* unknown swizzling; do not release! */ +#define I915_BO_PROTECTED BIT(6)/** * @mem_flags - Mutable placement-related flags
@@ -537,6 +538,13 @@ struct drm_i915_gem_object { bool created:1; } ttm; +/* +* Record which PXP key instance this object was created against (if +* any), so we can use it to determine if the encryption is valid by +* comparing against the current key instance. +*/ +u32 pxp_key_instance; +/** Record of address bit 17 of each page at last unbind. */ unsigned long *bit_17;
drivers/gpu/drm/i915/gem/selftests/mock_context.c +2 -2
@@ -88,7 +88,7 @@ live_context(struct drm_i915_private *i915, struct file *file)return ERR_CAST (pc); ctx =i915_gem_create_context (i915, pc); -proto_context_close (pc); +proto_context_close (i915, pc);if (IS_ERR (ctx))return ctx;
@@ -163,7 +163,7 @@ kernel_context(struct drm_i915_private *i915, } ctx =i915_gem_create_context (i915, pc); -proto_context_close (pc); +proto_context_close (i915, pc);if (IS_ERR (ctx))return ctx;
drivers/gpu/drm/i915/pxp/intel_pxp.c +78 -0
87 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp.h +12 -0
@@ -8,6 +8,8 @@#include "intel_pxp_types.h" +struct drm_i915_gem_object ; +static inline bool intel_pxp_is_enabled (const struct intel_pxp *pxp) {return pxp->ce;
@@ -25,6 +27,10 @@ void intel_pxp_fini_hw(struct intel_pxp *pxp);void intel_pxp_mark_termination_in_progress (struct intel_pxp *pxp);int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp); + +int intel_pxp_key_check (struct intel_pxp *pxp,struct drm_i915_gem_object *obj); + +void intel_pxp_invalidate (struct intel_pxp *pxp);#else static inline void intel_pxp_init (struct intel_pxp *pxp) {
@@ -38,6 +44,12 @@ static inline int intel_pxp_wait_for_arb_start(struct intel_pxp *pxp) {return -ENODEV ; } + +static inline int intel_pxp_key_check (struct intel_pxp *pxp, +struct drm_i915_gem_object *obj) +{ +return -ENODEV ; +}#endif #endif /* __INTEL_PXP_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_session.c +6 -0
@@ -72,6 +72,9 @@ static int pxp_create_arb_session(struct intel_pxp *pxp)return ret; } +if (!++pxp->key_instance) + ++pxp->key_instance; + pxp->arb_is_valid = true;return 0 ;
@@ -85,6 +88,9 @@ static int pxp_terminate_arb_session_and_global(struct intel_pxp *pxp)/* must mark termination in progress calling this function */ GEM_WARN_ON (pxp->arb_is_valid); +/* invalidate protected objects */ +intel_pxp_invalidate (pxp); +/* terminate the hw sessions */ ret =intel_pxp_terminate_session (pxp,ARB_SESSION );if (ret) {
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +9 -0
@@ -7,7 +7,9 @@#define __INTEL_PXP_TYPES_H__#include <linux/completion.h> +#include <linux/list.h> #include <linux/mutex.h> +#include <linux/spinlock.h> #include <linux/types.h> #include <linux/workqueue.h>
@@ -27,6 +29,13 @@ struct intel_pxp {*/ bool arb_is_valid; +/* +* Keep track of which key instance we're on, so we can use it to +* determine if an object was created using the current key or a +* previous one. +*/ +u32 key_instance; +struct mutex tee_mutex;/* protects the tee channel binding */ /*
include/uapi/drm/i915_drm.h +95 -1
121 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v11 11/17 drm/i915/pxp: start the arb session on demand
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
Now that we can handle destruction and re-creation of the arb session, we can postpone the start of the session to the first submission that requires it, to avoid keeping it running with no user.
v10: increase timeout when waiting in intel_pxp_start as firmware
session startup is slower right after boot.
--- drivers/gpu/drm/i915/gem/i915_gem_context.c | 4 ++- drivers/gpu/drm/i915/pxp/intel_pxp.c | 37 +++++++++++++------- drivers/gpu/drm/i915/pxp/intel_pxp.h | 10 ++++-- drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 2 +- drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 6 ++-- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 10 +----- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 2 ++ 7 files changed, 42 insertions(+), 29 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_context.c +3 -1
@@ -267,7 +267,9 @@ static int proto_context_set_protected(struct drm_i915_private *i915,* which in turn requires the device to be active. */ pc->pxp_wakeref =intel_runtime_pm_get (&i915->runtime_pm); - ret =intel_pxp_wait_for_arb_start (&i915->gt.pxp); + +if (!intel_pxp_is_active (&i915->gt.pxp)) + ret =intel_pxp_start (&i915->gt.pxp); }return ret;
drivers/gpu/drm/i915/pxp/intel_pxp.c +24 -13
@@ -90,6 +90,7 @@ void intel_pxp_init(struct intel_pxp *pxp)init_completion (&pxp->termination);complete_all (&pxp->termination); +mutex_init (&pxp->arb_mutex);INIT_WORK (&pxp->session_work, intel_pxp_session_work); ret =create_vcs_context (pxp);
@@ -126,7 +127,7 @@ void intel_pxp_mark_termination_in_progress(struct intel_pxp *pxp)reinit_completion (&pxp->termination); } -static void intel_pxp_queue_termination (struct intel_pxp *pxp) +static void pxp_queue_termination (struct intel_pxp *pxp) {struct intel_gt *gt =pxp_to_gt (pxp);
@@ -145,31 +146,41 @@ static void intel_pxp_queue_termination(struct intel_pxp *pxp)* the arb session is restarted from the irq work when we receive the * termination completion interrupt */ -int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp) +int intel_pxp_start (struct intel_pxp *pxp) { +int ret =0 ; +if (!intel_pxp_is_enabled (pxp)) -return 0 ; +return -ENODEV ; + +mutex_lock (&pxp->arb_mutex); + +if (pxp->arb_is_valid) + goto unlock; + +pxp_queue_termination (pxp);if (!wait_for_completion_timeout (&pxp->termination, -msecs_to_jiffies (100 ))) -return -ETIMEDOUT ; +msecs_to_jiffies (200 ))) { + ret = -ETIMEDOUT ; + goto unlock; + } + +/* make sure the compiler doesn't optimize the double access */ +barrier ();if (!pxp->arb_is_valid) -return -EIO ; + ret = -EIO ; -return 0 ; +unlock: +mutex_unlock (&pxp->arb_mutex); +return ret; }void intel_pxp_init_hw (struct intel_pxp *pxp) {kcr_pxp_enable (pxp_to_gt (pxp));intel_pxp_irq_enable (pxp); - -/* -* the session could've been attacked while we weren't loaded, so -* handle it as if it was and re-create it. -*/ -intel_pxp_queue_termination (pxp); }void intel_pxp_fini_hw (struct intel_pxp *pxp)
drivers/gpu/drm/i915/pxp/intel_pxp.h +8 -2
@@ -26,7 +26,8 @@ void intel_pxp_init_hw(struct intel_pxp *pxp);void intel_pxp_fini_hw (struct intel_pxp *pxp);void intel_pxp_mark_termination_in_progress (struct intel_pxp *pxp); -int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp); + +int intel_pxp_start (struct intel_pxp *pxp);int intel_pxp_key_check (struct intel_pxp *pxp,struct drm_i915_gem_object *obj);
@@ -40,11 +41,16 @@ static inline void intel_pxp_fini(struct intel_pxp *pxp) { } -static inline int intel_pxp_wait_for_arb_start (struct intel_pxp *pxp) +static inline int intel_pxp_start (struct intel_pxp *pxp) {return -ENODEV ; } +static inline bool intel_pxp_is_active (const struct intel_pxp *pxp) +{ +return false; +} +static inline int intel_pxp_key_check (struct intel_pxp *pxp,struct drm_i915_gem_object *obj) {
drivers/gpu/drm/i915/pxp/intel_pxp_irq.c +1 -1
@@ -32,7 +32,7 @@ void intel_pxp_irq_handler(struct intel_pxp *pxp, u16 iir) GEN12_DISPLAY_APP_TERMINATED_PER_FW_REQ_INTERRUPT)) {/* immediately mark PXP as inactive on termination */ intel_pxp_mark_termination_in_progress (pxp ); - pxp->session_events |=PXP_TERMINATION_REQUEST ; + pxp->session_events |=PXP_TERMINATION_REQUEST |PXP_INVAL_REQUIRED ; }if (iir &GEN12_DISPLAY_STATE_RESET_COMPLETE_INTERRUPT )
drivers/gpu/drm/i915/pxp/intel_pxp_session.c +3 -3
@@ -88,9 +88,6 @@ static int pxp_terminate_arb_session_and_global(struct intel_pxp *pxp)/* must mark termination in progress calling this function */ GEM_WARN_ON (pxp->arb_is_valid); -/* invalidate protected objects */ -intel_pxp_invalidate (pxp); -/* terminate the hw sessions */ ret =intel_pxp_terminate_session (pxp,ARB_SESSION );if (ret) {
@@ -147,6 +144,9 @@ void intel_pxp_session_work(struct work_struct *work)if (!events)return ; +if (events &PXP_INVAL_REQUIRED ) +intel_pxp_invalidate (pxp); +if (events &PXP_TERMINATION_REQUEST ) { events &= ~PXP_TERMINATION_COMPLETE ;pxp_terminate (pxp);
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +1 -9
@@ -78,9 +78,7 @@ static int intel_pxp_tee_io_message(struct intel_pxp *pxp,static int i915_pxp_tee_component_bind (struct device *i915_kdev,struct device *tee_kdev,void *data) { -struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev);struct intel_pxp *pxp =i915_dev_to_pxp (i915_kdev); -int ret;mutex_lock (&pxp->tee_mutex); pxp->pxp_component = data;
@@ -89,14 +87,8 @@ static int i915_pxp_tee_component_bind(struct device *i915_kdev,/* the component is required to fully start the PXP HW */ intel_pxp_init_hw (pxp); - ret =intel_pxp_wait_for_arb_start (pxp); -if (ret) { -drm_err (&i915->drm,"Failed to create arb session during bind\n" ); -intel_pxp_fini_hw (pxp); - pxp->pxp_component =NULL ; - } -return ret; +return 0 ; } static void i915_pxp_tee_component_unbind(struct device *i915_kdev,
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +2 -0
@@ -27,6 +27,7 @@ struct intel_pxp {* even if the keys are gone, so we can't rely on the HW state of the * session to know if it's valid and need to track the status in SW. */ +struct mutex arb_mutex;/* protects arb session start */ bool arb_is_valid;/*
@@ -53,6 +54,7 @@ struct intel_pxp {u32 session_events;/* protected with gt->irq_lock */ #define PXP_TERMINATION_REQUEST BIT(0)#define PXP_TERMINATION_COMPLETE BIT(1) +#define PXP_INVAL_REQUIRED BIT(2) };#endif /* __INTEL_PXP_TYPES_H__ */
Signature · 1 line
2.25.1
PATCH v11 12/17 drm/i915/pxp: Enable PXP power management
In reply to Alan PrevinFrom: "Huang, Sean Z" <[email protected]>
During the power event S3+ sleep/resume, hardware will lose all the encryption keys for every hardware session, even though the session state might still be marked as alive after resume. Therefore, we should consider the session as dead on suspend and invalidate all the objects. The session will be automatically restarted on the first protected submission on resume.
v2: runtime suspend also invalidates the keys
v3: fix return codes, simplify rpm ops (Chris), use the new worker func
v4: invalidate the objects on suspend, don't re-create the arb sesson on resume (delayed to first submission).
v5: move irq changes back to irq patch (Rodrigo)
v6: drop invalidation in runtime suspend (Rodrigo)
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt_pm.c | 15 ++++++- drivers/gpu/drm/i915/i915_drv.c | 2 + drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 1 + drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 46 ++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_pm.h | 24 ++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 38 +++++++++++----- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 9 ++++ 8 files changed, 125 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -285,6 +285,7 @@ i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ pxp/intel_pxp_cmd.o \ pxp/intel_pxp_irq.o \ + pxp/intel_pxp_pm.o \ pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.o
drivers/gpu/drm/i915/gt/intel_gt_pm.c +14 -1
@@ -18,6 +18,7 @@#include "intel_rc6.h" #include "intel_rps.h" #include "intel_wakeref.h" +#include "pxp/intel_pxp_pm.h" static void user_forcewake (struct intel_gt *gt,bool suspend) {
@@ -262,6 +263,8 @@ int intel_gt_resume(struct intel_gt *gt)intel_uc_resume (>->uc); +intel_pxp_resume (>->pxp); +user_forcewake (gt, false); out_fw:
@@ -296,6 +299,7 @@ void intel_gt_suspend_prepare(struct intel_gt *gt)user_forcewake (gt, true);wait_for_suspend (gt); +intel_pxp_suspend (>->pxp, false);intel_uc_suspend (>->uc); }
@@ -346,6 +350,7 @@ void intel_gt_suspend_late(struct intel_gt *gt)void intel_gt_runtime_suspend (struct intel_gt *gt) { +intel_pxp_suspend (>->pxp, true);intel_uc_runtime_suspend (>->uc);GT_TRACE (gt,"\n" );
@@ -353,11 +358,19 @@ void intel_gt_runtime_suspend(struct intel_gt *gt)int intel_gt_runtime_resume (struct intel_gt *gt) { +int ret; +GT_TRACE (gt,"\n" );intel_gt_init_swizzling (gt);intel_ggtt_restore_fences (gt->ggtt); -return intel_uc_runtime_resume (>->uc); + ret =intel_uc_runtime_resume (>->uc); +if (ret) +return ret; + +intel_pxp_resume (>->pxp); + +return 0 ; }static ktime_t __intel_gt_get_awake_time (const struct intel_gt *gt)
drivers/gpu/drm/i915/i915_drv.c +2 -0
@@ -67,6 +67,8 @@#include "gt/intel_gt_pm.h" #include "gt/intel_rc6.h" +#include "pxp/intel_pxp_pm.h" +#include "i915_debugfs.h" #include "i915_drv.h" #include "i915_ioc32.h"
drivers/gpu/drm/i915/pxp/intel_pxp_irq.c +1 -0
@@ -10,6 +10,7 @@#include "gt/intel_gt_types.h" #include "i915_irq.h" #include "i915_reg.h" +#include "intel_runtime_pm.h" /** * intel_pxp_irq_handler - Handles PXP interrupts.
drivers/gpu/drm/i915/pxp/intel_pxp_pm.c new file +46 -0
46 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_pm.h new file +24 -0
@@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_PM_H__ +#define __INTEL_PXP_PM_H__ + +#include "intel_pxp_types.h" + +#ifdef CONFIG_DRM_I915_PXP +void intel_pxp_suspend (struct intel_pxp *pxp,bool runtime); +void intel_pxp_resume (struct intel_pxp *pxp); +#else +static inline void intel_pxp_suspend (struct intel_pxp *pxp,bool runtime) +{ +} + +static inline void intel_pxp_resume (struct intel_pxp *pxp) +{ +} +#endif + +#endif /* __INTEL_PXP_PM_H__ */
drivers/gpu/drm/i915/pxp/intel_pxp_session.c +28 -10
@@ -21,29 +21,36 @@static bool intel_pxp_session_is_in_play (struct intel_pxp *pxp,u32 id) { -struct intel_gt *gt =pxp_to_gt (pxp); +struct intel_uncore *uncore =pxp_to_gt (pxp)->uncore;intel_wakeref_t wakeref;u32 sip =0 ; -with_intel_runtime_pm (gt->uncore->rpm, wakeref) - sip = intel_uncore_read(gt->uncore, GEN12_KCR_SIP); +/* if we're suspended the session is considered off */ +with_intel_runtime_pm_if_in_use (uncore->rpm, wakeref) + sip = intel_uncore_read(uncore, GEN12_KCR_SIP);return sip &BIT (id); }static int pxp_wait_for_session_state (struct intel_pxp *pxp,u32 id,bool in_play) { -struct intel_gt *gt =pxp_to_gt (pxp); +struct intel_uncore *uncore =pxp_to_gt (pxp)->uncore;intel_wakeref_t wakeref;u32 mask =BIT (id);int ret; -with_intel_runtime_pm (gt->uncore->rpm, wakeref) - ret = intel_wait_for_register(gt->uncore, -GEN12_KCR_SIP , - mask, - in_play ? mask :0 , -100 ); +/* if we're suspended the session is considered off */ + wakeref =intel_runtime_pm_get_if_in_use (uncore->rpm); +if (!wakeref) +return in_play ? -ENODEV :0 ; + + ret =intel_wait_for_register (uncore, +GEN12_KCR_SIP , + mask, + in_play ? mask :0 , +100 ); + +intel_runtime_pm_put (uncore->rpm, wakeref);return ret; }
@@ -135,6 +142,7 @@ void intel_pxp_session_work(struct work_struct *work) {struct intel_pxp *pxp =container_of (work,typeof (*pxp), session_work);struct intel_gt *gt =pxp_to_gt (pxp); +intel_wakeref_t wakeref;u32 events =0 ;spin_lock_irq (>->irq_lock);
@@ -147,6 +155,14 @@ void intel_pxp_session_work(struct work_struct *work)if (events &PXP_INVAL_REQUIRED )intel_pxp_invalidate (pxp); +/* +* If we're processing an event while suspending then don't bother, +* we're going to re-init everything on resume anyway. +*/ + wakeref =intel_runtime_pm_get_if_in_use (gt->uncore->rpm); +if (!wakeref) +return ; +if (events &PXP_TERMINATION_REQUEST ) { events &= ~PXP_TERMINATION_COMPLETE ;pxp_terminate (pxp);
@@ -154,4 +170,6 @@ void intel_pxp_session_work(struct work_struct *work)if (events &PXP_TERMINATION_COMPLETE )pxp_terminate_complete (pxp); + +intel_runtime_pm_put (gt->uncore->rpm, wakeref); }
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +9 -0
@@ -78,16 +78,25 @@ static int intel_pxp_tee_io_message(struct intel_pxp *pxp,static int i915_pxp_tee_component_bind (struct device *i915_kdev,struct device *tee_kdev,void *data) { +struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev);struct intel_pxp *pxp =i915_dev_to_pxp (i915_kdev); +intel_wakeref_t wakeref;mutex_lock (&pxp->tee_mutex); pxp->pxp_component = data; pxp->pxp_component->tee_dev = tee_kdev;mutex_unlock (&pxp->tee_mutex); +/* if we are suspended, the HW will be re-initialized on resume */ + wakeref =intel_runtime_pm_get_if_in_use (&i915->runtime_pm); +if (!wakeref) +return 0 ; +/* the component is required to fully start the PXP HW */ intel_pxp_init_hw (pxp); +intel_runtime_pm_put (&i915->runtime_pm, wakeref); +return 0 ; }
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v11 12/17] drm/i915/pxp: Enable PXP power management
I forgot to add the RVB that Rodrigo provided for this patch at Rev7. Adding in reply for pw pickup:
Quoted 324 lines · Alan Previn
From: "Huang, Sean Z" <[email protected]>
During the power event S3+ sleep/resume, hardware will lose all the encryption keys for every hardware session, even though the session state might still be marked as alive after resume. Therefore, we should consider the session as dead on suspend and invalidate all the objects. The session will be automatically restarted on the first protected submission on resume.
v2: runtime suspend also invalidates the keys
v3: fix return codes, simplify rpm ops (Chris), use the new worker func
v4: invalidate the objects on suspend, don't re-create the arb sesson on resume (delayed to first submission).
v5: move irq changes back to irq patch (Rodrigo)
v6: drop invalidation in runtime suspend (Rodrigo)Signed-off-by Huang, Sean Z <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Cc Chris Wilson <[email protected]>Cc Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt_pm.c | 15 ++++++- drivers/gpu/drm/i915/i915_drv.c | 2 + drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 1 + drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 46 ++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_pm.h | 24 ++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_session.c | 38 +++++++++++----- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 9 ++++ 8 files changed, 125 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_pm.hdrivers/gpu/drm/i915/Makefile +1
-0@@ -285,6 +285,7 @@ i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ pxp/intel_pxp_cmd.o \ pxp/intel_pxp_irq.o \ + pxp/intel_pxp_pm.o \ pxp/intel_pxp_session.o \ pxp/intel_pxp_tee.odrivers/gpu/drm/i915/gt/intel_gt_pm.c +14
-1@@ -18,6 +18,7 @@#include "intel_rc6.h" #include "intel_rps.h" #include "intel_wakeref.h" +#include "pxp/intel_pxp_pm.h" static void user_forcewake (struct intel_gt *gt,bool suspend) {@@ -262,6 +263,8 @@ int intel_gt_resume(struct intel_gt *gt)intel_uc_resume (>->uc); +intel_pxp_resume (>->pxp); +user_forcewake (gt, false); out_fw:@@ -296,6 +299,7 @@ void intel_gt_suspend_prepare(struct intel_gt *gt)user_forcewake (gt, true);wait_for_suspend (gt); +intel_pxp_suspend (>->pxp, false);intel_uc_suspend (>->uc); }@@ -346,6 +350,7 @@ void intel_gt_suspend_late(struct intel_gt *gt)void intel_gt_runtime_suspend (struct intel_gt *gt) { +intel_pxp_suspend (>->pxp, true);intel_uc_runtime_suspend (>->uc);GT_TRACE (gt,"\n" );@@ -353,11 +358,19 @@ void intel_gt_runtime_suspend(struct intel_gt *gt)int intel_gt_runtime_resume (struct intel_gt *gt) { +int ret; +GT_TRACE (gt,"\n" );intel_gt_init_swizzling (gt);intel_ggtt_restore_fences (gt->ggtt); -return intel_uc_runtime_resume (>->uc); + ret =intel_uc_runtime_resume (>->uc); +if (ret) +return ret; + +intel_pxp_resume (>->pxp); + +return 0 ; }static ktime_t __intel_gt_get_awake_time (const struct intel_gt *gt)drivers/gpu/drm/i915/i915_drv.c +2
-0@@ -67,6 +67,8 @@#include "gt/intel_gt_pm.h" #include "gt/intel_rc6.h" +#include "pxp/intel_pxp_pm.h" +#include "i915_debugfs.h" #include "i915_drv.h" #include "i915_ioc32.h" drivers/gpu/drm/i915/pxp/intel_pxp_irq.c +1
-0@@ -10,6 +10,7 @@#include "gt/intel_gt_types.h" #include "i915_irq.h" #include "i915_reg.h" +#include "intel_runtime_pm.h" /** * intel_pxp_irq_handler - Handles PXP interrupts. drivers/gpu/drm/i915/pxp/intel_pxp_pm.c new file +46
-0@@ -0,0 +1,46 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright(c) 2020 Intel Corporation. +*/ + +#include "intel_pxp.h" +#include "intel_pxp_irq.h" +#include "intel_pxp_pm.h" +#include "intel_pxp_session.h" + +void intel_pxp_suspend (struct intel_pxp *pxp,bool runtime) +{ +if (!intel_pxp_is_enabled (pxp)) +return ; + + pxp->arb_is_valid = false; + +/* +* Contexts using protected objects keep a runtime PM reference, so we +* can only runtime suspend when all of them have been either closed +* or banned. Therefore, there is no need to invalidate in that +* scenario. +*/ +if (!runtime) +intel_pxp_invalidate (pxp); + +intel_pxp_fini_hw (pxp); + + pxp->hw_state_invalidated = false; +} + +void intel_pxp_resume (struct intel_pxp *pxp) +{ +if (!intel_pxp_is_enabled (pxp)) +return ; + +/* +* The PXP component gets automatically unbound when we go into S3 and +* re-bound after we come out, so in that scenario we can defer the +* hw init to the bind call. +*/ +if (!pxp->pxp_component) +return ; + +intel_pxp_init_hw (pxp); +}drivers/gpu/drm/i915/pxp/intel_pxp_pm.h new file +24
-0@@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright(c) 2020, Intel Corporation. All rights reserved. +*/ + +#ifndef __INTEL_PXP_PM_H__ +#define __INTEL_PXP_PM_H__ + +#include "intel_pxp_types.h" + +#ifdef CONFIG_DRM_I915_PXP +void intel_pxp_suspend (struct intel_pxp *pxp,bool runtime); +void intel_pxp_resume (struct intel_pxp *pxp); +#else +static inline void intel_pxp_suspend (struct intel_pxp *pxp,bool runtime) +{ +} + +static inline void intel_pxp_resume (struct intel_pxp *pxp) +{ +} +#endif + +#endif /* __INTEL_PXP_PM_H__ */ drivers/gpu/drm/i915/pxp/intel_pxp_session.c +28
-10@@ -21,29 +21,36 @@static bool intel_pxp_session_is_in_play (struct intel_pxp *pxp,u32 id) { -struct intel_gt *gt =pxp_to_gt (pxp); +struct intel_uncore *uncore =pxp_to_gt (pxp)->uncore;intel_wakeref_t wakeref;u32 sip =0 ; -with_intel_runtime_pm (gt->uncore->rpm, wakeref) - sip = intel_uncore_read(gt->uncore, GEN12_KCR_SIP); +/* if we're suspended the session is considered off */ +with_intel_runtime_pm_if_in_use (uncore->rpm, wakeref) + sip = intel_uncore_read(uncore, GEN12_KCR_SIP);return sip &BIT (id); }static int pxp_wait_for_session_state (struct intel_pxp *pxp,u32 id,bool in_play) { -struct intel_gt *gt =pxp_to_gt (pxp); +struct intel_uncore *uncore =pxp_to_gt (pxp)->uncore;intel_wakeref_t wakeref;u32 mask =BIT (id);int ret; -with_intel_runtime_pm (gt->uncore->rpm, wakeref) - ret = intel_wait_for_register(gt->uncore, -GEN12_KCR_SIP , - mask, - in_play ? mask :0 , -100 ); +/* if we're suspended the session is considered off */ + wakeref =intel_runtime_pm_get_if_in_use (uncore->rpm); +if (!wakeref) +return in_play ? -ENODEV :0 ; + + ret =intel_wait_for_register (uncore, +GEN12_KCR_SIP , + mask, + in_play ? mask :0 , +100 ); + +intel_runtime_pm_put (uncore->rpm, wakeref);return ret; }@@ -135,6 +142,7 @@ void intel_pxp_session_work(struct work_struct *work) {struct intel_pxp *pxp =container_of (work,typeof (*pxp), session_work);struct intel_gt *gt =pxp_to_gt (pxp); +intel_wakeref_t wakeref;u32 events =0 ;spin_lock_irq (>->irq_lock);@@ -147,6 +155,14 @@ void intel_pxp_session_work(struct work_struct *work)if (events &PXP_INVAL_REQUIRED )intel_pxp_invalidate (pxp); +/* +* If we're processing an event while suspending then don't bother, +* we're going to re-init everything on resume anyway. +*/ + wakeref =intel_runtime_pm_get_if_in_use (gt->uncore->rpm); +if (!wakeref) +return ; +if (events &PXP_TERMINATION_REQUEST ) { events &= ~PXP_TERMINATION_COMPLETE ;pxp_terminate (pxp);@@ -154,4 +170,6 @@ void intel_pxp_session_work(struct work_struct *work)if (events &PXP_TERMINATION_COMPLETE )pxp_terminate_complete (pxp); + +intel_runtime_pm_put (gt->uncore->rpm, wakeref); }drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +9
-0@@ -78,16 +78,25 @@ static int intel_pxp_tee_io_message(struct intel_pxp *pxp,static int i915_pxp_tee_component_bind (struct device *i915_kdev,struct device *tee_kdev,void *data) { +struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev);struct intel_pxp *pxp =i915_dev_to_pxp (i915_kdev); +intel_wakeref_t wakeref;mutex_lock (&pxp->tee_mutex); pxp->pxp_component = data; pxp->pxp_component->tee_dev = tee_kdev;mutex_unlock (&pxp->tee_mutex); +/* if we are suspended, the HW will be re-initialized on resume */ + wakeref =intel_runtime_pm_get_if_in_use (&i915->runtime_pm); +if (!wakeref) +return 0 ; +/* the component is required to fully start the PXP HW */ intel_pxp_init_hw (pxp); +intel_runtime_pm_put (&i915->runtime_pm, wakeref); +return 0 ; }Signature · 1 line
2.25.1
PATCH v11 13/17 drm/i915/pxp: Add plane decryption support
In reply to Alan PrevinFrom: Anshuman Gupta <[email protected]>
Add support to enable/disable PLANE_SURF Decryption Request bit. It requires only to enable plane decryption support when following condition met.
1. PXP session is enabled.
2. Buffer object is protected.
v2:
- Used gen fb obj user_flags instead gem_object_metadata. [Krishna]
v3:
- intel_pxp_gem_object_status() API changes.
v4: use intel_pxp_is_active (Daniele)
v5: rebase and use the new protected object status checker (Daniele)
v6: used plane state for plane_decryption to handle async flip
as suggested by Ville.
v7: check pxp session while plane decrypt state computation. [Ville]
removed pointless code. [Ville]
v8 (Daniele): update PXP check
v9: move decrypt check after icl_check_nv12_planes() when overlays
have fb set (Juston)
v10 (Daniele): update PXP check again to match rework in earlier patches and don't consider protection valid if the object has not been used in an execbuf beforehand.
--- drivers/gpu/drm/i915/display/intel_display.c | 26 +++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 3 +++ .../drm/i915/display/skl_universal_plane.c | 15 ++++++++--- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/pxp/intel_pxp.c | 9 ++++--- drivers/gpu/drm/i915/pxp/intel_pxp.h | 7 +++-- 7 files changed, 54 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +26 -0
@@ -71,6 +71,8 @@#include "gt/intel_rps.h" #include "gt/gen8_ppgtt.h" +#include "pxp/intel_pxp.h" +#include "g4x_dp.h" #include "g4x_hdmi.h" #include "i915_drv.h"
@@ -9000,13 +9002,23 @@ static int intel_bigjoiner_add_affected_planes(struct intel_atomic_state *state)return 0 ; } +static bool bo_has_valid_encryption (struct drm_i915_gem_object *obj) +{ +struct drm_i915_private *i915 =to_i915 (obj->base.dev); + +return intel_pxp_key_check (&i915->gt.pxp, obj, false) ==0 ; +} +static int intel_atomic_check_planes (struct intel_atomic_state *state) {struct drm_i915_private *dev_priv =to_i915 (state->base.dev);struct intel_crtc_state *old_crtc_state, *new_crtc_state;struct intel_plane_state *plane_state;struct intel_plane *plane; +struct intel_plane_state *new_plane_state; +struct intel_plane_state *old_plane_state;struct intel_crtc *crtc; +const struct drm_framebuffer *fb;int i, ret; ret =icl_add_linked_planes (state);
@@ -9054,6 +9066,16 @@ static int intel_atomic_check_planes(struct intel_atomic_state *state)return ret; } +for_each_new_intel_plane_in_state (state, plane, plane_state, i) { + new_plane_state =intel_atomic_get_new_plane_state (state, plane); + old_plane_state =intel_atomic_get_old_plane_state (state, plane); + fb = new_plane_state->hw.fb; +if (fb) + new_plane_state->decrypt =bo_has_valid_encryption (intel_fb_obj (fb)); +else + new_plane_state->decrypt = old_plane_state->decrypt; + } +return 0 ; }
@@ -9340,6 +9362,10 @@ static int intel_atomic_check_async(struct intel_atomic_state *state)drm_dbg_kms (&i915->drm,"Color range cannot be changed in async flip\n" );return -EINVAL ; } + +/* plane decryption is allow to change only in synchronous flips */ +if (old_plane_state->decrypt != new_plane_state->decrypt) +return -EINVAL ; }return 0 ;
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
@@ -625,6 +625,9 @@ struct intel_plane_state {struct intel_fb_view view; +/* Plane pxp decryption state */ +bool decrypt; +/* plane control register */ u32 ctl;
drivers/gpu/drm/i915/display/skl_universal_plane.c +12 -3
@@ -18,6 +18,7 @@#include "intel_sprite.h" #include "skl_scaler.h" #include "skl_universal_plane.h" +#include "pxp/intel_pxp.h" static const u32 skl_plane_formats[] = {DRM_FORMAT_C8 ,
@@ -1024,7 +1025,7 @@ skl_program_plane(struct intel_plane *plane,u8 alpha = plane_state->hw.alpha >>8 ;u32 plane_color_ctl =0 , aux_dist =0 ;unsigned long irqflags; -u32 keymsk, keymax; +u32 keymsk, keymax, plane_surf;u32 plane_ctl = plane_state->ctl; plane_ctl |=skl_plane_ctl_crtc (crtc_state);
@@ -1113,8 +1114,16 @@ skl_program_plane(struct intel_plane *plane,* the control register just before the surface register. */ intel_de_write_fw (dev_priv,PLANE_CTL (pipe, plane_id), plane_ctl); -intel_de_write_fw (dev_priv,PLANE_SURF (pipe, plane_id), -intel_plane_ggtt_offset (plane_state) + surf_addr); + plane_surf =intel_plane_ggtt_offset (plane_state) + surf_addr; + +/* +* FIXME: pxp session invalidation can hit any time even at time of commit +* or after the commit, display content will be garbage. +*/ +if (plane_state->decrypt) + plane_surf |=PLANE_SURF_DECRYPT ; + +intel_de_write_fw (dev_priv,PLANE_SURF (pipe, plane_id), plane_surf);spin_unlock_irqrestore (&dev_priv->uncore.lock, irqflags); }
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1 -1
@@ -832,7 +832,7 @@ static struct i915_vma *eb_lookup_vma(struct i915_execbuffer *eb, u32 handle)*/ if (i915_gem_context_uses_protected_content (eb->gem_context) &&i915_gem_object_is_protected (obj)) { - err =intel_pxp_key_check (&vm->gt->pxp, obj); + err =intel_pxp_key_check (&vm->gt->pxp, obj, true);if (err) {i915_gem_object_put (obj);return ERR_PTR (err);
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -7376,6 +7376,7 @@ enum {#define _PLANE_SURF_3 (pipe) _PIPE(pipe, _PLANE_SURF_3_A, _PLANE_SURF_3_B)#define PLANE_SURF (pipe, plane) \ _MMIO_PLANE(plane, _PLANE_SURF_1(pipe), _PLANE_SURF_2(pipe)) +#define PLANE_SURF_DECRYPT REG_BIT(2)#define _PLANE_OFFSET_1_B 0x711a4#define _PLANE_OFFSET_2_B 0x712a4
drivers/gpu/drm/i915/pxp/intel_pxp.c +6 -3
@@ -190,7 +190,9 @@ void intel_pxp_fini_hw(struct intel_pxp *pxp)intel_pxp_irq_disable (pxp); } -int intel_pxp_key_check (struct intel_pxp *pxp,struct drm_i915_gem_object *obj) +int intel_pxp_key_check (struct intel_pxp *pxp, +struct drm_i915_gem_object *obj, +bool assign) {if (!intel_pxp_is_active (pxp))return -ENODEV ;
@@ -206,9 +208,10 @@ int intel_pxp_key_check(struct intel_pxp *pxp, struct drm_i915_gem_object *obj)* as such. If the object is already encrypted, check instead if the * used key is still valid. */ -if (!obj->pxp_key_instance) +if (!obj->pxp_key_instance && assign) obj->pxp_key_instance = pxp->key_instance; -else if (obj->pxp_key_instance != pxp->key_instance) + +if (obj->pxp_key_instance != pxp->key_instance)return -ENOEXEC ;return 0 ;
drivers/gpu/drm/i915/pxp/intel_pxp.h +5 -2
@@ -29,7 +29,9 @@ void intel_pxp_mark_termination_in_progress(struct intel_pxp *pxp);int intel_pxp_start (struct intel_pxp *pxp); -int intel_pxp_key_check (struct intel_pxp *pxp,struct drm_i915_gem_object *obj); +int intel_pxp_key_check (struct intel_pxp *pxp, +struct drm_i915_gem_object *obj, +bool assign);void intel_pxp_invalidate (struct intel_pxp *pxp);#else
@@ -52,7 +54,8 @@ static inline bool intel_pxp_is_active(const struct intel_pxp *pxp) }static inline int intel_pxp_key_check (struct intel_pxp *pxp, -struct drm_i915_gem_object *obj) +struct drm_i915_gem_object *obj, +bool assign) {return -ENODEV ; }
Signature · 1 line
2.25.1
PATCH v11 14/17 drm/i915/pxp: black pixels on pxp disabled
In reply to Alan PrevinFrom: Anshuman Gupta <[email protected]>
When protected sufaces has flipped and pxp session is disabled, display black pixels by using plane color CTM correction.
v2:
- Display black pixels in async flip too.
v3:
- Removed the black pixels logic for async flip. [Ville]
- Used plane state to force black pixels. [Ville]
v4 (Daniele): update pxp_is_borked check.
v5: rebase on top of v9 plane decryption moving the decrypt check
(Juston)
--- drivers/gpu/drm/i915/display/intel_display.c | 12 ++++- .../drm/i915/display/intel_display_types.h | 3 ++ .../drm/i915/display/skl_universal_plane.c | 36 ++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 46 +++++++++++++++++++ 4 files changed, 94 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +10 -2
@@ -9009,6 +9009,11 @@ static bool bo_has_valid_encryption(struct drm_i915_gem_object *obj)return intel_pxp_key_check (&i915->gt.pxp, obj, false) ==0 ; } +static bool pxp_is_borked (struct drm_i915_gem_object *obj) +{ +return i915_gem_object_is_protected (obj) && !bo_has_valid_encryption (obj); +} +static int intel_atomic_check_planes (struct intel_atomic_state *state) {struct drm_i915_private *dev_priv =to_i915 (state->base.dev);
@@ -9070,10 +9075,13 @@ static int intel_atomic_check_planes(struct intel_atomic_state *state) new_plane_state =intel_atomic_get_new_plane_state (state, plane); old_plane_state =intel_atomic_get_old_plane_state (state, plane); fb = new_plane_state->hw.fb; -if (fb) +if (fb) { new_plane_state->decrypt =bo_has_valid_encryption (intel_fb_obj (fb)); -else + new_plane_state->force_black =pxp_is_borked (intel_fb_obj (fb)); + }else { new_plane_state->decrypt = old_plane_state->decrypt; + new_plane_state->force_black = old_plane_state->force_black; + } }return 0 ;
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
@@ -628,6 +628,9 @@ struct intel_plane_state {/* Plane pxp decryption state */ bool decrypt; +/* Plane state to display black pixels when pxp is borked */ +bool force_black; +/* plane control register */ u32 ctl;
drivers/gpu/drm/i915/display/skl_universal_plane.c +35 -1
@@ -1002,6 +1002,33 @@ static u32 skl_surf_address(const struct intel_plane_state *plane_state, } } +static void intel_load_plane_csc_black (struct intel_plane *intel_plane) +{ +struct drm_i915_private *dev_priv =to_i915 (intel_plane->base.dev); +enum pipe pipe = intel_plane->pipe; +enum plane_id plane = intel_plane->id; +u16 postoff =0 ; + +drm_dbg_kms (&dev_priv->drm,"plane color CTM to black %s:%d\n" , + intel_plane->base.name, plane); +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,0 ),0 ); +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,1 ),0 ); + +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,2 ),0 ); +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,3 ),0 ); + +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,4 ),0 ); +intel_de_write_fw (dev_priv,PLANE_CSC_COEFF (pipe, plane,5 ),0 ); + +intel_de_write_fw (dev_priv,PLANE_CSC_PREOFF (pipe, plane,0 ),0 ); +intel_de_write_fw (dev_priv,PLANE_CSC_PREOFF (pipe, plane,1 ),0 ); +intel_de_write_fw (dev_priv,PLANE_CSC_PREOFF (pipe, plane,2 ),0 ); + +intel_de_write_fw (dev_priv,PLANE_CSC_POSTOFF (pipe, plane,0 ), postoff); +intel_de_write_fw (dev_priv,PLANE_CSC_POSTOFF (pipe, plane,1 ), postoff); +intel_de_write_fw (dev_priv,PLANE_CSC_POSTOFF (pipe, plane,2 ), postoff); +} + static void skl_program_plane(struct intel_plane *plane, const struct intel_crtc_state *crtc_state,
@@ -1115,14 +1142,21 @@ skl_program_plane(struct intel_plane *plane,*/ intel_de_write_fw (dev_priv,PLANE_CTL (pipe, plane_id), plane_ctl); plane_surf =intel_plane_ggtt_offset (plane_state) + surf_addr; + plane_color_ctl =intel_de_read_fw (dev_priv,PLANE_COLOR_CTL (pipe, plane_id));/* * FIXME: pxp session invalidation can hit any time even at time of commit * or after the commit, display content will be garbage. */ -if (plane_state->decrypt) +if (plane_state->decrypt) { plane_surf |=PLANE_SURF_DECRYPT ; + }else if (plane_state->force_black) { +intel_load_plane_csc_black (plane); + plane_color_ctl |=PLANE_COLOR_PLANE_CSC_ENABLE ; + } +intel_de_write_fw (dev_priv,PLANE_COLOR_CTL (pipe, plane_id), + plane_color_ctl);intel_de_write_fw (dev_priv,PLANE_SURF (pipe, plane_id), plane_surf);spin_unlock_irqrestore (&dev_priv->uncore.lock, irqflags);
drivers/gpu/drm/i915/i915_reg.h +46 -0
58 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v11 15/17 drm/i915/pxp: add pxp debugfs
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
2 debugfs files, one to query the current status of the pxp session and one to trigger an invalidation for testing.
v2: rename debugfs, fix date (Alan)
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt_debugfs.c | 2 + drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c | 78 ++++++++++++++++++++ drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h | 21 ++++++ 4 files changed, 102 insertions(+) create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -284,6 +284,7 @@ i915-y += i915_perf.o i915-$(CONFIG_DRM_I915_PXP) += \ pxp/intel_pxp.o \ pxp/intel_pxp_cmd.o \ + pxp/intel_pxp_debugfs.o \ pxp/intel_pxp_irq.o \ pxp/intel_pxp_pm.o \ pxp/intel_pxp_session.o \
drivers/gpu/drm/i915/gt/intel_gt_debugfs.c +2 -0
@@ -10,6 +10,7 @@#include "intel_gt_engines_debugfs.h" #include "intel_gt_pm_debugfs.h" #include "intel_sseu_debugfs.h" +#include "pxp/intel_pxp_debugfs.h" #include "uc/intel_uc_debugfs.h" void intel_gt_debugfs_register (struct intel_gt *gt)
@@ -28,6 +29,7 @@ void intel_gt_debugfs_register(struct intel_gt *gt)intel_sseu_debugfs_register (gt, root);intel_uc_debugfs_register (>->uc, root); +intel_pxp_debugfs_register (>->pxp, root); } void intel_gt_debugfs_register_files(struct dentry *root,
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c new file +78 -0
78 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h new file +21 -0
@@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2021 Intel Corporation +*/ + +#ifndef __INTEL_PXP_DEBUGFS_H__ +#define __INTEL_PXP_DEBUGFS_H__ + +struct intel_pxp ; +struct dentry ; + +#ifdef CONFIG_DRM_I915_PXP +void intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root); +#else +static inline void +intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root) +{ +} +#endif + +#endif /* __INTEL_PXP_DEBUGFS_H__ */
Signature · 1 line
2.25.1
PATCH v11 16/17 drm/i915/pxp: add PXP documentation
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
Now that all the pieces are in place we can add a description of how the feature works. Also modify the comments in struct intel_pxp into kerneldoc.
v2: improve doc (Rodrigo)
--- Documentation/gpu/i915.rst | 8 ++++ drivers/gpu/drm/i915/pxp/intel_pxp.c | 29 ++++++++++++- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 47 ++++++++++++++++------ 3 files changed, 71 insertions(+), 13 deletions(-)
Documentation/gpu/i915.rst +8 -0
@@ -471,6 +471,14 @@ Object Tiling IOCTLs .. kernel-doc:: drivers/gpu/drm/i915/gem/i915_gem_tiling.c :doc: buffer object tiling +Protected Objects +----------------- + +.. kernel-doc:: drivers/gpu/drm/i915/pxp/intel_pxp.c + :doc: PXP + +.. kernel-doc:: drivers/gpu/drm/i915/pxp/intel_pxp_types.h + Microcontrollers ================
drivers/gpu/drm/i915/pxp/intel_pxp.c +28 -1
@@ -11,6 +11,34 @@#include "gt/intel_context.h" #include "i915_drv.h" +/** +* DOC: PXP +* +* PXP (Protected Xe Path) is a feature available in Gen12 and newer platforms. +* It allows execution and flip to display of protected (i.e. encrypted) +* objects. The SW support is enabled via the CONFIG_DRM_I915_PXP kconfig. +* +* Objects can opt-in to PXP encryption at creation time via the +* I915_GEM_CREATE_EXT_PROTECTED_CONTENT create_ext flag. For objects to be +* correctly protected they must be used in conjunction with a context created +* with the I915_CONTEXT_PARAM_PROTECTED_CONTENT flag. See the documentation +* of those two uapi flags for details and restrictions. +* +* Protected objects are tied to a pxp session; currently we only support one +* session, which i915 manages and whose index is available in the uapi +* (I915_PROTECTED_CONTENT_DEFAULT_SESSION) for use in instructions targeting +* protected objects. +* The session is invalidated by the HW when certain events occur (e.g. +* suspend/resume). When this happens, all the objects that were used with the +* session are marked as invalid and all contexts marked as using protected +* content are banned. Any further attempt at using them in an execbuf call is +* rejected, while flips are converted to black frames. +* +* Some of the PXP setup operations are performed by the Management Engine, +* which is handled by the mei driver; communication between i915 and mei is +* performed via the mei_pxp component module. +*/ +struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp) { return container_of(pxp, struct intel_gt, pxp);
@@ -268,4 +296,3 @@ void intel_pxp_invalidate(struct intel_pxp *pxp) }spin_unlock_irq (&i915->gem.contexts.lock); } -
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +35 -12
77 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v11 17/17 drm/i915/pxp: enable PXP for integrated Gen12
In reply to Alan PrevinFrom: Daniele Ceraolo Spurio <[email protected]>
Note that discrete cards can support PXP as well, but we haven't tested on those yet so keeping it disabled for now.
--- drivers/gpu/drm/i915/i915_pci.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +2 -0
@@ -865,6 +865,7 @@ static const struct intel_device_info jsl_info = { }, \ TGL_CURSOR_OFFSETS, \ .has_global_mocs = 1, \ + .has_pxp = 1, \ .display.has_dsb = 1 static const struct intel_device_info tgl_info = {
@@ -891,6 +892,7 @@ static const struct intel_device_info rkl_info = {#define DGFX_FEATURES \ .memory_regions = REGION_SMEM | REGION_LMEM | REGION_STOLEN_LMEM, \ .has_llc = 0, \ + .has_pxp = 0, \ .has_snoop = 1, \ .is_dgfx = 1
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Introduce Intel PXP (rev9)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev9)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 8aa2d1143745 drm/i915/pxp: Define PXP component interface -:31: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #31: new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 49 lines checkedcda84b22cd54 mei: pxp: export pavp client to me client bus
-:36: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #36:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 276 lines checked61670f29074c drm/i915/pxp: define PXP device flag and kconfig
-:49: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects? #49: FILE: drivers/gpu/drm/i915/i915_drv.h:1686:
+#define HAS_PXP(dev_priv) ((IS_ENABLED(CONFIG_DRM_I915_PXP) && \
+ INTEL_INFO(dev_priv)->has_pxp) && \
+ VDBOX_MASK(&dev_priv->gt))
total: 0 errors, 0 warnings, 1 checks, 33 lines checkedc3fb7808bc05 drm/i915/pxp: allocate a vcs context for pxp usage
-:100: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #100:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 172 lines checked2ede62dd2f91 drm/i915/pxp: Implement funcs to create the TEE channel
-:79: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #79:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 145 lines checked1956ec5d5ff0 drm/i915/pxp: set KCR reg initc0f8d1a1ea5f drm/i915/pxp: Create the arbitrary session after boot
-:107: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #107:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 344 lines checked69bb1fa6d27a drm/i915/pxp: Implement arb session teardown
-:117: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #117:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 283 lines checked3f1c9e9f66be drm/i915/pxp: Implement PXP irq handler
-:213: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #213:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 424 lines checked6c48a81ab52e drm/i915/pxp: interfaces for using protected objects26757c154e79 drm/i915/pxp: start the arb session on demandcd7c62cfa2fb drm/i915/pxp: Enable PXP power management
-:122: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #122:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 239 lines checked047e1194fa85 drm/i915/pxp: Add plane decryption support238556abc2b8 drm/i915/pxp: black pixels on pxp disabled
-:169: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #169: FILE: drivers/gpu/drm/i915/i915_reg.h:11412:
+#define PLANE_CSC_COEFF(pipe, plane, index) _MMIO_PLANE(plane, \
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
+ _PLANE_CSC_RY_GY_2(pipe) + (index) * 4)
-:169: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #169: FILE: drivers/gpu/drm/i915/i915_reg.h:11412:
+#define PLANE_CSC_COEFF(pipe, plane, index) _MMIO_PLANE(plane, \
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
+ _PLANE_CSC_RY_GY_2(pipe) + (index) * 4)
-:170: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #170: FILE: drivers/gpu/drm/i915/i915_reg.h:11413:
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
-:183: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #183: FILE: drivers/gpu/drm/i915/i915_reg.h:11426:
+#define PLANE_CSC_PREOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_PREOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
+ (index) * 4)
-:183: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #183: FILE: drivers/gpu/drm/i915/i915_reg.h:11426:
+#define PLANE_CSC_PREOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_PREOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
+ (index) * 4)
-:184: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #184: FILE: drivers/gpu/drm/i915/i915_reg.h:11427:
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
-:197: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #197: FILE: drivers/gpu/drm/i915/i915_reg.h:11440:
+#define PLANE_CSC_POSTOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_POSTOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
+ (index) * 4)
-:197: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #197: FILE: drivers/gpu/drm/i915/i915_reg.h:11440:
+#define PLANE_CSC_POSTOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_POSTOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
+ (index) * 4)
-:198: WARNING:LONG_LINE: line length of 106 exceeds 100 columns #198: FILE: drivers/gpu/drm/i915/i915_reg.h:11441:
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
total: 0 errors, 3 warnings, 6 checks, 148 lines checked68d22378989a drm/i915/pxp: add pxp debugfs
-:48: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #48:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 120 lines checked 7a524d19295d drm/i915/pxp: add PXP documentation dc64feb6ddff drm/i915/pxp: enable PXP for integrated Gen12
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Introduce Intel PXP (rev9)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev9)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:32:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:32:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:56:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:56:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_reset.c:1392:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +drivers/gpu/drm/i915/i915_perf.c:1442:15: warning: memset with byte count of 16777216 +drivers/gpu/drm/i915/i915_perf.c:1496:15: warning: memset with byte count of 16777216 +./include/asm-generic/bitops/find.h:112:45: warning: shift count is negative (-262080) +./include/asm-generic/bitops/find.h:32:31: warning: shift count is negative (-262080) +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Introduce Intel PXP (rev9)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev9)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 ./include/uapi/drm/i915_drm.h:1904: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Introduce Intel PXP (rev9)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev9)
URL : https://patchwork.freedesktop.org/series/90503/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10622 -> Patchwork_21121
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21121:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@i915_pm_rpm@module-reload:
- {fi-jsl-1}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-jsl-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-jsl-1/igt@[email protected]
* igt@runner@aborted:
- {fi-jsl-1}: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-jsl-1/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21121 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@fork-compute0:
- fi-ivb-3770: NOTRUN -> [SKIP][4] ([fdo#109271]) +18 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-ivb-3770/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@sync-compute0:
- fi-kbl-r: NOTRUN -> [SKIP][5] ([fdo#109271]) +17 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-kbl-r/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][6] ([i915#4130])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
- fi-cfl-8700k: [PASS][7] -> [INCOMPLETE][8] ([i915#4130] / [i915#4136])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-cfl-8700k/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8700k/igt@[email protected]
- fi-kbl-7500u: [PASS][9] -> [INCOMPLETE][10] ([i915#4130] / [i915#4136])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-kbl-7500u/igt@[email protected]
- fi-kbl-7567u: [PASS][11] -> [INCOMPLETE][12] ([i915#4130])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-kbl-7567u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-kbl-7567u/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][13] ([i915#2190])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@i915_module_load@reload:
- fi-snb-2520m: [PASS][14] -> [INCOMPLETE][15] ([i915#4179])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-snb-2520m/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-snb-2520m/igt@[email protected]
- fi-bsw-kefka: [PASS][16] -> [INCOMPLETE][17] ([i915#4136] / [i915#4179])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-bsw-kefka/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-bsw-kefka/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [INCOMPLETE][18] ([i915#4130] / [i915#4136] / [i915#4179])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8109u/igt@[email protected]
- fi-icl-y: [PASS][19] -> [INCOMPLETE][20] ([i915#4130] / [i915#4136])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-icl-y/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-icl-y/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][21] ([i915#1155])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-skl-6600u: [PASS][22] -> [INCOMPLETE][23] ([i915#151])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-skl-6600u/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-skl-6600u/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][24] ([fdo#111827]) +8 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][25] ([i915#4103]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][27] ([i915#1072]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html
* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][28] ([i915#3301])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
* igt@runner@aborted:
- fi-bsw-kefka: NOTRUN -> [FAIL][29] ([i915#3690])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-bsw-kefka/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [FAIL][30] ([i915#1814] / [i915#2426] / [i915#3363])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-skl-6600u/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [FAIL][31] ([i915#2426] / [i915#3363])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8109u/igt@[email protected]
- fi-snb-2520m: NOTRUN -> [FAIL][32] ([i915#2426])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-snb-2520m/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [FAIL][33] ([i915#1602] / [i915#2722])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-tgl-1115g4/igt@[email protected]
#### Possible fixes ####
* igt@core_hotunplug@unbind-rebind:
- fi-cfl-8109u: [INCOMPLETE][34] ([i915#4130]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-cfl-8109u/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8109u/igt@[email protected]
* igt@i915_module_load@reload:
- fi-kbl-r: [INCOMPLETE][36] ([i915#4136]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-kbl-r/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-kbl-r/igt@[email protected]
- fi-ivb-3770: [INCOMPLETE][38] ([i915#4179]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-ivb-3770/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-ivb-3770/igt@[email protected]
* igt@kms_flip@basic-plain-flip@c-dp1:
- fi-cfl-8109u: [FAIL][40] ([i915#4165]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-cfl-8109u/igt@kms_flip@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8109u/igt@kms_flip@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- fi-cfl-8109u: [DMESG-WARN][42] ([i915#295]) -> [PASS][43] +14 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-cfl-8109u/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cfl-8109u/igt@[email protected]
#### Warnings ####
* igt@core_hotunplug@unbind-rebind:
- fi-icl-u2: [INCOMPLETE][44] ([i915#4130]) -> [INCOMPLETE][45] ([i915#4130] / [i915#4136])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-icl-u2/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-icl-u2/igt@[email protected]
* igt@i915_module_load@reload:
- fi-cml-u2: [INCOMPLETE][46] ([i915#4130] / [i915#4136]) -> [INCOMPLETE][47] ([i915#4136])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-cml-u2/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-cml-u2/igt@[email protected]
- fi-glk-dsi: [INCOMPLETE][48] ([i915#4130] / [i915#4136]) -> [INCOMPLETE][49] ([i915#4136])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/fi-glk-dsi/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/fi-glk-dsi/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4130]: https://gitlab.freedesktop.org/drm/intel/issues/4130
[i915#4136]: https://gitlab.freedesktop.org/drm/intel/issues/4136
[i915#4165]: https://gitlab.freedesktop.org/drm/intel/issues/4165
[i915#4179]: https://gitlab.freedesktop.org/drm/intel/issues/4179
Participating hosts (33 -> 30)
------------------------------
Additional (1): fi-tgl-1115g4
Missing (4): fi-bsw-cyan fi-bdw-samus fi-bdw-5557u bat-dg1-6
Build changes
-------------
* Linux: CI_DRM_10622 -> Patchwork_21121
CI-20190529: 20190529
CI_DRM_10622: 525a2117194d1c06200adb49678fe56fd1641591 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6214: 13550e92c6c7bd825abb6c9b087d12a524b4674c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21121: dc64feb6ddff940359753aaedf7c199243cf5689 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
dc64feb6ddff drm/i915/pxp: enable PXP for integrated Gen12 7a524d19295d drm/i915/pxp: add PXP documentation 68d22378989a drm/i915/pxp: add pxp debugfs238556abc2b8 drm/i915/pxp: black pixels on pxp disabled 047e1194fa85 drm/i915/pxp: Add plane decryption support cd7c62cfa2fb drm/i915/pxp: Enable PXP power management 26757c154e79 drm/i915/pxp: start the arb session on demand 6c48a81ab52e drm/i915/pxp: interfaces for using protected objects 3f1c9e9f66be drm/i915/pxp: Implement PXP irq handler 69bb1fa6d27a drm/i915/pxp: Implement arb session teardown c0f8d1a1ea5f drm/i915/pxp: Create the arbitrary session after boot 1956ec5d5ff0 drm/i915/pxp: set KCR reg init2ede62dd2f91 drm/i915/pxp: Implement funcs to create the TEE channel c3fb7808bc05 drm/i915/pxp: allocate a vcs context for pxp usage 61670f29074c drm/i915/pxp: define PXP device flag and kconfig cda84b22cd54 mei: pxp: export pavp client to me client bus 8aa2d1143745 drm/i915/pxp: Define PXP component interface
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Introduce Intel PXP (rev9)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev9)
URL : https://patchwork.freedesktop.org/series/90503/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10622_full -> Patchwork_21121_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21121_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21121_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21121_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_suspend@basic-s3:
- shard-glk: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk7/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render:
- shard-tglb: [PASS][2] -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
* igt@perf_pmu@rc6-suspend:
- shard-snb: NOTRUN -> [INCOMPLETE][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb7/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21121_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- shard-iclb: [PASS][5] -> [INCOMPLETE][6] ([i915#4130])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb8/igt@[email protected]
* igt@gem_ctx_persistence@engines-mixed:
- shard-snb: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#1099]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb6/igt@[email protected]
* igt@gem_ctx_shared@q-in-order:
- shard-snb: NOTRUN -> [SKIP][8] ([fdo#109271]) +354 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb6/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-snb: NOTRUN -> [FAIL][9] ([i915#3354])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb6/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][10] -> [FAIL][11] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb1/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][12] -> [FAIL][13] ([i915#2849])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb2/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@no-blt:
- shard-tglb: NOTRUN -> [SKIP][14] ([fdo#109283])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-tglb: NOTRUN -> [INCOMPLETE][15] ([i915#2369] / [i915#2411] / [i915#4173] / [i915#456])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-iclb: NOTRUN -> [SKIP][16] ([i915#2190])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-apl: NOTRUN -> [WARN][17] ([i915#2658])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl8/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-tglb: NOTRUN -> [WARN][18] ([i915#2658])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@gem_softpin@evict-snoop:
- shard-tglb: NOTRUN -> [SKIP][19] ([fdo#109312])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#3323])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@[email protected]
* igt@gem_userptr_blits@unsync-unmap-after-close:
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#3297])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@gem_workarounds@suspend-resume:
- shard-kbl: NOTRUN -> [DMESG-WARN][22] ([i915#180])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-apl7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl6/igt@[email protected]
* igt@gen7_exec_parse@basic-allowed:
- shard-tglb: NOTRUN -> [SKIP][25] ([fdo#109289]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@gen9_exec_parse@valid-registers:
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#2856])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-skl: [PASS][27] -> [DMESG-WARN][28] ([i915#1982]) +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl10/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl4/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [PASS][29] -> [FAIL][30] ([i915#454])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb3/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#111644] / [i915#1397] / [i915#2411])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@i915_pm_rpm@pc8-residency:
- shard-iclb: NOTRUN -> [SKIP][32] ([fdo#109293] / [fdo#109506])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-tglb: [PASS][33] -> [INCOMPLETE][34] ([i915#2411] / [i915#456] / [i915#750])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb5/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb7/igt@[email protected]
* igt@i915_selftest@live@gt_lrc:
- shard-tglb: NOTRUN -> [DMESG-FAIL][35] ([i915#2373])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@i915_selftest@live@gt_lrc.html
* igt@i915_selftest@live@gt_pm:
- shard-tglb: NOTRUN -> [DMESG-FAIL][36] ([i915#1759] / [i915#2291])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@i915_selftest@live@gt_pm.html
* igt@kms_big_fb@x-tiled-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][37] ([fdo#111614]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#3777]) +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl8/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#3777])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#111615]) +6 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_big_joiner@basic:
- shard-tglb: NOTRUN -> [SKIP][41] ([i915#2705])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271] / [i915#3886]) +8 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][43] ([i915#3689] / [i915#3886]) +5 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][44] ([fdo#109278] / [i915#3886])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#3886]) +11 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][46] ([i915#3689]) +11 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs.html
* igt@kms_cdclk@mode-transition:
- shard-tglb: NOTRUN -> [SKIP][47] ([i915#3742])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-apl: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +18 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl2/igt@[email protected]
* igt@kms_chamelium@hdmi-audio-edid:
- shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [fdo#111827]) +14 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#109284] / [fdo#111827]) +14 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-snb: NOTRUN -> [SKIP][51] ([fdo#109271] / [fdo#111827]) +19 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb6/igt@[email protected]
* igt@kms_content_protection@atomic:
- shard-kbl: NOTRUN -> [TIMEOUT][52] ([i915#1319]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglb: NOTRUN -> [SKIP][53] ([i915#3116]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#111828]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][55] ([i915#3319]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-skl: [PASS][56] -> [INCOMPLETE][57] ([i915#300])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl7/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-512x512-onscreen:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109278] / [fdo#109279])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-onscreen:
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#3359]) +5 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x512-offscreen:
- shard-tglb: NOTRUN -> [SKIP][60] ([fdo#109279] / [i915#3359]) +4 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-d-64x64-left-edge:
- shard-kbl: NOTRUN -> [SKIP][61] ([fdo#109271]) +172 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
* igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
- shard-iclb: NOTRUN -> [SKIP][62] ([fdo#109274] / [fdo#109278])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [PASS][63] -> [FAIL][64] ([i915#2346])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl8/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl8/igt@[email protected]
* igt@kms_dp_tiled_display@basic-test-pattern-with-chamelium:
- shard-tglb: NOTRUN -> [SKIP][65] ([i915#3528])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-fences-interruptible:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][67] -> [FAIL][68] ([i915#2122])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-glk9/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-skl: [PASS][69] -> [FAIL][70] ([i915#79])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl9/igt@kms_flip@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl10/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check@c-edp1:
- shard-skl: [PASS][71] -> [FAIL][72] ([i915#2122]) +2 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl7/igt@kms_flip@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl5/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-pri-indfb-multidraw:
- shard-glk: [PASS][73] -> [DMESG-FAIL][74] ([i915#118] / [i915#95])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-glk8/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111825]) +35 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-tglb: [PASS][76] -> [INCOMPLETE][77] ([i915#2411] / [i915#456])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb5/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][78] ([fdo#109280]) +4 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-apl: NOTRUN -> [DMESG-WARN][79] ([i915#180])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@[email protected]
* igt@kms_hdr@static-toggle-dpms:
- shard-tglb: NOTRUN -> [SKIP][80] ([i915#1187])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d-frame-sequence:
- shard-kbl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#533])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][82] ([fdo#108145] / [i915#265]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][83] ([fdo#108145] / [i915#265]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][84] -> [FAIL][85] ([fdo#108145] / [i915#265])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl8/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][86] ([i915#265])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][87] ([i915#3536])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_plane_multiple@atomic-pipe-d-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#112054]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#658]) +3 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#658]) +4 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#658])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk7/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area-0:
- shard-tglb: NOTRUN -> [SKIP][92] ([i915#2920]) +3 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][93] -> [SKIP][94] ([fdo#109441]) +3 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_psr@psr2_sprite_render:
- shard-tglb: NOTRUN -> [FAIL][95] ([i915#132] / [i915#3467]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@kms_psr@psr2_sprite_render.html
* igt@kms_psr@sprite_mmap_cpu:
- shard-glk: NOTRUN -> [SKIP][96] ([fdo#109271]) +4 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk7/igt@kms_psr@sprite_mmap_cpu.html
* igt@kms_sysfs_edid_timing:
- shard-kbl: NOTRUN -> [FAIL][97] ([IGT#2])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@kms_sysfs_edid_timing.html
* igt@kms_vblank@pipe-d-query-idle-hang:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109278]) +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb5/igt@[email protected]
* igt@kms_vblank@pipe-d-wait-idle:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#533]) +2 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#2437]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl6/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame:
- shard-apl: NOTRUN -> [SKIP][101] ([fdo#109271]) +209 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl2/igt@[email protected]
* igt@nouveau_crc@pipe-d-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][102] ([i915#2530]) +3 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb3/igt@[email protected]
* igt@perf@polling-parameterized:
- shard-skl: [PASS][103] -> [FAIL][104] ([i915#1542])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl3/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl9/igt@[email protected]
* igt@perf_pmu@rc6-suspend:
- shard-tglb: [PASS][105] -> [INCOMPLETE][106] ([i915#456]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb1/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb2/igt@[email protected]
* igt@prime_nv_pcopy@test1_macro:
- shard-tglb: NOTRUN -> [SKIP][107] ([fdo#109291]) +6 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@prime_nv_pcopy@test1_macro.html
* igt@sysfs_clients@fair-1:
- shard-apl: NOTRUN -> [SKIP][108] ([fdo#109271] / [i915#2994]) +3 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl2/igt@[email protected]
* igt@sysfs_clients@sema-10:
- shard-tglb: NOTRUN -> [SKIP][109] ([i915#2994]) +3 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-kbl: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#2994]) +2 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl2/igt@[email protected]
#### Possible fixes ####
* igt@core_hotunplug@unbind-rebind:
- shard-glk: [INCOMPLETE][111] ([i915#4130] / [i915#4136]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-glk1/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-glk7/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-apl: [DMESG-WARN][113] ([i915#180]) -> [PASS][114] +1 similar issue
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-apl6/igt@gem_ctx_isolation@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-apl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [FAIL][115] ([i915#2842]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb7/igt@gem_exec_fair@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-tglb: [FAIL][117] ([i915#2842]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb5/igt@gem_exec_fair@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-snb: [INCOMPLETE][119] -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-snb6/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-snb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-tglb: [INCOMPLETE][121] ([i915#456]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb7/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb8/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [SKIP][123] ([i915#3701]) -> [PASS][124]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-iclb2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-iclb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][125] ([i915#180]) -> [PASS][126] +8 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-kbl6/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-kbl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-tglb: [INCOMPLETE][127] ([i915#2411] / [i915#456]) -> [PASS][128] +1 similar issue
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb7/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [FAIL][129] ([i915#1188]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-skl7/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-skl9/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- shard-tglb: [INCOMPLETE][131] ([i915#4182]) -> [PASS][132]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10622/shard-tglb7/igt@kms_plane@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/shard-tglb6/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][133] ([fdo#108145] / [i915#265]) -> [PASS][134]
[133]: https://intel-gfx-ci.01.org/tree/
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21121/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Introduce Intel PXP (rev10)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev10)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 05e1ec3f284d drm/i915/pxp: Define PXP component interface -:31: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #31: new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 49 lines checkeda6f0b119f74f mei: pxp: export pavp client to me client bus
-:36: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #36:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 276 lines checked9f5fd3d81cf3 drm/i915/pxp: define PXP device flag and kconfig
-:49: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects? #49: FILE: drivers/gpu/drm/i915/i915_drv.h:1686:
+#define HAS_PXP(dev_priv) ((IS_ENABLED(CONFIG_DRM_I915_PXP) && \
+ INTEL_INFO(dev_priv)->has_pxp) && \
+ VDBOX_MASK(&dev_priv->gt))
total: 0 errors, 0 warnings, 1 checks, 33 lines checked1b5cc61a686b drm/i915/pxp: allocate a vcs context for pxp usage
-:100: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #100:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 172 lines checked8a35249b2073 drm/i915/pxp: Implement funcs to create the TEE channel
-:79: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #79:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 145 lines checkedd242815536ca drm/i915/pxp: set KCR reg initd401356a6ad5 drm/i915/pxp: Create the arbitrary session after boot
-:107: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #107:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 344 lines checked1975d3f5fda6 drm/i915/pxp: Implement arb session teardown
-:117: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #117:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 283 lines checked2b49864b5bed drm/i915/pxp: Implement PXP irq handler
-:213: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #213:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 424 lines checkedf6b4768e1fa2 drm/i915/pxp: interfaces for using protected objectsc4ff99595b46 drm/i915/pxp: start the arb session on demand54fbc154318a drm/i915/pxp: Enable PXP power management
-:122: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #122:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 239 lines checkede58d9b52e0f0 drm/i915/pxp: Add plane decryption support6faffa9df265 drm/i915/pxp: black pixels on pxp disabled
-:169: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #169: FILE: drivers/gpu/drm/i915/i915_reg.h:11412:
+#define PLANE_CSC_COEFF(pipe, plane, index) _MMIO_PLANE(plane, \
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
+ _PLANE_CSC_RY_GY_2(pipe) + (index) * 4)
-:169: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #169: FILE: drivers/gpu/drm/i915/i915_reg.h:11412:
+#define PLANE_CSC_COEFF(pipe, plane, index) _MMIO_PLANE(plane, \
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
+ _PLANE_CSC_RY_GY_2(pipe) + (index) * 4)
-:170: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #170: FILE: drivers/gpu/drm/i915/i915_reg.h:11413:
+ _PLANE_CSC_RY_GY_1(pipe) + (index) * 4, \
-:183: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #183: FILE: drivers/gpu/drm/i915/i915_reg.h:11426:
+#define PLANE_CSC_PREOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_PREOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
+ (index) * 4)
-:183: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #183: FILE: drivers/gpu/drm/i915/i915_reg.h:11426:
+#define PLANE_CSC_PREOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_PREOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
+ (index) * 4)
-:184: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #184: FILE: drivers/gpu/drm/i915/i915_reg.h:11427:
+ (index) * 4, _PLANE_CSC_PREOFF_HI_2(pipe) + \
-:197: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #197: FILE: drivers/gpu/drm/i915/i915_reg.h:11440:
+#define PLANE_CSC_POSTOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_POSTOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
+ (index) * 4)
-:197: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #197: FILE: drivers/gpu/drm/i915/i915_reg.h:11440:
+#define PLANE_CSC_POSTOFF(pipe, plane, index) _MMIO_PLANE(plane, _PLANE_CSC_POSTOFF_HI_1(pipe) + \
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
+ (index) * 4)
-:198: WARNING:LONG_LINE: line length of 106 exceeds 100 columns #198: FILE: drivers/gpu/drm/i915/i915_reg.h:11441:
+ (index) * 4, _PLANE_CSC_POSTOFF_HI_2(pipe) + \
total: 0 errors, 3 warnings, 6 checks, 148 lines checked3c1965c6e3ef drm/i915/pxp: add pxp debugfs
-:48: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #48:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 120 lines checked 0ff702586cf9 drm/i915/pxp: add PXP documentation 4728e4ee5b2d drm/i915/pxp: enable PXP for integrated Gen12
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Introduce Intel PXP (rev10)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev10)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:27:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:32:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:32:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:49:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:56:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:56:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_reset.c:1392:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +drivers/gpu/drm/i915/i915_perf.c:1442:15: warning: memset with byte count of 16777216 +drivers/gpu/drm/i915/i915_perf.c:1496:15: warning: memset with byte count of 16777216 +./include/asm-generic/bitops/find.h:112:45: warning: shift count is negative (-262080) +./include/asm-generic/bitops/find.h:32:31: warning: shift count is negative (-262080) +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915: Introduce Intel PXP (rev10)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev10)
URL : https://patchwork.freedesktop.org/series/90503/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 ./include/uapi/drm/i915_drm.h:1904: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Introduce Intel PXP (rev10)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev10)
URL : https://patchwork.freedesktop.org/series/90503/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10629 -> Patchwork_21138
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/index.html
Known issues
------------
Here are the changes found in Patchwork_21138 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3:
- fi-tgl-1115g4: [PASS][1] -> [FAIL][2] ([i915#1888])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/fi-tgl-1115g4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/fi-tgl-1115g4/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [PASS][3] -> [INCOMPLETE][4] ([i915#3921])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/fi-snb-2600/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/fi-snb-2600/igt@i915_selftest@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-r: [DMESG-FAIL][5] ([i915#2291] / [i915#541]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/fi-kbl-r/igt@i915_selftest@live@gt_heartbeat.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/fi-kbl-r/igt@i915_selftest@live@gt_heartbeat.html
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541
Participating hosts (42 -> 34)
------------------------------
Missing (8): fi-ilk-m540 bat-dg1-6 bat-dg1-5 fi-bsw-cyan fi-ctg-p8600 fi-kbl-x1275 fi-bdw-samus bat-jsl-1
Build changes
-------------
* Linux: CI_DRM_10629 -> Patchwork_21138
CI-20190529: 20190529
CI_DRM_10629: ce6974ec90355ddef78e6bc2221cb2296e5ba349 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6214: 13550e92c6c7bd825abb6c9b087d12a524b4674c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21138: 4728e4ee5b2daab9744d047be8443fee7efe7ef8 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
4728e4ee5b2d drm/i915/pxp: enable PXP for integrated Gen12 0ff702586cf9 drm/i915/pxp: add PXP documentation 3c1965c6e3ef drm/i915/pxp: add pxp debugfs6faffa9df265 drm/i915/pxp: black pixels on pxp disabled e58d9b52e0f0 drm/i915/pxp: Add plane decryption support 54fbc154318a drm/i915/pxp: Enable PXP power management c4ff99595b46 drm/i915/pxp: start the arb session on demand f6b4768e1fa2 drm/i915/pxp: interfaces for using protected objects 2b49864b5bed drm/i915/pxp: Implement PXP irq handler 1975d3f5fda6 drm/i915/pxp: Implement arb session teardown d401356a6ad5 drm/i915/pxp: Create the arbitrary session after boot d242815536ca drm/i915/pxp: set KCR reg init8a35249b2073 drm/i915/pxp: Implement funcs to create the TEE channel 1b5cc61a686b drm/i915/pxp: allocate a vcs context for pxp usage 9f5fd3d81cf3 drm/i915/pxp: define PXP device flag and kconfig a6f0b119f74f mei: pxp: export pavp client to me client bus 05e1ec3f284d drm/i915/pxp: Define PXP component interface
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Introduce Intel PXP (rev10)
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: drm/i915: Introduce Intel PXP (rev10)
URL : https://patchwork.freedesktop.org/series/90503/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10629_full -> Patchwork_21138_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_21138_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@engines-queued:
- shard-snb: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#1099]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-snb7/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-snb: NOTRUN -> [FAIL][2] ([i915#3354])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-snb2/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][3] -> [FAIL][4] ([i915#2842])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb8/igt@gem_exec_fair@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: [PASS][5] -> [FAIL][6] ([i915#2842]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb2/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [PASS][7] -> [SKIP][8] ([fdo#109271])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl3/igt@gem_exec_fair@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-glk3/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-glk9/igt@gem_exec_fair@[email protected]
* igt@gem_exec_flush@basic-batch-kernel-default-cmd:
- shard-snb: NOTRUN -> [SKIP][11] ([fdo#109271]) +281 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-snb6/igt@[email protected]
* igt@gem_userptr_blits@coherency-unsync:
- shard-tglb: NOTRUN -> [SKIP][12] ([i915#3297]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][13] ([fdo#109271] / [i915#3323])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl2/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#2856]) +2 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@gen9_exec_parse@secure-batches:
- shard-iclb: NOTRUN -> [SKIP][15] ([i915#2856])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb1/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][16] -> [FAIL][17] ([i915#454])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb8/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb4/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#1937])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: NOTRUN -> [WARN][19] ([i915#2681])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][20] ([fdo#111644] / [i915#1397] / [i915#2411])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@i915_pm_sseu@full-enable:
- shard-tglb: NOTRUN -> [SKIP][21] ([fdo#109288])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb2/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-tglb: NOTRUN -> [SKIP][22] ([i915#1769])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][23] ([fdo#111614])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb5/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-apl: NOTRUN -> [SKIP][24] ([fdo#109271] / [i915#3777]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-glk: [PASS][25] -> [DMESG-WARN][26] ([i915#118] / [i915#95])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-glk2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-glk7/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][27] ([i915#3722]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#111615])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-skl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3777])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@[email protected]
* igt@kms_big_joiner@2x-modeset:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#2705])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb5/igt@[email protected]
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#3886]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][32] ([i915#3689] / [i915#3886]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#3886]) +4 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl4/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#3886]) +5 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl7/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][35] ([i915#3689]) +8 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs.html
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-skl: NOTRUN -> [SKIP][36] ([fdo#109271] / [fdo#111827]) +7 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl1/igt@[email protected]
* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][37] ([fdo#109271] / [fdo#111827]) +17 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl8/igt@[email protected]
* igt@kms_color@pipe-d-ctm-max:
- shard-skl: NOTRUN -> [SKIP][38] ([fdo#109271]) +71 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-0-25:
- shard-snb: NOTRUN -> [SKIP][39] ([fdo#109271] / [fdo#111827]) +16 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-snb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-limited-range:
- shard-kbl: NOTRUN -> [SKIP][40] ([fdo#109271] / [fdo#111827]) +4 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-red-to-blue:
- shard-tglb: NOTRUN -> [SKIP][41] ([fdo#109284] / [fdo#111827]) +6 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0:
- shard-tglb: NOTRUN -> [SKIP][42] ([i915#3116]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-kbl: NOTRUN -> [TIMEOUT][43] ([i915#1319])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-apl: NOTRUN -> [TIMEOUT][44] ([i915#1319])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-tglb: [PASS][45] -> [INCOMPLETE][46] ([i915#2828] / [i915#456])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][47] ([i915#3359]) +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-random:
- shard-tglb: NOTRUN -> [SKIP][48] ([fdo#109279] / [i915#3359]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-hdmi-a2:
- shard-glk: [PASS][49] -> [FAIL][50] ([i915#79])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-glk1/igt@kms_flip@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-glk1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-skl: [PASS][51] -> [FAIL][52] ([i915#79])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl6/igt@kms_flip@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- shard-iclb: [PASS][53] -> [DMESG-WARN][54] ([i915#2867]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb1/igt@kms_flip@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb1/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1:
- shard-skl: [PASS][55] -> [FAIL][56] ([i915#2122]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl3/igt@kms_flip@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl6/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-apl: NOTRUN -> [SKIP][57] ([fdo#109271] / [i915#2672])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [PASS][58] -> [SKIP][59] ([i915#3701])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb6/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-blt:
- shard-tglb: NOTRUN -> [SKIP][60] ([fdo#111825]) +14 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
- shard-kbl: NOTRUN -> [SKIP][61] ([fdo#109271]) +49 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl4/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-tglb: [PASS][62] -> [INCOMPLETE][63] ([i915#2411] / [i915#456])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb8/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb7/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [PASS][64] -> [DMESG-WARN][65] ([i915#180]) +3 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl1/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl4/igt@[email protected]
- shard-skl: [PASS][66] -> [FAIL][67] ([i915#1188])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl7/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl10/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#533])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl1/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#533]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][70] ([fdo#108145] / [i915#265]) +1 similar issue
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][71] ([i915#265])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: NOTRUN -> [FAIL][72] ([fdo#108145] / [i915#265]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl5/igt@[email protected]
* igt@kms_plane_lowres@pipe-d-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][73] ([fdo#112054])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][74] ([fdo#109271] / [i915#658]) +2 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl4/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-tglb: NOTRUN -> [SKIP][75] ([i915#2920])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-skl: NOTRUN -> [SKIP][76] ([fdo#109271] / [i915#658]) +2 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-tglb: NOTRUN -> [FAIL][77] ([i915#132] / [i915#3467]) +1 similar issue
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][78] -> [SKIP][79] ([fdo#109441])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb3/igt@kms_psr@psr2_cursor_plane_onoff.html
* igt@kms_psr@psr2_primary_render:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109441])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb1/igt@kms_psr@psr2_primary_render.html
* igt@kms_vblank@pipe-d-ts-continuation-idle:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271]) +197 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@[email protected]
* igt@kms_vrr@flip-dpms:
- shard-tglb: NOTRUN -> [SKIP][82] ([fdo#109502])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#2437]) +2 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl2/igt@[email protected]
* igt@nouveau_crc@pipe-a-source-rg:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#2530]) +2 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@perf@mi-rpc:
- shard-tglb: NOTRUN -> [SKIP][85] ([fdo#109289])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@prime_nv_api@i915_nv_import_vs_close:
- shard-tglb: NOTRUN -> [SKIP][86] ([fdo#109291]) +2 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@prime_nv_api@i915_nv_import_vs_close.html
* igt@prime_vgem@fence-flip-hang:
- shard-tglb: NOTRUN -> [SKIP][87] ([fdo#109295])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb5/igt@[email protected]
* igt@syncobj_timeline@invalid-query-one-illegal-handle:
- shard-skl: [PASS][88] -> [DMESG-WARN][89] ([i915#1982]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl5/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl1/igt@[email protected]
* igt@sysfs_clients@fair-0:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#2994]) +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl6/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-kbl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#2994]) +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][92] ([fdo#109271] / [i915#2994])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl5/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][93] ([i915#2369] / [i915#2481] / [i915#3070]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb5/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb6/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][95] ([i915#2846]) -> [PASS][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-glk7/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-glk2/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][97] ([i915#2842]) -> [PASS][98] +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-glk2/igt@gem_exec_fair@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [FAIL][99] ([i915#2842]) -> [PASS][100] +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl3/igt@gem_exec_fair@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: [FAIL][101] ([i915#2842]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb5/igt@gem_exec_fair@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [SKIP][103] ([fdo#109271]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl3/igt@gem_exec_fair@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@gem_exec_fair@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-skl: [DMESG-WARN][105] ([i915#1982]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl9/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl2/igt@[email protected]
* igt@i915_pm_backlight@fade_with_suspend:
- shard-skl: [INCOMPLETE][107] ([i915#198]) -> [PASS][108] +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl10/igt@i915_pm_backlight@fade_with_suspend.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@i915_pm_backlight@fade_with_suspend.html
* igt@i915_pm_rpm@system-suspend:
- shard-tglb: [INCOMPLETE][109] ([i915#2411] / [i915#456]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb7/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb1/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-tglb: [INCOMPLETE][111] ([i915#456] / [i915#750]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb5/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-skl: [FAIL][113] ([i915#2346] / [i915#533]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [INCOMPLETE][115] ([i915#155] / [i915#180] / [i915#636]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl1/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-skl: [FAIL][117] ([i915#79]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl1/igt@kms_flip@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-apl: [DMESG-WARN][119] ([i915#180]) -> [PASS][120] +2 similar issues
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-apl6/igt@kms_flip@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-apl1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-tglb: [INCOMPLETE][121] ([i915#2411] / [i915#4173] / [i915#456]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb7/igt@kms_flip@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb2/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [FAIL][123] ([i915#2122]) -> [PASS][124]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl3/igt@kms_flip@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl6/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile:
- shard-iclb: [SKIP][125] ([i915#3701]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb2/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb5/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-tglb: [INCOMPLETE][127] ([i915#2828] / [i915#456]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-tglb7/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-tglb8/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-kbl: [DMESG-WARN][129] ([i915#180]) -> [PASS][130] +3 similar issues
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-kbl1/igt@kms_plane@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-kbl4/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][131] ([fdo#108145] / [i915#265]) -> [PASS][132]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl8/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl4/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][133] ([fdo#109441]) -> [PASS][134] +3 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-skl: [INCOMPLETE][135] ([i915#198] / [i915#2828]) -> [PASS][136]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl2/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl1/igt@[email protected]
* igt@perf@polling-small-buf:
- shard-skl: [FAIL][137] ([i915#1722]) -> [PASS][138]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10629/shard-skl2/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/shard-skl3/igt@[email protected]
#### Warnings ####
* igt@kms_psr2_sf@pr
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21138/index.html