drm/i915/pxp: Promote pxp subsystem to top-level of i915
Subsystems (3)
PATCH v7 1/1 drm/i915/pxp: Promote pxp subsystem to top-level of i915
Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only one of the tiles is used for control events pertaining to PXP operation (such as creating the arbitration session and session tear-down).
PXP as a global feature is accessible via batch buffer instructions on any engine/tile and the coherency across tiles is handled implicitly by the HW. In fact, for the foreseeable future, we are expecting this single-control-tile for the PXP subsystem.
In MTL, it's the standalone media tile (not the root tile) because it contains the VDBOX and KCR engine (among the assets PXP relies on for those events).
Looking at the current code design, each tile is represented by the intel_gt structure while the intel_pxp structure currently hangs off the intel_gt structure.
Keeping the intel_pxp structure within the intel_gt structure makes some internal functionalities more straight forward but adds code complexity to code readibility and maintainibility to many external-to-pxp subsystems which may need to pick the correct intel_gt structure. An example of this would be the intel_pxp_is_active or intel_pxp_is_enabled functionality which should be viewed as a global level inquiry, not a per-gt inquiry.
That said, this series promotes the intel_pxp structure into the drm_i915_private structure making it a top-level subsystem and the PXP subsystem will select the control gt internally and keep a pointer to it for internal reference.
Changes from prior revs:
v6: - Remove HAS_PXP macro and replace it with intel_pxp_is_supported
because : [1] introduction of 'ctrl_gt' means we correct this for MTL's upcoming series now. [2] Also, this has little impact globally as its only used by PXP-internal callers at the moment.
- Change intel_pxp_init/fini to take in i915 as its input to avoid ptr-to-ptr in init/fini calls.(Jani).
- Remove the backpointer from pxp->i915 since we can use pxp->ctrl_gt->i915 if we need it. (Rodrigo).
v5: - Switch from series to single patch (Rodrigo).
- change function name from pxp_get_kcr_owner_gt to pxp_get_ctrl_gt.
- Fix CI BAT failure by removing redundant call to intel_pxp_fini from driver-remove.
- NOTE: remaining open still persists on using ptr-to-ptr and back-ptr.
v4: - Instead of maintaining intel_pxp as an intel_gt structure member
and creating a number of convoluted helpers that takes in i915 as input and redirects to the correct intel_gt or takes any intel_gt and internally replaces with the correct intel_gt, promote it to be a top-level i915 structure.
v3: - Rename gt level helper functions to "intel_pxp_is_enabled/
supported/ active_on_gt" (Daniele)
- Upgrade _gt_supports_pxp to replace what was intel_gtpxp_is supported as the new intel_pxp_is_supported_on_gt to check for PXP feature support vs the tee support for huc authentication. Fix pxp-debugfs-registration to use only the former to decide support. (Daniele)
- Couple minor optimizations.
v2: - Avoid introduction of new device info or gt variables and use
existing checks / macros to differentiate the correct GT->PXP control ownership (Daniele Ceraolo Spurio)
- Don't reuse the updated global-checkers for per-GT callers (such as other files within PXP) to avoid unnecessary GT-reparsing, expose a replacement helper like the prior ones. (Daniele).
v1: - Add one more patch to the series for the intel_pxp suspend/resume
for similar refactoring
--- .../drm/i915/display/skl_universal_plane.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 +- drivers/gpu/drm/i915/gem/i915_gem_create.c | 2 +- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 5 -- drivers/gpu/drm/i915/gt/intel_gt_debugfs.c | 1 - drivers/gpu/drm/i915/gt/intel_gt_irq.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 8 -- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 - drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c | 2 +- drivers/gpu/drm/i915/i915_driver.c | 18 +++++ drivers/gpu/drm/i915/i915_drv.h | 7 +- drivers/gpu/drm/i915/pxp/intel_pxp.c | 74 +++++++++++++++---- drivers/gpu/drm/i915/pxp/intel_pxp.h | 10 ++- drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 8 +- drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c | 44 +++++++---- drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h | 4 +- drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 10 ++- drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 4 +- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 8 +- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 8 ++ 21 files changed, 153 insertions(+), 75 deletions(-)
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -1
@@ -1848,7 +1848,7 @@ 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 (&to_gt (i915)->pxp, obj, false) ==0 ; +return intel_pxp_key_check (i915->pxp, obj, false) ==0 ; }static bool pxp_is_borked (struct drm_i915_gem_object *obj)
drivers/gpu/drm/i915/gem/i915_gem_context.c +3 -3
@@ -257,7 +257,7 @@ static int proto_context_set_protected(struct drm_i915_private *i915,if (!protected) { pc->uses_protected_content = false; - }else if (!intel_pxp_is_enabled (&to_gt (i915)->pxp)) { + }else if (!intel_pxp_is_enabled (i915->pxp)) { ret = -ENODEV ; }else if ((pc->user_flags &BIT (UCONTEXT_RECOVERABLE )) || !(pc->user_flags &BIT (UCONTEXT_BANNABLE ))) {
@@ -271,8 +271,8 @@ static int proto_context_set_protected(struct drm_i915_private *i915,*/ pc->pxp_wakeref =intel_runtime_pm_get (&i915->runtime_pm); -if (!intel_pxp_is_active (&to_gt (i915)->pxp)) - ret =intel_pxp_start (&to_gt (i915)->pxp); +if (!intel_pxp_is_active (i915->pxp)) + ret =intel_pxp_start (i915->pxp); }return ret;
drivers/gpu/drm/i915/gem/i915_gem_create.c +1 -1
@@ -384,7 +384,7 @@ static int ext_set_protected(struct i915_user_extension __user *base, void *dataif (ext.flags)return -EINVAL ; -if (!intel_pxp_is_enabled (&to_gt (ext_data->i915)->pxp)) +if (!intel_pxp_is_enabled (ext_data->i915->pxp))return -ENODEV ; ext_data->flags |=I915_BO_PROTECTED ;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1 -1
@@ -869,7 +869,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, true); + err =intel_pxp_key_check (vm->gt->i915->pxp, obj, true);if (err) {i915_gem_object_put (obj);return ERR_PTR (err);
drivers/gpu/drm/i915/gt/intel_gt.c +0 -5
@@ -8,7 +8,6 @@#include "gem/i915_gem_internal.h" #include "gem/i915_gem_lmem.h" -#include "pxp/intel_pxp.h" #include "i915_drv.h" #include "i915_perf_oa_regs.h"
@@ -762,8 +761,6 @@ 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);
@@ -803,8 +800,6 @@ void intel_gt_driver_unregister(struct intel_gt *gt)intel_rps_driver_unregister (>->rps);intel_gsc_fini (>->gsc); -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_debugfs.c +0 -1
@@ -99,7 +99,6 @@ 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/gt/intel_gt_irq.c +1 -1
@@ -76,7 +76,7 @@ gen11_other_irq_handler(struct intel_gt *gt, const u8 instance,return gen11_rps_irq_handler (&media_gt->rps, iir);if (instance ==OTHER_KCR_INSTANCE ) -return intel_pxp_irq_handler (>->pxp, iir); +return intel_pxp_irq_handler (gt->i915->pxp, iir);if (instance ==OTHER_GSC_INSTANCE )return intel_gsc_irq_handler (gt, iir);
drivers/gpu/drm/i915/gt/intel_gt_pm.c +0 -8
@@ -304,8 +304,6 @@ int intel_gt_resume(struct intel_gt *gt)intel_uc_resume (>->uc); -intel_pxp_resume (>->pxp); -user_forcewake (gt, false); out_fw:
@@ -339,8 +337,6 @@ void intel_gt_suspend_prepare(struct intel_gt *gt) {user_forcewake (gt, true);wait_for_suspend (gt); - -intel_pxp_suspend_prepare (>->pxp); }static suspend_state_t pm_suspend_target (void )
@@ -365,7 +361,6 @@ void intel_gt_suspend_late(struct intel_gt *gt)GEM_BUG_ON (gt->awake);intel_uc_suspend (>->uc); -intel_pxp_suspend (>->pxp);/* * On disabling the device, we want to turn off HW access to memory
@@ -393,7 +388,6 @@ void intel_gt_suspend_late(struct intel_gt *gt)void intel_gt_runtime_suspend (struct intel_gt *gt) { -intel_pxp_runtime_suspend (>->pxp);intel_uc_runtime_suspend (>->uc);GT_TRACE (gt,"\n" );
@@ -411,8 +405,6 @@ int intel_gt_runtime_resume(struct intel_gt *gt)if (ret)return ret; -intel_pxp_runtime_resume (>->pxp); -return 0 ; }
drivers/gpu/drm/i915/gt/intel_gt_types.h +0 -3
@@ -30,7 +30,6 @@#include "intel_rps_types.h" #include "intel_migrate_types.h" #include "intel_wakeref.h" -#include "pxp/intel_pxp_types.h" #include "intel_wopcm.h" struct drm_i915_private ;
@@ -275,8 +274,6 @@ struct intel_gt {u8 wb_index;/* Only used on HAS_L3_CCS_READ() platforms */ } mocs; -struct intel_pxp pxp; -/* gt/gtN sysfs */ struct kobject sysfs_gt;
drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c +1 -1
@@ -32,7 +32,7 @@ int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc)GEM_WARN_ON (intel_uc_fw_is_loaded (&huc->fw)); - ret =intel_pxp_huc_load_and_auth (&huc_to_gt (huc)->pxp); + ret =intel_pxp_huc_load_and_auth (huc_to_gt (huc)->i915->pxp);if (ret)return ret;
drivers/gpu/drm/i915/i915_driver.c +18 -0
@@ -73,6 +73,8 @@#include "gt/intel_gt_pm.h" #include "gt/intel_rc6.h" +#include "pxp/intel_pxp.h" +#include "pxp/intel_pxp_debugfs.h" #include "pxp/intel_pxp_pm.h" #include "i915_file_private.h"
@@ -759,6 +761,8 @@ static void i915_driver_register(struct drm_i915_private *dev_priv)for_each_gt (gt, dev_priv, i)intel_gt_driver_register (gt); +intel_pxp_debugfs_register (dev_priv->pxp); +i915_hwmon_register (dev_priv);intel_display_driver_register (dev_priv);
@@ -790,6 +794,8 @@ static void i915_driver_unregister(struct drm_i915_private *dev_priv)intel_display_driver_unregister (dev_priv); +intel_pxp_fini (dev_priv); +for_each_gt (gt, dev_priv, i)intel_gt_driver_unregister (gt);
@@ -933,6 +939,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret) goto out_cleanup_modeset2; +intel_pxp_init (i915); + ret =intel_modeset_init (i915);if (ret) goto out_cleanup_gem;
@@ -1168,6 +1176,8 @@ static int i915_drm_prepare(struct drm_device *dev) {struct drm_i915_private *i915 =to_i915 (dev); +intel_pxp_suspend_prepare (i915->pxp); +/* * NB intel_display_suspend() may issue new requests after we've * ostensibly marked the GPU as ready-to-sleep here. We need to
@@ -1248,6 +1258,8 @@ static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation)disable_rpm_wakeref_asserts (rpm); +intel_pxp_suspend (dev_priv->pxp); +i915_gem_suspend_late (dev_priv);for_each_gt (gt, dev_priv, i)
@@ -1360,6 +1372,8 @@ static int i915_drm_resume(struct drm_device *dev)i915_gem_resume (dev_priv); +intel_pxp_resume (dev_priv->pxp); +intel_modeset_init_hw (dev_priv);intel_init_clock_gating (dev_priv);intel_hpd_init (dev_priv);
@@ -1643,6 +1657,8 @@ static int intel_runtime_suspend(struct device *kdev)*/ i915_gem_runtime_suspend (dev_priv); +intel_pxp_runtime_suspend (dev_priv->pxp); +for_each_gt (gt, dev_priv, i)intel_gt_runtime_suspend (gt);
@@ -1747,6 +1763,8 @@ static int intel_runtime_resume(struct device *kdev)for_each_gt (gt, dev_priv, i)intel_gt_runtime_resume (gt); +intel_pxp_runtime_resume (dev_priv->pxp); +/* * On VLV/CHV display interrupts are part of the display * power well, so hpd is reinitialized from there. For
drivers/gpu/drm/i915/i915_drv.h +3 -4
@@ -72,6 +72,7 @@ struct intel_encoder;struct intel_limit ;struct intel_overlay_error_state ;struct vlv_s0ix_state ; +struct intel_pxp ;#define I915_GEM_GPU_DOMAINS \ (I915_GEM_DOMAIN_RENDER | \
@@ -364,6 +365,8 @@ struct drm_i915_private {struct file *mmap_singleton; } gem; +struct intel_pxp *pxp; +u8 pch_ssc_use;/* For i915gm/i945gm vblank irq workaround */
@@ -919,10 +922,6 @@ 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(to_gt(dev_priv))) -#define HAS_GMCH (dev_priv) (INTEL_INFO(dev_priv)->display.has_gmch)#define HAS_GMD_ID (i915) (INTEL_INFO(i915)->has_gmd_id)
drivers/gpu/drm/i915/pxp/intel_pxp.c +59 -15
119 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp.h +6 -4
@@ -9,15 +9,17 @@#include <linux/errno.h> #include <linux/types.h> -struct intel_pxp ;struct drm_i915_gem_object ; +struct drm_i915_private ; +struct intel_pxp ; -struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp); +struct intel_gt *pxp_to_gt (struct intel_pxp *pxp); +bool intel_pxp_is_supported (const struct intel_pxp *pxp);bool intel_pxp_is_enabled (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); +int intel_pxp_init (struct drm_i915_private *i915); +void intel_pxp_fini (struct drm_i915_private *i915);void intel_pxp_init_hw (struct intel_pxp *pxp);void intel_pxp_fini_hw (struct intel_pxp *pxp);
drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c +5 -3
@@ -3,9 +3,6 @@* 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"
@@ -13,6 +10,11 @@#include "i915_trace.h" +#include "intel_pxp.h" +#include "intel_pxp_cmd.h" +#include "intel_pxp_session.h" +#include "intel_pxp_types.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 | \
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c +29 -15
77 lines not on this page · raw message
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h +2 -2
@@ -10,10 +10,10 @@ struct intel_pxp;struct dentry ;#ifdef CONFIG_DRM_I915_PXP -void intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root); +void intel_pxp_debugfs_register (struct intel_pxp *pxp);#else static inline void -intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root) +intel_pxp_debugfs_register (struct intel_pxp *pxp) { }#endif
drivers/gpu/drm/i915/pxp/intel_pxp_irq.c +7 -3
@@ -3,14 +3,18 @@* Copyright(c) 2020 Intel Corporation. */ #include <linux/workqueue.h> -#include "intel_pxp.h" -#include "intel_pxp_irq.h" -#include "intel_pxp_session.h" +#include "gt/intel_gt_irq.h" #include "gt/intel_gt_regs.h" #include "gt/intel_gt_types.h" +#include "i915_irq.h" #include "i915_reg.h" + +#include "intel_pxp.h" +#include "intel_pxp_irq.h" +#include "intel_pxp_session.h" +#include "intel_pxp_types.h" #include "intel_runtime_pm.h" /**
drivers/gpu/drm/i915/pxp/intel_pxp_pm.c +3 -1
@@ -3,11 +3,13 @@* Copyright(c) 2020 Intel Corporation. */ +#include "i915_drv.h" +#include "intel_pxp.h" #include "intel_pxp_irq.h" #include "intel_pxp_pm.h" #include "intel_pxp_session.h" -#include "i915_drv.h" +#include "intel_pxp_types.h" void intel_pxp_suspend_prepare (struct intel_pxp *pxp) {
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +5 -3
@@ -11,17 +11,19 @@#include "gem/i915_gem_lmem.h" #include "i915_drv.h" +#include "intel_pxp.h" -#include "intel_pxp_session.h" -#include "intel_pxp_tee.h" #include "intel_pxp_cmd_interface_42.h" #include "intel_pxp_huc.h" +#include "intel_pxp_session.h" +#include "intel_pxp_tee.h" +#include "intel_pxp_types.h" static inline struct intel_pxp *i915_dev_to_pxp (struct device *i915_kdev) {struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev); -return &to_gt (i915)->pxp; +return i915->pxp; } static int intel_pxp_tee_io_message(struct intel_pxp *pxp,
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +8 -0
@@ -12,12 +12,20 @@#include <linux/workqueue.h> struct intel_context ; +struct intel_gt ;struct i915_pxp_component ; +struct drm_i915_private ;/** * struct intel_pxp - pxp state */ struct intel_pxp { +/** +* @ctrl_gt: poiner to the tile that owns the controls for PXP subsystem assets that +* the VDBOX, the KCR engine (and GSC CS depending on the platform) +*/ +struct intel_gt *ctrl_gt; +/** * @pxp_component: i915_pxp_component struct of the bound mei_pxp * module. Only set and cleared inside component bind/unbind functions,
base-commit: 90c46246ec9594809ffa91c726e9306d67cafb6a
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
== Series Details ==
== Series Details ==
Series: series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
URL : https://patchwork.freedesktop.org/series/111569/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
URL : https://patchwork.freedesktop.org/series/111569/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12461 -> Patchwork_111569v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/index.html
Participating hosts (41 -> 43)
------------------------------
Additional (3): fi-tgl-dsi bat-atsm-1 bat-dg1-6
Missing (1): fi-ilk-m540
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_111569v1:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@gem_exec_suspend@basic-s0@smem:
- {bat-atsm-1}: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-atsm-1/igt@gem_exec_suspend@[email protected]
Known issues
------------
Here are the changes found in Patchwork_111569v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap@basic:
- bat-dg1-6: NOTRUN -> [SKIP][2] ([i915#4083])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][3] ([i915#4079]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][4] ([i915#4077]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- bat-dg1-6: NOTRUN -> [SKIP][5] ([i915#7561])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg1-6: NOTRUN -> [SKIP][6] ([i915#6621])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][7] -> [INCOMPLETE][8] ([i915#4785])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/fi-hsw-4770/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-6: NOTRUN -> [SKIP][9] ([i915#4215])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg1-6: NOTRUN -> [SKIP][10] ([i915#4212]) +7 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- bat-dg1-6: NOTRUN -> [SKIP][11] ([fdo#111827]) +8 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- bat-dg1-6: NOTRUN -> [SKIP][12] ([i915#4103] / [i915#4213])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg1-6: NOTRUN -> [SKIP][13] ([fdo#109285])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-dg1-6: NOTRUN -> [SKIP][14] ([i915#1072] / [i915#4078]) +3 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg1-6: NOTRUN -> [SKIP][15] ([i915#3555])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-gtt:
- bat-dg1-6: NOTRUN -> [SKIP][16] ([i915#3708] / [i915#4077]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- bat-dg1-6: NOTRUN -> [SKIP][17] ([i915#3708] / [i915#4873])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-dg1-6: NOTRUN -> [SKIP][18] ([i915#3708]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-dg1-6/igt@[email protected]
* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][19] ([fdo#109271] / [i915#4312] / [i915#5594])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@read:
- {bat-rpls-2}: [SKIP][20] ([i915#2582]) -> [PASS][21] +4 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/bat-rpls-2/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-rpls-2/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-soraka: [DMESG-FAIL][22] ([i915#5334]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_addfb_basic@bad-pitch-65536:
- fi-kbl-soraka: [INCOMPLETE][24] -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/fi-kbl-soraka/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/fi-kbl-soraka/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- {bat-rpls-2}: [SKIP][26] ([i915#1849]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/bat-rpls-2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-rpls-2/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- {bat-rpls-2}: [SKIP][28] ([fdo#109295] / [i915#1845] / [i915#3708]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/bat-rpls-2/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/bat-rpls-2/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#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1759]: https://gitlab.freedesktop.org/drm/intel/issues/1759
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5594]: https://gitlab.freedesktop.org/drm/intel/issues/5594
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#6093]: https://gitlab.freedesktop.org/drm/intel/issues/6093
[i915#6094]: https://gitlab.freedesktop.org/drm/intel/issues/6094
[i915#6166]: https://gitlab.freedesktop.org/drm/intel/issues/6166
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7346]: https://gitlab.freedesktop.org/drm/intel/issues/7346
[i915#7357]: https://gitlab.freedesktop.org/drm/intel/issues/7357
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
Build changes
-------------
* Linux: CI_DRM_12461 -> Patchwork_111569v1
CI-20190529: 20190529
CI_DRM_12461: 90c46246ec9594809ffa91c726e9306d67cafb6a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7078: 71bce31c26998d5d53cff3138049261fd6c4fbaf @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111569v1: 90c46246ec9594809ffa91c726e9306d67cafb6a @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
28b71e8a076f drm/i915/pxp: Promote pxp subsystem to top-level of i915
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/index.html
Rodrigo Vivi
maintainerQuoted 28 lines · Alan Previn
Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only one of the tiles is used for control events pertaining to PXP operation (such as creating the arbitration session and session tear-down).
PXP as a global feature is accessible via batch buffer instructions on any engine/tile and the coherency across tiles is handled implicitly by the HW. In fact, for the foreseeable future, we are expecting this single-control-tile for the PXP subsystem.
In MTL, it's the standalone media tile (not the root tile) because it contains the VDBOX and KCR engine (among the assets PXP relies on for those events).
Looking at the current code design, each tile is represented by the
intel_gtstructure while theintel_pxpstructure currently hangs off theintel_gtstructure.Keeping the
intel_pxpstructure within theintel_gtstructure makes some internal functionalities more straight forward but adds code complexity to code readibility and maintainibility to many external-to-pxp subsystems which may need to pick the correctintel_gtstructure. An example of this would be theintel_pxp_is_activeorintel_pxp_is_enabledfunctionality which should be viewed as a global level inquiry, not a per-gt inquiry.
Quoted 4 lines
That said, this series promotes the
intel_pxpstructure into thedrm_i915_privatestructure making it a top-level subsystem and the PXP subsystem will select the control gt internally and keep a pointer to it for internal reference.
Alan, overall you patch looks great. Thanks for the patience. And thanks for the details above as well.
Please address the minor remaining things I could notice on this version now and I believe we will be good to get this in after that.
Thanks,
Rodrigo.
Quoted 313 lines
Changes from prior revs:
v6: - RemoveHAS_PXPmacro and replace it withintel_pxp_is_supported
because : [1] introduction of 'ctrl_gt' means we correct this for MTL's upcoming series now. [2] Also, this has little impact globally as its only used by PXP-internal callers at the moment.
- Change intel_pxp_init/fini to take in i915 as its input to avoid ptr-to-ptr in init/fini calls.(Jani).
- Remove the backpointer frompxp->i915since we can usepxp->ctrl_gt->i915if we need it. (Rodrigo).
v5: - Switch from series to single patch (Rodrigo).
- change function name frompxp_get_kcr_owner_gttopxp_get_ctrl_gt.
- Fix CI BAT failure by removing redundant call tointel_pxp_finifrom driver-remove.
- NOTE: remaining open still persists on using ptr-to-ptr and back-ptr.
v4: - Instead of maintainingintel_pxpas anintel_gtstructure member
and creating a number of convoluted helpers that takes in i915 as input and redirects to the correctintel_gtor takes anyintel_gtand internally replaces with the correctintel_gt, promote it to be a top-level i915 structure.
v3: - Rename gt level helper functions to "intel_pxp_is_enabled/
supported/active_on_gt" (Daniele)
- Upgrade_gt_supports_pxpto replace what wasintel_gtpxp_issupported as the newintel_pxp_is_supported_on_gtto check for PXP feature support vs the tee support for huc authentication. Fix pxp-debugfs-registration to use only the former to decide support. (Daniele)
- Couple minor optimizations.
v2: - Avoid introduction of new device info or gt variables and use
existing checks / macros to differentiate the correctGT->PXPcontrol ownership (Daniele Ceraolo Spurio)
- Don't reuse the updated global-checkers for per-GT callers (such as other files within PXP) to avoid unnecessary GT-reparsing, expose a replacement helper like the prior ones. (Daniele).
v1: - Add one more patch to the series for theintel_pxpsuspend/resume
for similar refactoringSigned-off-by Alan Previn <[email protected]>--- .../drm/i915/display/skl_universal_plane.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 +- drivers/gpu/drm/i915/gem/i915_gem_create.c | 2 +- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 5 -- drivers/gpu/drm/i915/gt/intel_gt_debugfs.c | 1 - drivers/gpu/drm/i915/gt/intel_gt_irq.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 8 -- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 - drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c | 2 +- drivers/gpu/drm/i915/i915_driver.c | 18 +++++ drivers/gpu/drm/i915/i915_drv.h | 7 +- drivers/gpu/drm/i915/pxp/intel_pxp.c | 74 +++++++++++++++---- drivers/gpu/drm/i915/pxp/intel_pxp.h | 10 ++- drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c | 8 +- drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c | 44 +++++++---- drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h | 4 +- drivers/gpu/drm/i915/pxp/intel_pxp_irq.c | 10 ++- drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 4 +- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 8 +- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 8 ++ 21 files changed, 153 insertions(+), 75 deletions(-)drivers/gpu/drm/i915/display/skl_universal_plane.c +1
-1@@ -1848,7 +1848,7 @@ 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 (&to_gt (i915)->pxp, obj, false) ==0 ; +return intel_pxp_key_check (i915->pxp, obj, false) ==0 ; }static bool pxp_is_borked (struct drm_i915_gem_object *obj)drivers/gpu/drm/i915/gem/i915_gem_context.c +3
-3@@ -257,7 +257,7 @@ static int proto_context_set_protected(struct drm_i915_private *i915,if (!protected) { pc->uses_protected_content = false; - }else if (!intel_pxp_is_enabled (&to_gt (i915)->pxp)) { + }else if (!intel_pxp_is_enabled (i915->pxp)) { ret = -ENODEV ; }else if ((pc->user_flags &BIT (UCONTEXT_RECOVERABLE )) || !(pc->user_flags &BIT (UCONTEXT_BANNABLE ))) {@@ -271,8 +271,8 @@ static int proto_context_set_protected(struct drm_i915_private *i915,*/ pc->pxp_wakeref =intel_runtime_pm_get (&i915->runtime_pm); -if (!intel_pxp_is_active (&to_gt (i915)->pxp)) - ret =intel_pxp_start (&to_gt (i915)->pxp); +if (!intel_pxp_is_active (i915->pxp)) + ret =intel_pxp_start (i915->pxp); }return ret;drivers/gpu/drm/i915/gem/i915_gem_create.c +1
-1@@ -384,7 +384,7 @@ static int ext_set_protected(struct i915_user_extension __user *base, void *dataif (ext.flags)return -EINVAL ; -if (!intel_pxp_is_enabled (&to_gt (ext_data->i915)->pxp)) +if (!intel_pxp_is_enabled (ext_data->i915->pxp))return -ENODEV ; ext_data->flags |=I915_BO_PROTECTED ;drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1
-1@@ -869,7 +869,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, true); + err =intel_pxp_key_check (vm->gt->i915->pxp, obj, true);if (err) {i915_gem_object_put (obj);return ERR_PTR (err);drivers/gpu/drm/i915/gt/intel_gt.c +0
-5@@ -8,7 +8,6 @@#include "gem/i915_gem_internal.h" #include "gem/i915_gem_lmem.h" -#include "pxp/intel_pxp.h" #include "i915_drv.h" #include "i915_perf_oa_regs.h" @@ -762,8 +761,6 @@ 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);@@ -803,8 +800,6 @@ void intel_gt_driver_unregister(struct intel_gt *gt)intel_rps_driver_unregister (>->rps);intel_gsc_fini (>->gsc); -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_debugfs.c +0
-1@@ -99,7 +99,6 @@ 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/gt/intel_gt_irq.c +1
-1@@ -76,7 +76,7 @@ gen11_other_irq_handler(struct intel_gt *gt, const u8 instance,return gen11_rps_irq_handler (&media_gt->rps, iir);if (instance ==OTHER_KCR_INSTANCE ) -return intel_pxp_irq_handler (>->pxp, iir); +return intel_pxp_irq_handler (gt->i915->pxp, iir);if (instance ==OTHER_GSC_INSTANCE )return intel_gsc_irq_handler (gt, iir);drivers/gpu/drm/i915/gt/intel_gt_pm.c +0
-8@@ -304,8 +304,6 @@ int intel_gt_resume(struct intel_gt *gt)intel_uc_resume (>->uc); -intel_pxp_resume (>->pxp); -user_forcewake (gt, false); out_fw:@@ -339,8 +337,6 @@ void intel_gt_suspend_prepare(struct intel_gt *gt) {user_forcewake (gt, true);wait_for_suspend (gt); - -intel_pxp_suspend_prepare (>->pxp); }static suspend_state_t pm_suspend_target (void )@@ -365,7 +361,6 @@ void intel_gt_suspend_late(struct intel_gt *gt)GEM_BUG_ON (gt->awake);intel_uc_suspend (>->uc); -intel_pxp_suspend (>->pxp);/* * On disabling the device, we want to turn off HW access to memory @@ -393,7 +388,6 @@ void intel_gt_suspend_late(struct intel_gt *gt)void intel_gt_runtime_suspend (struct intel_gt *gt) { -intel_pxp_runtime_suspend (>->pxp);intel_uc_runtime_suspend (>->uc);GT_TRACE (gt,"\n" );@@ -411,8 +405,6 @@ int intel_gt_runtime_resume(struct intel_gt *gt)if (ret)return ret; -intel_pxp_runtime_resume (>->pxp); -return 0 ; }drivers/gpu/drm/i915/gt/intel_gt_types.h +0
-3@@ -30,7 +30,6 @@#include "intel_rps_types.h" #include "intel_migrate_types.h" #include "intel_wakeref.h" -#include "pxp/intel_pxp_types.h" #include "intel_wopcm.h" struct drm_i915_private ;@@ -275,8 +274,6 @@ struct intel_gt {u8 wb_index;/* Only used on HAS_L3_CCS_READ() platforms */ } mocs; -struct intel_pxp pxp; -/* gt/gtN sysfs */ struct kobject sysfs_gt;drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c +1
-1@@ -32,7 +32,7 @@ int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc)GEM_WARN_ON (intel_uc_fw_is_loaded (&huc->fw)); - ret =intel_pxp_huc_load_and_auth (&huc_to_gt (huc)->pxp); + ret =intel_pxp_huc_load_and_auth (huc_to_gt (huc)->i915->pxp);if (ret)return ret;drivers/gpu/drm/i915/i915_driver.c +10
-0@@ -73,6 +73,8 @@#include "gt/intel_gt_pm.h" #include "gt/intel_rc6.h" +#include "pxp/intel_pxp.h" +#include "pxp/intel_pxp_debugfs.h" #include "pxp/intel_pxp_pm.h" #include "i915_file_private.h" @@ -759,6 +761,8 @@ static void i915_driver_register(struct drm_i915_private *dev_priv)for_each_gt (gt, dev_priv, i)intel_gt_driver_register (gt); +intel_pxp_debugfs_register (dev_priv->pxp); +i915_hwmon_register (dev_priv);intel_display_driver_register (dev_priv);@@ -790,6 +794,8 @@ static void i915_driver_unregister(struct drm_i915_private *dev_priv)intel_display_driver_unregister (dev_priv); +intel_pxp_fini (dev_priv); +for_each_gt (gt, dev_priv, i)intel_gt_driver_unregister (gt);@@ -933,6 +939,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret) goto out_cleanup_modeset2; +intel_pxp_init (i915); + ret =intel_modeset_init (i915);if (ret) goto out_cleanup_gem;@@ -1168,6 +1176,8 @@ static int i915_drm_prepare(struct drm_device *dev) {struct drm_i915_private *i915 =to_i915 (dev); +intel_pxp_suspend_prepare (i915->pxp); +/* * NB intel_display_suspend() may issue new requests after we've * ostensibly marked the GPU as ready-to-sleep here. We need to
drivers/gpu/drm/i915/i915_driver.c static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation) · line 1261
Quoted 4 lines
drivers/gpu/drm/i915/i915_driver.c +1
-0@@ -1248,6 +1258,8 @@ static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation)disable_rpm_wakeref_asserts (rpm); +intel_pxp_suspend (dev_priv->pxp);
is this really needed here in the suspend_late?
why not in suspend()?
In general what is needed in suspend_late is resumed from the resume_early, what doesn't look the case here. So something looks off.
Quoted 142 lines
drivers/gpu/drm/i915/i915_driver.c +7
-0+i915_gem_suspend_late (dev_priv);for_each_gt (gt, dev_priv, i)@@ -1360,6 +1372,8 @@ static int i915_drm_resume(struct drm_device *dev)i915_gem_resume (dev_priv); +intel_pxp_resume (dev_priv->pxp); +intel_modeset_init_hw (dev_priv);intel_init_clock_gating (dev_priv);intel_hpd_init (dev_priv);@@ -1643,6 +1657,8 @@ static int intel_runtime_suspend(struct device *kdev)*/ i915_gem_runtime_suspend (dev_priv); +intel_pxp_runtime_suspend (dev_priv->pxp); +for_each_gt (gt, dev_priv, i)intel_gt_runtime_suspend (gt);@@ -1747,6 +1763,8 @@ static int intel_runtime_resume(struct device *kdev)for_each_gt (gt, dev_priv, i)intel_gt_runtime_resume (gt); +intel_pxp_runtime_resume (dev_priv->pxp); +/* * On VLV/CHV display interrupts are part of the display * power well, so hpd is reinitialized from there. For drivers/gpu/drm/i915/i915_drv.h +3
-4@@ -72,6 +72,7 @@ struct intel_encoder;struct intel_limit ;struct intel_overlay_error_state ;struct vlv_s0ix_state ; +struct intel_pxp ;#define I915_GEM_GPU_DOMAINS \ (I915_GEM_DOMAIN_RENDER | \@@ -364,6 +365,8 @@ struct drm_i915_private {struct file *mmap_singleton; } gem; +struct intel_pxp *pxp; +u8 pch_ssc_use;/* For i915gm/i945gm vblank irq workaround */ @@ -919,10 +922,6 @@ 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(to_gt(dev_priv))) -#define HAS_GMCH (dev_priv) (INTEL_INFO(dev_priv)->display.has_gmch)#define HAS_GMD_ID (i915) (INTEL_INFO(i915)->has_gmd_id)drivers/gpu/drm/i915/pxp/intel_pxp.c +32
-10@@ -3,13 +3,19 @@* Copyright(c) 2020 Intel Corporation. */ #include <linux/workqueue.h> + +#include "gem/i915_gem_context.h" + +#include "gt/intel_context.h" +#include "gt/intel_gt.h" + +#include "i915_drv.h" +#include "intel_pxp.h" #include "intel_pxp_irq.h" #include "intel_pxp_session.h" #include "intel_pxp_tee.h" -#include "gem/i915_gem_context.h" -#include "gt/intel_context.h" -#include "i915_drv.h" +#include "intel_pxp_types.h" /** * DOC: PXP @@ -39,9 +45,15 @@* performed via the mei_pxp component module. */ -struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp) +struct intel_gt *pxp_to_gt (struct intel_pxp *pxp) { - return container_of(pxp, struct intel_gt, pxp); +return pxp->ctrl_gt; +} + +bool intel_pxp_is_supported (const struct intel_pxp *pxp) +{ +return (IS_ENABLED (CONFIG_DRM_I915_PXP ) && pxp->ctrl_gt && +INTEL_INFO (pxp->ctrl_gt->i915)->has_pxp &&VDBOX_MASK (pxp->ctrl_gt)); }bool intel_pxp_is_enabled (const struct intel_pxp *pxp)@@ -130,7 +142,7 @@ static void pxp_init_full(struct intel_pxp *pxp)if (ret) goto out_context; -drm_info (>->i915->drm,"Protected Xe Path (PXP) protected content support initialized\n" ); +drm_info (>->i915->drm,"Protected Xe Path v7B (PXP) protected content support initialized\n" );return ;@@ -138,31 +150,63 @@ static void pxp_init_full(struct intel_pxp *pxp)destroy_vcs_context (pxp); } -void intel_pxp_init (struct intel_pxp *pxp) +static struct intel_gt *pxp_get_ctrl_gt (struct drm_i915_private *i915) { -struct intel_gt *gt =pxp_to_gt (pxp); +struct intel_gt *gt =NULL ; +int i =0 ; + +for_each_gt (gt, i915, i) { +/* There can be only one GT that supports PXP */ +if (HAS_ENGINE (gt,GSC0 )) +return gt; + }/* we rely on the mei PXP module */ -if (!IS_ENABLED (CONFIG_INTEL_MEI_PXP )) -return ; +if (IS_ENABLED (CONFIG_INTEL_MEI_PXP )) +return &i915->gt0; + +return NULL ; +}
drivers/gpu/drm/i915/pxp/intel_pxp.c static void pxp_init_full(struct intel_pxp *pxp) · line 179
Quoted 10 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c +10
-0+ +int intel_pxp_init (struct drm_i915_private *i915) +{ +struct intel_pxp *newpxp; + + newpxp =kzalloc (sizeof (*newpxp),GFP_KERNEL ); +if (!newpxp) +return -ENOMEM ; + + i915->pxp = newpxp;
i915->pxp is already an intel_pxp *, why can't we simply doi915->pxp = kzalloc(sizeof(...
if (!i915->pxp) return -ENOMEM;
?
Quoted 250 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c +17
-5+ + newpxp->ctrl_gt =pxp_get_ctrl_gt (i915); +if (!newpxp->ctrl_gt) +return -ENODEV ;/* * If HuC is loaded by GSC but PXP is disabled, we can skip the init of * the full PXP session/object management and just init the tee channel. */ -if (HAS_PXP (gt->i915)) -pxp_init_full (pxp); -else if (intel_huc_is_loaded_by_gsc (>->uc.huc) &&intel_uc_uses_huc (>->uc)) -intel_pxp_tee_component_init (pxp); +if (intel_pxp_is_supported (newpxp)) +pxp_init_full (newpxp); +else if (intel_huc_is_loaded_by_gsc (&newpxp->ctrl_gt->uc.huc) && +intel_uc_uses_huc (&newpxp->ctrl_gt->uc)) +intel_pxp_tee_component_init (newpxp); + +return 0 ; } -void intel_pxp_fini (struct intel_pxp *pxp) +void intel_pxp_fini (struct drm_i915_private *i915) { +struct intel_pxp *pxp = i915->pxp; + pxp->arb_is_valid = false;intel_pxp_tee_component_fini (pxp);destroy_vcs_context (pxp); + +kfree (pxp); + i915->pxp =NULL ; }void intel_pxp_mark_termination_in_progress (struct intel_pxp *pxp)drivers/gpu/drm/i915/pxp/intel_pxp.h +6
-4@@ -9,15 +9,17 @@#include <linux/errno.h> #include <linux/types.h> -struct intel_pxp ;struct drm_i915_gem_object ; +struct drm_i915_private ; +struct intel_pxp ; -struct intel_gt *pxp_to_gt (const struct intel_pxp *pxp); +struct intel_gt *pxp_to_gt (struct intel_pxp *pxp); +bool intel_pxp_is_supported (const struct intel_pxp *pxp);bool intel_pxp_is_enabled (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); +int intel_pxp_init (struct drm_i915_private *i915); +void intel_pxp_fini (struct drm_i915_private *i915);void intel_pxp_init_hw (struct intel_pxp *pxp);void intel_pxp_fini_hw (struct intel_pxp *pxp);drivers/gpu/drm/i915/pxp/intel_pxp_cmd.c +5
-3@@ -3,9 +3,6 @@* 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" @@ -13,6 +10,11 @@#include "i915_trace.h" +#include "intel_pxp.h" +#include "intel_pxp_cmd.h" +#include "intel_pxp_session.h" +#include "intel_pxp_types.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 | \drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c +29
-15@@ -9,18 +9,20 @@#include <drm/drm_print.h> #include "gt/intel_gt_debugfs.h" +#include "i915_drv.h" +#include "intel_pxp.h" #include "intel_pxp_debugfs.h" #include "intel_pxp_irq.h" +#include "intel_pxp_types.h" static int pxp_info_show (struct seq_file *m,void *data) {struct intel_pxp *pxp = m->private;struct drm_printer p =drm_seq_file_printer (m); -bool enabled =intel_pxp_is_enabled (pxp); -if (!enabled) { +if (!intel_pxp_is_enabled (pxp)) {drm_printf (&p,"pxp disabled\n" );return 0 ; }@@ -30,7 +32,19 @@ static int pxp_info_show(struct seq_file *m, void *data)return 0 ; } -DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE (pxp_info); + +static int pxp_info_open (struct inode *inode,struct file *file) +{ +return single_open (file, pxp_info_show, inode->i_private); +} + +static const struct file_operations pxp_info_fops = { + .owner =THIS_MODULE , + .open = pxp_info_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +};static int pxp_terminate_get (void *data,u64 *val) {@@ -59,23 +73,23 @@ static int pxp_terminate_set(void *data, u64 val) }DEFINE_SIMPLE_ATTRIBUTE (pxp_terminate_fops, pxp_terminate_get, pxp_terminate_set,"%llx\n" ); -void intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *gt_root) + +void intel_pxp_debugfs_register (struct intel_pxp *pxp) { -static const struct intel_gt_debugfs_file files[] = { - {"info" , &pxp_info_fops,NULL }, - {"terminate_state" , &pxp_terminate_fops,NULL }, - }; -struct dentry *root; +struct drm_minor *minor; +struct dentry *pxproot; -if (!gt_root) +if (!intel_pxp_is_supported (pxp))return ; -if (!HAS_PXP ((pxp_to_gt (pxp)->i915))) + minor = pxp->ctrl_gt->i915->drm.primary; + pxproot =debugfs_create_dir ("pxp" , minor->debugfs_root); +if (IS_ERR (pxproot))return ; - root =debugfs_create_dir ("pxp" , gt_root); -if (IS_ERR (root)) -return ; +debugfs_create_file ("info" ,0444 , pxproot, + pxp, &pxp_info_fops); -intel_gt_debugfs_register_files (root, files,ARRAY_SIZE (files), pxp); +debugfs_create_file ("terminate_state" ,0644 , pxproot, + pxp, &pxp_terminate_fops); }drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h +2
-2@@ -10,10 +10,10 @@ struct intel_pxp;struct dentry ;#ifdef CONFIG_DRM_I915_PXP -void intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root); +void intel_pxp_debugfs_register (struct intel_pxp *pxp);#else static inline void -intel_pxp_debugfs_register (struct intel_pxp *pxp,struct dentry *root) +intel_pxp_debugfs_register (struct intel_pxp *pxp) { }#endif drivers/gpu/drm/i915/pxp/intel_pxp_irq.c +7
-3@@ -3,14 +3,18 @@* Copyright(c) 2020 Intel Corporation. */ #include <linux/workqueue.h> -#include "intel_pxp.h" -#include "intel_pxp_irq.h" -#include "intel_pxp_session.h" +#include "gt/intel_gt_irq.h" #include "gt/intel_gt_regs.h" #include "gt/intel_gt_types.h" +#include "i915_irq.h" #include "i915_reg.h" + +#include "intel_pxp.h" +#include "intel_pxp_irq.h" +#include "intel_pxp_session.h" +#include "intel_pxp_types.h" #include "intel_runtime_pm.h" /** drivers/gpu/drm/i915/pxp/intel_pxp_pm.c +3
-1@@ -3,11 +3,13 @@* Copyright(c) 2020 Intel Corporation. */ +#include "i915_drv.h" +#include "intel_pxp.h" #include "intel_pxp_irq.h" #include "intel_pxp_pm.h" #include "intel_pxp_session.h" -#include "i915_drv.h" +#include "intel_pxp_types.h" void intel_pxp_suspend_prepare (struct intel_pxp *pxp) {drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +1
-2@@ -11,17 +11,19 @@#include "gem/i915_gem_lmem.h" #include "i915_drv.h" +#include "intel_pxp.h" -#include "intel_pxp_session.h" -#include "intel_pxp_tee.h" #include "intel_pxp_cmd_interface_42.h" #include "intel_pxp_huc.h"
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c line 26
Quoted 10 lines
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +4
-1+#include "intel_pxp_session.h" +#include "intel_pxp_tee.h" +#include "intel_pxp_types.h" static inline struct intel_pxp *i915_dev_to_pxp (struct device *i915_kdev) {struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev); -return &to_gt (i915)->pxp; +return i915->pxp;
hmmm... now that we have pxp under i915, we should simply kill this function and move it to simply use i915->pxp.
Quoted 33 lines
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +0
-0} static int intel_pxp_tee_io_message(struct intel_pxp *pxp,drivers/gpu/drm/i915/pxp/intel_pxp_types.h +8
-0@@ -12,12 +12,20 @@#include <linux/workqueue.h> struct intel_context ; +struct intel_gt ;struct i915_pxp_component ; +struct drm_i915_private ;/** * struct intel_pxp - pxp state */ struct intel_pxp { +/** +* @ctrl_gt: poiner to the tile that owns the controls for PXP subsystem assets that +* the VDBOX, the KCR engine (and GSC CS depending on the platform) +*/ +struct intel_gt *ctrl_gt; +/** * @pxp_component: i915_pxp_component struct of the bound mei_pxp * module. Only set and cleared inside component bind/unbind functions, base-commit:
90c46246ec9594809ffa91c726e9306d67cafb6aSignature · 1 line
2.34.1
Quoted 7 lines · Rodrigo
Quoted 6 lines · Alan Previn
Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only one of the tiles is used for control events pertaining to PXP
Alan: [snip]
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -1168,6 +1176,8 @@ static int i915_drm_prepare(struct drm_device *dev) {struct drm_i915_private *i915 =to_i915 (dev); +intel_pxp_suspend_prepare (i915->pxp); +/* * NB intel_display_suspend() may issue new requests after we've * ostensibly marked the GPU as ready-to-sleep here. We need to @@ -1248,6 +1258,8 @@ static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation)disable_rpm_wakeref_asserts (rpm);
Quoted 8 lines
drivers/gpu/drm/i915/i915_driver.c static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation) · line 1261
Quoted 1 line
drivers/gpu/drm/i915/i915_driver.c +1
-0+intel_pxp_suspend (dev_priv->pxp);is this really needed here in the
suspend_late?
why not insuspend()?In general what is needed in
suspend_lateis resumed from theresume_early, what doesn't look the case here. So something looks off.
Actually this patch is NOT changing the code flow of when these pxp pm functions are getting called from an i915-level perspective - i am merely moving it from inside gt level to top level up:
Original --> i915_drm_suspend_late calls i915_gem_suspend_late calls intel_gt_suspend_late calls intel_pxp_suspend Patch --> i915_drm_suspend_late calls intel_pxp_suspend (before calling i915_gem_suspend_late)
Putting that aside, i think the original code was designed to have the suspend-prepare do nearly everything except disable the KCR registers which is postponed in order to handle a failed system-suspend-prepare (after pxp's suspend- prepare). A failed system-suspend-prepare (after pxp's suspend-prepare) would be recoverable with no-op from pxp's perspective as the UMD would be forced to recreate the pxp context that recreates arb session again and because the KCR registers hadnt been disabled, nothing more is required. I'm not 100% sure so I'll ping Daniele jump in to correct me.
That said, the better way, for code readibility, would be completely skip having an intel_pxp_suspend and just disable the KCR in intel_pxp_suspend_prepare and instead add an i915 callback for resume_complete (which is the symmetrical opposite of suspend_prepare and surprisingly non-existend in i915 codebase) in order to re-start kcr registers there for the case of a failed-system-suspend-prepare or completion of resume. I have a separate series that is attempting to fix some of this lack of symmetry here: https://patchwork.freedesktop.org/patch/513279/?series=111409&rev=1 but i hadn't removed the intel_pxp_suspend because i am not sure if the i915-resume-complete callback would still be called if i915 itself was the reason for the failed suspend-prepare AND the pxp-suspend-prepare had occured. So i need to craft out a way to test that.
Do you want to continue pursuing the final fixups for pxp's suspend-resume flows in this patch? Again, i am NOT changing this flow - just moving it from inside-gt to outside gem-gt where for suspend we move it outside-and-before and for resume we move it outside-and-after.
Quoted 2 lines
Quoted 2 lines
Alan: [snip]
Quoted 17 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c static void pxp_init_full(struct intel_pxp *pxp) · line 179
Quoted 13 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c +10
-0+i915_gem_suspend_late (dev_priv);for_each_gt (gt, dev_priv, i) +int intel_pxp_init(struct drm_i915_private *i915) +{ +struct intel_pxp *newpxp; + + newpxp =kzalloc (sizeof (*newpxp),GFP_KERNEL ); +if (!newpxp) +return -ENOMEM ; + + i915->pxp = newpxp;
i915->pxpis already anintel_pxp*, why can't we simply doi915->pxp= kzalloc(sizeof(...
Quoted 4 lines
if (!i915->pxp) return -ENOMEM;?
yes but i wanted to avoid using 'i915->pxp' for all the codes below and just use a local variable to keep it shorter. But since that's what you prefer, I will respin accordingly.
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c +5
-4+ + newpxp->ctrl_gt =pxp_get_ctrl_gt (i915); +if (!newpxp->ctrl_gt) +return -ENODEV ;/* * If HuC is loaded by GSC but PXP is disabled, we can skip the init of * the full PXP session/object management and just init the tee channel. */ -if (HAS_PXP (gt->i915)) -pxp_init_full (pxp); -else if (intel_huc_is_loaded_by_gsc (>->uc.huc) &&intel_uc_uses_huc (>->uc)) -intel_pxp_tee_component_init (pxp); +if (intel_pxp_is_supported (newpxp))
Quoted 8 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c static void pxp_init_full(struct intel_pxp *pxp) · line 196
Quoted 8 lines
drivers/gpu/drm/i915/pxp/intel_pxp.c +6
-0+pxp_init_full (newpxp); + else if (intel_huc_is_loaded_by_gsc(&newpxp->ctrl_gt->uc.huc) && + intel_uc_uses_huc(&newpxp->ctrl_gt->uc)) +intel_pxp_tee_component_init (newpxp); + +return 0 ; }
Alan: [snip]
Quoted 10 lines
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c line 26
Quoted 6 lines
static inline struct
intel_pxp*i915_dev_to_pxp(struct device*i915_kdev) {drivers/gpu/drm/i915/pxp/intel_pxp_tee.c +1
-1struct drm_i915_private *i915 =kdev_to_i915 (i915_kdev); -return &to_gt (i915)->pxp; +return i915->pxp;hmmm... now that we have pxp under i915, we should simply kill this function and move it to simply use
i915->pxp.
Alan: sure will remove this.
Vivi, Rodrigo
maintainerQuoted 78 lines · Alan Previn
Quoted 8 lines · Rodrigo
Quoted 7 lines · Alan Previn
Starting with MTL, there will be two GT-tiles, a render and media tile. PXP as a service for supporting workloads with protected contexts and protected buffers can be subscribed by process workloads on any tile. However, depending on the platform, only one of the tiles is used for control events pertaining to PXP
Alan: [snip]
Quoted 22 lines
Quoted 14 lines
drivers/gpu/drm/i915/i915_driver.c +0
-0@@ -1168,6 +1176,8 @@ static int i915_drm_prepare(struct drm_device *dev) { struct drm_i915_private *i915 = to_i915(dev);
+ intel_pxp_suspend_prepare(i915->pxp);
+
/*
* NBintel_display_suspend()may issue new requests after we've
* ostensibly marked the GPU as ready-to-sleep here. We need to(quoted diff) +0
-0@@ -1248,6 +1258,8 @@ static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation)Quoted 4 lines
disable_rpm_wakeref_asserts(rpm);
+ intel_pxp_suspend(dev_priv->pxp);is this really needed here in the
suspend_late?
why not insuspend()?Quoted 4 lines
In general what is needed in
suspend_lateis resumed from theresume_early,
what doesn't look the case here. So something looks off.Actually this patch is NOT changing the code flow of when these pxp pm functions are getting called from an i915-level perspective - i am merely moving it from inside gt level to top level up:
Original -->
i915_drm_suspend_latecallsi915_gem_suspend_latecallsintel_gt_suspend_latecallsintel_pxp_suspend
Patch -->i915_drm_suspend_latecallsintel_pxp_suspend(before callingi915_gem_suspend_late)Putting that aside, i think the original code was designed to have the suspend-prepare do nearly everything except
disable the KCR registers which is postponed in order to handle a failed system-suspend-prepare (after pxp's suspend- prepare). A failed system-suspend-prepare (after pxp's suspend- prepare) would be recoverable with no-op from pxp's perspective as the UMD would be forced to recreate the pxp context that recreates arb session again and because the KCR registers hadnt been disabled, nothing more is required. I'm not 100% sure so I'll ping Daniele jump in to correct me.That said, the better way, for code readibility, would be completely skip having an
intel_pxp_suspendand just disable
the KCR inintel_pxp_suspend_prepareand instead add an i915 callback forresume_complete(which is the symmetrical
opposite ofsuspend_prepareand surprisingly non-existend in i915 codebase) in order to re-start kcr registers there for
the case of a failed-system-suspend-prepare or completion of resume. I have a separate series that is attempting to fix
some of this lack of symmetry
here: https://patchwork.freedesktop.org/patch/513279/?series=111409&r
ev=1 but i hadn't
removed theintel_pxp_suspendbecause i am not sure if the i915- resume-complete callback would still be called if i915 itself was the reason for the failed suspend-prepare AND the pxp- suspend-prepare had occured. So i need to craft out a
way to test that.
Quoted 5 lines
Do you want to continue pursuing the final fixups for pxp's suspend- resume flows in this patch? Again, i am NOT changing
this flow - just moving it from inside-gt to outside gem-gt where for suspend we move it outside-and-before and for
resume we move it outside-and-after.
Oh! okay, let's move without changing this flow in this patch and work in a follow up.
Quoted 74 lines
Quoted 3 lines
Quoted 3 lines
Alan: [snip]
Quoted 12 lines
Quoted 12 lines
+
i915_gem_suspend_late(dev_priv);
for_each_gt(gt,dev_priv, i)drivers/gpu/drm/i915/pxp/intel_pxp.c +8
-0+int intel_pxp_init (struct drm_i915_private *i915) +{ + struct intel_pxp *newpxp; + + newpxp = kzalloc(sizeof(*newpxp), GFP_KERNEL); + if (!newpxp) + return -ENOMEM; +Quoted 9 lines
Quoted 1 line
+ i915->pxp = newpxp;
i915->pxpis already anintel_pxp*, why can't we simply doi915->pxp= kzalloc(sizeof(...
if (!i915->pxp)
return-ENOMEM;
?yes but i wanted to avoid using '
i915->pxp' for all the codes below and just use a local variable to keep it shorter.
But since that's what you prefer, I will respin accordingly.Quoted 19 lines
Quoted 19 lines
+
+ newpxp->ctrl_gt =pxp_get_ctrl_gt(i915);
+ if (!newpxp->ctrl_gt)
+ return-ENODEV;
/*
* If HuC is loaded by GSC but PXP is disabled, we can skip the init of
* the full PXP session/object management and just init the tee channel.
*/
- if (HAS_PXP(gt->i915))
- pxp_init_full(pxp);
- else if (intel_huc_is_loaded_by_gsc(>->uc.huc)&&intel_uc_uses_huc(>->uc))
- intel_pxp_tee_component_init(pxp);
+ if (intel_pxp_is_supported(newpxp))
+ pxp_init_full(newpxp);
+ else if (intel_huc_is_loaded_by_gsc(&newpxp->ctrl_gt-Quoted 7 lines
Quoted 7 lines
Quoted 1 line
uc.huc) &&
+
intel_uc_uses_huc(&newpxp->ctrl_gt->uc)) + intel_pxp_tee_component_init(newpxp); +
+ return 0;
}Alan: [snip]
Quoted 8 lines
Quoted 7 lines
static inline struct
intel_pxp*i915_dev_to_pxp(struct device*i915_kdev)
{
structdrm_i915_private*i915 =kdev_to_i915(i915_kdev);
- return &to_gt(i915)->pxp;
+ returni915->pxp;Quoted 4 lines
hmmm... now that we have pxp under i915, we should simply kill this function
and move it to simply usei915->pxp.Alan: sure will remove this.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
In reply to Alan Previn== Series Details ==
== Series Details ==
Series: series starting with [v7,1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915
URL : https://patchwork.freedesktop.org/series/111569/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12461_full -> Patchwork_111569v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 13)
------------------------------
Additional (2): shard-rkl shard-dg1
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_111569v1_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@v3d/v3d_get_bo_offset@create-get-offsets}:
- {shard-dg1}: NOTRUN -> [SKIP][1] +13 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-dg1-15/igt@v3d/[email protected]
Known issues
------------
Here are the changes found in Patchwork_111569v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][2] -> [FAIL][3] ([i915#2842])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb8/igt@gem_exec_fair@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][4] ([i915#2842])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@[email protected]
* igt@gem_lmem_swapping@smem-oom:
- shard-apl: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#4613]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl7/igt@[email protected]
* igt@gem_softpin@evict-single-offset:
- shard-apl: NOTRUN -> [FAIL][7] ([i915#4171])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl7/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-glk: NOTRUN -> [DMESG-WARN][8] ([i915#4991])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [PASS][9] -> [SKIP][10] ([i915#4281])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb3/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- shard-skl: [PASS][11] -> [DMESG-FAIL][12] ([i915#5334])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl1/igt@i915_selftest@live@gt_heartbeat.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl9/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_async_flips@alternate-sync-async-flip@pipe-b-edp-1:
- shard-skl: [PASS][13] -> [FAIL][14] ([i915#2521]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl1/igt@kms_async_flips@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl6/igt@kms_async_flips@[email protected]
* igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-skl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3886]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#3886])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271]) +14 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl7/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@dp-hpd-for-each-pipe:
- shard-glk: NOTRUN -> [SKIP][18] ([fdo#109271] / [fdo#111827]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@[email protected]
* igt@kms_color_chamelium@ctm-limited-range:
- shard-skl: NOTRUN -> [SKIP][19] ([fdo#109271] / [fdo#111827]) +4 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#3555])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][21] ([i915#2587] / [i915#2672]) +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb7/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#2672]) +4 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][23] ([i915#2672] / [i915#3555]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render:
- shard-skl: NOTRUN -> [SKIP][24] ([fdo#109271]) +34 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render.html
* igt@kms_plane_alpha_blend@constant-alpha-max@pipe-a-edp-1:
- shard-skl: NOTRUN -> [FAIL][25] ([i915#4573]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl7/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-fully-sf:
- shard-glk: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#658])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-move-continuous-sf:
- shard-skl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#658])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-iclb: NOTRUN -> [SKIP][28] ([fdo#109642] / [fdo#111068] / [i915#658])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb8/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109441])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb5/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@kms_vblank@pipe-d-query-busy-hang:
- shard-glk: NOTRUN -> [SKIP][31] ([fdo#109271]) +23 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk4/igt@[email protected]
* igt@syncobj_wait@wait-for-submit-delayed-submit:
- shard-skl: [PASS][32] -> [DMESG-WARN][33] ([i915#1982])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl6/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@[email protected]
* igt@sysfs_clients@recycle-many:
- shard-skl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#2994])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl9/igt@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][35] ([i915#658]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb8/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb2/igt@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglb: [FAIL][37] ([i915#6268]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb5/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb3/igt@[email protected]
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [SKIP][39] ([i915#4525]) -> [PASS][40] +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb7/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb1/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][41] ([i915#2842]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb3/igt@gem_exec_fair@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [FAIL][43] ([i915#2842]) -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-glk2/igt@gem_exec_fair@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_softpin@evict-single-offset:
- shard-tglb: [FAIL][45] ([i915#4171]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb8/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb5/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- {shard-tglu}: [FAIL][47] ([i915#3825]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglu-3/igt@i915_pm_lpsp@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglu-1/igt@i915_pm_lpsp@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-tglb: [DMESG-WARN][49] ([i915#5591]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb3/igt@i915_selftest@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb5/igt@i915_selftest@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-skl: [INCOMPLETE][51] ([i915#4817] / [i915#7233]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl7/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][53] ([i915#2346]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-glk1/igt@kms_cursor_legacy@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk9/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: [DMESG-WARN][55] ([i915#180]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-apl6/igt@kms_flip@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@a-edp1:
- shard-skl: [FAIL][57] ([i915#2122]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl9/igt@kms_flip@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl4/igt@kms_flip@[email protected]
* igt@kms_lease@atomic_implicit_crtc@pipe-a-hdmi-a-1:
- shard-glk: [DMESG-WARN][59] ([i915#118]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-glk1/igt@kms_lease@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-glk9/igt@kms_lease@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-edp-1:
- shard-skl: [INCOMPLETE][61] ([i915#7266]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl6/igt@kms_pipe_crc_basic@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl1/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1:
- shard-iclb: [SKIP][63] ([i915#5176]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb3/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb7/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][65] ([fdo#109441]) -> [PASS][66] +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb8/igt@kms_psr@psr2_sprite_mmap_gtt.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-iclb: [SKIP][67] ([i915#5519]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb7/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb5/igt@[email protected]
* igt@perf_pmu@interrupts:
- shard-skl: [FAIL][69] ([i915#7318]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl7/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl9/igt@[email protected]
* igt@perf_pmu@module-unload:
- shard-skl: [DMESG-WARN][71] ([i915#1982]) -> [PASS][72] +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-skl1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-skl6/igt@[email protected]
#### Warnings ####
* igt@gem_pread@exhaustion:
- shard-apl: [INCOMPLETE][73] ([i915#7248]) -> [WARN][74] ([i915#2658])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-apl8/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl1/igt@[email protected]
- shard-tglb: [INCOMPLETE][75] ([i915#7248]) -> [WARN][76] ([i915#2658]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-tglb1/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-tglb1/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-iclb: [SKIP][77] ([fdo#111068] / [i915#658]) -> [SKIP][78] ([i915#2920])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb8/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-iclb: [SKIP][79] ([i915#2920]) -> [SKIP][80] ([fdo#111068] / [i915#658])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-iclb2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-iclb5/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][81], [FAIL][82], [FAIL][83]) ([i915#180] / [i915#3002] / [i915#4312]) -> ([FAIL][84], [FAIL][85]) ([i915#3002] / [i915#4312])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-apl2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-apl6/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12461/shard-apl3/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl2/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/shard-apl2/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#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2435]: https://gitlab.freedesktop.org/drm/intel/issues/2435
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3063]: https://gitlab.freedesktop.org/drm/intel/issues/3063
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3639]: https://gitlab.freedesktop.org/drm/intel/issues/3639
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3938]: https://gitlab.freedesktop.org/drm/intel/issues/3938
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4171]: https://gitlab.freedesktop.org/drm/intel/issues/4171
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4877]: https://gitlab.freedesktop.org/drm/intel/issues/4877
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4884]: https://gitlab.freedesktop.org/drm/intel/issues/4884
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7233]: https://gitlab.freedesktop.org/drm/intel/issues/7233
[i915#7248]: https://gitlab.freedesktop.org/drm/intel/issues/7248
[i915#7266]: https://gitlab.freedesktop.org/drm/intel/issues/7266
[i915#7276]: https://gitlab.freedesktop.org/drm/intel/issues/7276
[i915#7318]: https://gitlab.freedesktop.org/drm/intel/issues/7318
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7582]: https://gitlab.freedesktop.org/drm/intel/issues/7582
Build changes
-------------
* Linux: CI_DRM_12461 -> Patchwork_111569v1
CI-20190529: 20190529
CI_DRM_12461: 90c46246ec9594809ffa91c726e9306d67cafb6a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7078: 71bce31c26998d5d53cff3138049261fd6c4fbaf @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111569v1: 90c46246ec9594809ffa91c726e9306d67cafb6a @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111569v1/index.html