drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
Subsystems (2)
PATCH 1/1 drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
During suspend resume flow it was seen that lots forcewakes are taken and released for media. So to avoid HANG due to MC6 entry/exit while accessing media applied Wa_14017073508 in suspend/resume flow.
--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 6 ++++- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 32 ++++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/i915_driver.c | 32 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_pm.c +5 -1
@@ -160,8 +160,12 @@ void i915_gem_suspend_late(struct drm_i915_private *i915)* machine in an unusable condition. */ -for_each_gt (gt, i915, i) +for_each_gt (gt, i915, i) { +/* Wa_14017073508: mtl */ +mtl_media_busy (gt);intel_gt_suspend_late (gt); +mtl_media_idle (gt); + }spin_lock_irqsave (&i915->mm.obj_lock, flags);for (phase = phases; *phase; phase++) {
drivers/gpu/drm/i915/gt/intel_gt_pm.c +21 -11
@@ -26,24 +26,34 @@#define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) -static void mtl_media_busy (struct intel_gt *gt) +void mtl_media_busy (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && +if (gt &&IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && gt->type ==GT_MEDIA ) -snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , -PCODE_MBOX_GT_STATE_MEDIA_BUSY , -PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +if (!atomic_inc_not_zero (>->media_wakeref)) { +drm_err (>->i915->drm,"Media busy\n" ); +snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , +PCODE_MBOX_GT_STATE_MEDIA_BUSY , +PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +atomic_inc (>->media_wakeref); + } } -static void mtl_media_idle (struct intel_gt *gt) +void mtl_media_idle (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) -snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , -PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY , -PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +if (gt &&IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && + gt->type ==GT_MEDIA ) { +WARN_ON (atomic_read (>->media_wakeref) <=0 ); +if (!atomic_add_unless (>->media_wakeref,-1 ,1 )) { +drm_err (>->i915->drm,"Media idle\n" ); +snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , +PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY , +PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +atomic_dec (>->media_wakeref); + } + } }static void user_forcewake (struct intel_gt *gt,bool suspend)
drivers/gpu/drm/i915/gt/intel_gt_pm.h +3 -0
@@ -89,4 +89,7 @@ static inline bool is_mock_gt(const struct intel_gt *gt) return I915_SELFTEST_ONLY(gt->awake == -ENODEV); } +void mtl_media_busy (struct intel_gt *gt); +void mtl_media_idle (struct intel_gt *gt); +#endif /* INTEL_GT_PM_H */
drivers/gpu/drm/i915/gt/intel_gt_types.h +1 -0
@@ -145,6 +145,7 @@ struct intel_gt {struct intel_wakeref wakeref;atomic_t user_wakeref; +atomic_t media_wakeref;struct list_head closed_vma;spinlock_t closed_lock;/* guards the list of closed_vma */
drivers/gpu/drm/i915/i915_driver.c +32 -0
@@ -327,6 +327,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)intel_gmch_bar_setup (dev_priv);intel_device_info_runtime_init (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt);for_each_gt (gt, dev_priv, i) { ret =intel_gt_init_mmio (gt);if (ret)
@@ -335,10 +337,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)/* As early as possible, scrub existing GPU state before clobbering */ sanitize_gpu (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);return 0 ; err_uncore: +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);intel_gmch_bar_teardown (dev_priv);return ret;
@@ -781,6 +787,12 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret <0 ) goto out_tiles_cleanup; +/* Wa_14017073508: mtl */ +if (i915->media_gt) { +atomic_set (&i915->media_gt->media_wakeref,0 ); +mtl_media_busy (i915->media_gt); + } + ret =i915_driver_hw_probe (i915);if (ret <0 ) goto out_cleanup_mmio;
@@ -838,6 +850,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_gem_drain_freed_objects (i915);i915_ggtt_driver_late_release (i915); out_cleanup_mmio: +/* Wa_14017073508: mtl */ +mtl_media_idle (i915->media_gt);i915_driver_mmio_release (i915); out_tiles_cleanup:intel_gt_release_all (i915);
@@ -1063,6 +1077,9 @@ static int i915_drm_suspend(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +/* We do a lot of poking in a lot of registers, make sure they work * properly. */ intel_power_domains_disable (dev_priv);
@@ -1097,6 +1114,9 @@ static int i915_drm_suspend(struct drm_device *dev)intel_dmc_suspend (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);i915_gem_drain_freed_objects (dev_priv);
@@ -1197,6 +1217,9 @@ static int i915_drm_resume(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =i915_pcode_init (dev_priv);if (ret)return ret;
@@ -1260,6 +1283,9 @@ static int i915_drm_resume(struct drm_device *dev)intel_gvt_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return 0 ;
@@ -1319,6 +1345,9 @@ static int i915_drm_resume_early(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =vlv_resume_prepare (dev_priv, false);if (ret) drm_err(&dev_priv->drm,
@@ -1333,6 +1362,9 @@ static int i915_drm_resume_early(struct drm_device *dev)intel_power_domains_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return ret;
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
URL : https://patchwork.freedesktop.org/series/114657/
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 drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
URL : https://patchwork.freedesktop.org/series/114657/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12810 -> Patchwork_114657v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/index.html
Participating hosts (39 -> 37)
------------------------------
Missing (2): bat-adls-5 bat-dg1-6
Known issues
------------
Here are the changes found in Patchwork_114657v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][1] ([i915#6367] / [i915#7913])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-2/igt@i915_selftest@[email protected]
- bat-rpls-1: [PASS][2] -> [DMESG-FAIL][3] ([i915#6367])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/bat-rpls-1/igt@i915_selftest@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-rpls-2: NOTRUN -> [SKIP][4] ([i915#7828])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-2/igt@[email protected]
- bat-rpls-1: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-1/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-rpls-1: NOTRUN -> [SKIP][6] ([i915#1845])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-1/igt@[email protected]
- bat-rpls-2: NOTRUN -> [SKIP][7] ([i915#1845])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-2/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: [ABORT][8] ([i915#6687] / [i915#7978]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/bat-rpls-1/igt@gem_exec_suspend@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-1/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][10] ([i915#5334]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@migrate:
- bat-adlp-6: [DMESG-FAIL][12] ([i915#7699]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/bat-adlp-6/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-adlp-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- bat-rpls-2: [ABORT][14] ([i915#7694] / [i915#7913] / [i915#7982]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/bat-rpls-2/igt@i915_selftest@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/bat-rpls-2/igt@i915_selftest@[email protected]
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7694]: https://gitlab.freedesktop.org/drm/intel/issues/7694
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
Build changes
-------------
* Linux: CI_DRM_12810 -> Patchwork_114657v1
CI-20190529: 20190529
CI_DRM_12810: 030c24d089b9c566f8cf9e15f49fc4e298396740 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7180: b6b1ceb4fc4d8f83a9540e4628a6c2648514bb19 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_114657v1: 030c24d089b9c566f8cf9e15f49fc4e298396740 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
6ef4d450e532 drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/index.html
Quoted 12 lines
-----Original Message-----
From: Nilawar, Badal <[email protected]>
Sent: Saturday, March 4, 2023 9:48 PM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Ewins, Jon <[email protected]>; Belgaumkar, Vinay <[email protected]>; Vivi, Rodrigo <[email protected]>
Subject: [PATCH] drm/i915/mtl: ExtendWa_14017073508in suspend/resume flow
Quoted 3 lines
During suspend resume flow it was seen that lots forcewakes are taken and released for media. So to avoid HANG due to MC6 entry/exit while accessing media applied
Wa_14017073508in suspend/resume flow.
We need to fix such gaps in runtime PM as well, but that will make this WA dirty somewhat similar to other RC6 related WA on other platforms. I suggest to disable the MC6 rather on A step rather than having this form of WA. This WA is not needed on A step. @rodrigo and @matt what is you opinion here ?
However some comment her to improve this patch.
Quoted 16 lines
Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 6 ++++- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 32 ++++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/i915_driver.c | 32 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_pm.c +0
-0
drivers/gpu/drm/i915/gem/i915_gem_pm.c void i915_gem_suspend_late(struct · line 166
Quoted 8 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +3
-1@@ -160,8 +160,12 @@ void i915_gem_suspend_late(structdrm_i915_private *i915) * machine in an unusable condition. */ -for_each_gt (gt, i915, i) +for_each_gt (gt, i915, i) { +/* Wa_14017073508: mtl */ +mtl_media_busy (gt);
Let's add these busy/idle in intel_gt_suspend_late()
Quoted 21 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +2
-0intel_gt_suspend_late (gt); +mtl_media_idle (gt); + }spin_lock_irqsave (&i915->mm.obj_lock, flags);for (phase = phases; *phase; phase++) { diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.cb/drivers/gpu/drm/i915/gt/intel_gt_pm.c
indexcef3d6f5c34e..1f3bf1cf0421100644drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-2@@ -26,24 +26,34 @@#define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) -static void mtl_media_busy (struct intel_gt *gt) +void mtl_media_busy (struct intel_gt *gt) {/* Wa_14017073508: mtl */ - if (IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0) && + if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)
Quoted 2 lines
&&
gt->type==GT_MEDIA)
Let's have this in a separate patch , I believe that is already floated and ready to merge.
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 35
Quoted 6 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +0
-3- snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, - PCODE_MBOX_GT_STATE_MEDIA_BUSY, -
PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-0+if (!atomic_inc_not_zero (>->media_wakeref)) { +drm_err (>->i915->drm,"Media busy\n" );
This should not be Error message.
Quoted 23 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-5+atomic_inc (>->media_wakeref); + } } -static void mtl_media_idle (struct intel_gt *gt) +void mtl_media_idle (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) - snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, -
PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
-PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)&&
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 50
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +4
-0+ gt->type == GT_MEDIA) { +WARN_ON (atomic_read (>->media_wakeref) <=0 ); +if (!atomic_add_unless (>->media_wakeref,-1 ,1 )) { +drm_err (>->i915->drm,"Media idle\n" );
Same here this can't be error message.
Thanks,
Anshuman Gupta.
Quoted 159 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-0+atomic_dec (>->media_wakeref); + } + } } static void user_forcewake(struct intel_gt *gt, bool suspend) diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.hb/drivers/gpu/drm/i915/gt/intel_gt_pm.h
index6c9a46452364..43ffabf9babe100644drivers/gpu/drm/i915/gt/intel_gt_pm.h +3
-0@@ -89,4 +89,7 @@ static inline bool is_mock_gt(const struct intel_gt *gt) return I915_SELFTEST_ONLY(gt->awake == -ENODEV); } +void mtl_media_busy (struct intel_gt *gt);void mtl_media_idle (struct +intel_gt *gt); +#endif /* INTEL_GT_PM_H */ drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -145,6 +145,7 @@ struct intel_gt {struct intel_wakeref wakeref;atomic_t user_wakeref; +atomic_t media_wakeref;struct list_head closed_vma; spinlock_t closed_lock; /* guards the list of closed_vma */ diff --git
a/drivers/gpu/drm/i915/i915_driver.cb/drivers/gpu/drm/i915/i915_driver.cindex8bc76dede332..c7625ea28022100644drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -327,6 +327,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)intel_gmch_bar_setup (dev_priv );intel_device_info_runtime_init (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt);for_each_gt (gt, dev_priv, i) { ret =intel_gt_init_mmio (gt);drivers/gpu/drm/i915/i915_driver.c +4
-0if (ret)@@ -335,10 +337,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)/* As early as possible, scrub existing GPU state before clobbering */ sanitize_gpu (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);return 0 ; err_uncore: +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);intel_gmch_bar_teardown (dev_priv);drivers/gpu/drm/i915/i915_driver.c +6
-0return ret;@@ -781,6 +787,12 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret <0 ) goto out_tiles_cleanup; +/* Wa_14017073508: mtl */ +if (i915->media_gt) { +atomic_set (&i915->media_gt->media_wakeref,0 ); +mtl_media_busy (i915->media_gt); + } + ret =i915_driver_hw_probe (i915);if (ret <0 )drivers/gpu/drm/i915/i915_driver.c +2
-0goto out_cleanup_mmio;@@ -838,6 +850,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_gem_drain_freed_objects (i915 );i915_ggtt_driver_late_release (i915); out_cleanup_mmio: +/* Wa_14017073508: mtl */ +mtl_media_idle (i915->media_gt);i915_driver_mmio_release (i915); out_tiles_cleanup:drivers/gpu/drm/i915/i915_driver.c +3
-0intel_gt_release_all (i915);@@ -1063,6 +1077,9 @@ static int i915_drm_suspend(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +/* We do a lot of poking in a lot of registers, make sure they work * properly. */ drivers/gpu/drm/i915/i915_driver.c +3
-0intel_power_domains_disable (dev_priv);@@ -1097,6 +1114,9 @@ static int i915_drm_suspend(struct drm_device *dev)intel_dmc_suspend (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);drivers/gpu/drm/i915/i915_driver.c +3
-0i915_gem_drain_freed_objects (dev_priv);@@ -1197,6 +1217,9 @@ static int i915_drm_resume(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =i915_pcode_init (dev_priv);if (ret)drivers/gpu/drm/i915/i915_driver.c +3
-0return ret;@@ -1260,6 +1283,9 @@ static int i915_drm_resume(struct drm_device *dev)intel_gvt_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);drivers/gpu/drm/i915/i915_driver.c +3
-0return 0 ;@@ -1319,6 +1345,9 @@ static int i915_drm_resume_early(struct drm_device *dev) disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =vlv_resume_prepare (dev_priv, false);if (ret)drivers/gpu/drm/i915/i915_driver.c +3
-0drm_err(&dev_priv->drm,@@ -1333,6 +1362,9 @@ static int i915_drm_resume_early(struct drm_device *dev)intel_power_domains_resume (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return ret;
--
2.25.1
Rodrigo Vivi
maintainerQuoted 12 lines · Anshuman
Quoted 12 lines
-----Original Message-----
From: Nilawar, Badal <[email protected]>
Sent: Saturday, March 4, 2023 9:48 PM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Ewins, Jon <[email protected]>; Belgaumkar, Vinay <[email protected]>; Vivi, Rodrigo <[email protected]>
Subject: [PATCH] drm/i915/mtl: ExtendWa_14017073508in suspend/resume flow
Quoted 6 lines
Quoted 3 lines
During suspend resume flow it was seen that lots forcewakes are taken and released for media. So to avoid HANG due to MC6 entry/exit while accessing media applied
Wa_14017073508in suspend/resume flow.We need to fix such gaps in runtime PM as well, but that will make this WA dirty somewhat similar to other RC6 related WA on other platforms. I suggest to disable the MC6 rather on A step rather than having this form of WA. This WA is not needed on A step. @rodrigo and @matt what is you opinion here ?
My opinion since day-0 is that we should simply disable MC6 on A0 parts and move on with this feature only on B0. Since the beginning it was pretty clear that this workaround would get out of control and become the same as the PVC-RC6 one.
Quoted 249 lines
However some comment her to improve this patch.
Quoted 16 lines
Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 6 ++++- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 32 ++++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/i915_driver.c | 32 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_pm.c +0
-0drivers/gpu/drm/i915/gem/i915_gem_pm.c void i915_gem_suspend_late(struct · line 166
Quoted 8 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +3
-1@@ -160,8 +160,12 @@ void i915_gem_suspend_late(structdrm_i915_private *i915) * machine in an unusable condition. */ -for_each_gt (gt, i915, i) +for_each_gt (gt, i915, i) { +/* Wa_14017073508: mtl */ +mtl_media_busy (gt);Let's add these busy/idle in
intel_gt_suspend_late()Quoted 21 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +2
-0intel_gt_suspend_late (gt); +mtl_media_idle (gt); + }spin_lock_irqsave (&i915->mm.obj_lock, flags);for (phase = phases; *phase; phase++) { diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.cb/drivers/gpu/drm/i915/gt/intel_gt_pm.c
indexcef3d6f5c34e..1f3bf1cf0421100644drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-2@@ -26,24 +26,34 @@#define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) -static void mtl_media_busy (struct intel_gt *gt) +void mtl_media_busy (struct intel_gt *gt) {/* Wa_14017073508: mtl */ - if (IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0) && + if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)Quoted 2 lines
&&
gt->type==GT_MEDIA)Let's have this in a separate patch , I believe that is already floated and ready to merge.
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 35
Quoted 6 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +0
-3- snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, - PCODE_MBOX_GT_STATE_MEDIA_BUSY, -
PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-0+if (!atomic_inc_not_zero (>->media_wakeref)) { +drm_err (>->i915->drm,"Media busy\n" );This should not be Error message.
Quoted 23 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-5+atomic_inc (>->media_wakeref); + } } -static void mtl_media_idle (struct intel_gt *gt) +void mtl_media_idle (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) - snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, -
PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
-PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)&&
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 50
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +4
-0+ gt->type == GT_MEDIA) { +WARN_ON (atomic_read (>->media_wakeref) <=0 ); +if (!atomic_add_unless (>->media_wakeref,-1 ,1 )) { +drm_err (>->i915->drm,"Media idle\n" );Same here this can't be error message.
Thanks,
Anshuman Gupta.Quoted 159 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-0+atomic_dec (>->media_wakeref); + } + } } static void user_forcewake(struct intel_gt *gt, bool suspend) diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.hb/drivers/gpu/drm/i915/gt/intel_gt_pm.h
index6c9a46452364..43ffabf9babe100644drivers/gpu/drm/i915/gt/intel_gt_pm.h +3
-0@@ -89,4 +89,7 @@ static inline bool is_mock_gt(const struct intel_gt *gt) return I915_SELFTEST_ONLY(gt->awake == -ENODEV); } +void mtl_media_busy (struct intel_gt *gt);void mtl_media_idle (struct +intel_gt *gt); +#endif /* INTEL_GT_PM_H */ drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -145,6 +145,7 @@ struct intel_gt {struct intel_wakeref wakeref;atomic_t user_wakeref; +atomic_t media_wakeref;struct list_head closed_vma; spinlock_t closed_lock; /* guards the list of closed_vma */ diff --git
a/drivers/gpu/drm/i915/i915_driver.cb/drivers/gpu/drm/i915/i915_driver.cindex8bc76dede332..c7625ea28022100644drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -327,6 +327,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)intel_gmch_bar_setup (dev_priv );intel_device_info_runtime_init (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt);for_each_gt (gt, dev_priv, i) { ret =intel_gt_init_mmio (gt);drivers/gpu/drm/i915/i915_driver.c +4
-0if (ret)@@ -335,10 +337,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)/* As early as possible, scrub existing GPU state before clobbering */ sanitize_gpu (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);return 0 ; err_uncore: +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);intel_gmch_bar_teardown (dev_priv);drivers/gpu/drm/i915/i915_driver.c +6
-0return ret;@@ -781,6 +787,12 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret <0 ) goto out_tiles_cleanup; +/* Wa_14017073508: mtl */ +if (i915->media_gt) { +atomic_set (&i915->media_gt->media_wakeref,0 ); +mtl_media_busy (i915->media_gt); + } + ret =i915_driver_hw_probe (i915);if (ret <0 )drivers/gpu/drm/i915/i915_driver.c +2
-0goto out_cleanup_mmio;@@ -838,6 +850,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_gem_drain_freed_objects (i915 );i915_ggtt_driver_late_release (i915); out_cleanup_mmio: +/* Wa_14017073508: mtl */ +mtl_media_idle (i915->media_gt);i915_driver_mmio_release (i915); out_tiles_cleanup:drivers/gpu/drm/i915/i915_driver.c +3
-0intel_gt_release_all (i915);@@ -1063,6 +1077,9 @@ static int i915_drm_suspend(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +/* We do a lot of poking in a lot of registers, make sure they work * properly. */ drivers/gpu/drm/i915/i915_driver.c +3
-0intel_power_domains_disable (dev_priv);@@ -1097,6 +1114,9 @@ static int i915_drm_suspend(struct drm_device *dev)intel_dmc_suspend (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);drivers/gpu/drm/i915/i915_driver.c +3
-0i915_gem_drain_freed_objects (dev_priv);@@ -1197,6 +1217,9 @@ static int i915_drm_resume(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =i915_pcode_init (dev_priv);if (ret)drivers/gpu/drm/i915/i915_driver.c +3
-0return ret;@@ -1260,6 +1283,9 @@ static int i915_drm_resume(struct drm_device *dev)intel_gvt_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);drivers/gpu/drm/i915/i915_driver.c +3
-0return 0 ;@@ -1319,6 +1345,9 @@ static int i915_drm_resume_early(struct drm_device *dev) disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =vlv_resume_prepare (dev_priv, false);if (ret)drivers/gpu/drm/i915/i915_driver.c +3
-0drm_err(&dev_priv->drm,@@ -1333,6 +1362,9 @@ static int i915_drm_resume_early(struct drm_device *dev)intel_power_domains_resume (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return ret;
--
2.25.1
Quoted 16 lines · Rodrigo Vivi
Quoted 15 lines · Anshuman
Quoted 15 lines
-----Original Message-----
From: Nilawar, Badal <[email protected]>
Sent: Saturday, March 4, 2023 9:48 PM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Ewins, Jon <[email protected]>; Belgaumkar, Vinay <[email protected]>; Vivi, Rodrigo <[email protected]>
Subject: [PATCH] drm/i915/mtl: ExtendWa_14017073508in suspend/resume flowDuring suspend resume flow it was seen that lots forcewakes are taken and released for media. So to avoid HANG due to MC6 entry/exit while accessing media applied
Wa_14017073508in suspend/resume flow.
Quoted 8 lines
Quoted 3 lines
We need to fix such gaps in runtime PM as well, but that will make this WA dirty somewhat similar to other RC6 related WA on other platforms. I suggest to disable the MC6 rather on A step rather than having this form of WA. This WA is not needed on A step. @rodrigo and @matt what is you opinion here ?
My opinion since day-0 is that we should simply disable MC6 on A0 parts and move on with this feature only on B0. Since the beginning it was pretty clear that this workaround would get out of control and become the same as the PVC-RC6 one.
Thanks for your opinion Rodrigo. I will disable MC6 and send the patch.
Regards,
Badal Nilawar
Quoted 250 lines
Quoted 250 lines
However some comment her to improve this patch.
Quoted 16 lines
Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 6 ++++- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 32 ++++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/i915_driver.c | 32 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_pm.c +0
-0drivers/gpu/drm/i915/gem/i915_gem_pm.c void i915_gem_suspend_late(struct · line 166
Quoted 8 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +3
-1@@ -160,8 +160,12 @@ void i915_gem_suspend_late(structdrm_i915_private *i915) * machine in an unusable condition. */ -for_each_gt (gt, i915, i) +for_each_gt (gt, i915, i) { +/* Wa_14017073508: mtl */ +mtl_media_busy (gt);Let's add these busy/idle in
intel_gt_suspend_late()Quoted 21 lines
drivers/gpu/drm/i915/gem/i915_gem_pm.c +2
-0intel_gt_suspend_late (gt); +mtl_media_idle (gt); + }spin_lock_irqsave (&i915->mm.obj_lock, flags);for (phase = phases; *phase; phase++) { diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.cb/drivers/gpu/drm/i915/gt/intel_gt_pm.c
indexcef3d6f5c34e..1f3bf1cf0421100644drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-2@@ -26,24 +26,34 @@#define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) -static void mtl_media_busy (struct intel_gt *gt) +void mtl_media_busy (struct intel_gt *gt) {/* Wa_14017073508: mtl */ - if (IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0) && + if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)Quoted 2 lines
&&
gt->type==GT_MEDIA)Let's have this in a separate patch , I believe that is already floated and ready to merge.
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 35
Quoted 6 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +0
-3- snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, - PCODE_MBOX_GT_STATE_MEDIA_BUSY, -
PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +2
-0+if (!atomic_inc_not_zero (>->media_wakeref)) { +drm_err (>->i915->drm,"Media busy\n" );This should not be Error message.
Quoted 23 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-5+atomic_inc (>->media_wakeref); + } } -static void mtl_media_idle (struct intel_gt *gt) +void mtl_media_idle (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) - snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, -
PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
-PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ if (gt && IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0)&&
drivers/gpu/drm/i915/gt/intel_gt_pm.c line 50
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +4
-0+ gt->type == GT_MEDIA) { +WARN_ON (atomic_read (>->media_wakeref) <=0 ); +if (!atomic_add_unless (>->media_wakeref,-1 ,1 )) { +drm_err (>->i915->drm,"Media idle\n" );Same here this can't be error message.
Thanks,
Anshuman Gupta.Quoted 159 lines
drivers/gpu/drm/i915/gt/intel_gt_pm.c +1
-0+ snb_pcode_write_p(gt->uncore,
PCODE_MBOX_GT_STATE,
+PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY,
+PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0);drivers/gpu/drm/i915/gt/intel_gt_pm.c +3
-0+atomic_dec (>->media_wakeref); + } + } } static void user_forcewake(struct intel_gt *gt, bool suspend) diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.hb/drivers/gpu/drm/i915/gt/intel_gt_pm.h
index6c9a46452364..43ffabf9babe100644drivers/gpu/drm/i915/gt/intel_gt_pm.h +3
-0@@ -89,4 +89,7 @@ static inline bool is_mock_gt(const struct intel_gt *gt) return I915_SELFTEST_ONLY(gt->awake == -ENODEV); } +void mtl_media_busy (struct intel_gt *gt);void mtl_media_idle (struct +intel_gt *gt); +#endif /* INTEL_GT_PM_H */ drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -145,6 +145,7 @@ struct intel_gt {struct intel_wakeref wakeref;atomic_t user_wakeref; +atomic_t media_wakeref;struct list_head closed_vma; spinlock_t closed_lock; /* guards the list of closed_vma */ diff --git
a/drivers/gpu/drm/i915/i915_driver.cb/drivers/gpu/drm/i915/i915_driver.cindex8bc76dede332..c7625ea28022100644drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -327,6 +327,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)intel_gmch_bar_setup (dev_priv );intel_device_info_runtime_init (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt);for_each_gt (gt, dev_priv, i) { ret =intel_gt_init_mmio (gt);if (ret)
drivers/gpu/drm/i915/i915_driver.c +4
-0@@ -335,10 +337,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)/* As early as possible, scrub existing GPU state before clobbering */ sanitize_gpu (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);return 0 ; err_uncore: +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);intel_gmch_bar_teardown (dev_priv);return ret;
drivers/gpu/drm/i915/i915_driver.c +6
-0@@ -781,6 +787,12 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret <0 ) goto out_tiles_cleanup; +/* Wa_14017073508: mtl */ +if (i915->media_gt) { +atomic_set (&i915->media_gt->media_wakeref,0 ); +mtl_media_busy (i915->media_gt); + } + ret =i915_driver_hw_probe (i915);if (ret <0 )goto
out_cleanup_mmio;drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -838,6 +850,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_gem_drain_freed_objects (i915 );i915_ggtt_driver_late_release (i915); out_cleanup_mmio: +/* Wa_14017073508: mtl */ +mtl_media_idle (i915->media_gt);i915_driver_mmio_release (i915); out_tiles_cleanup:intel_gt_release_all(i915);drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1063,6 +1077,9 @@ static int i915_drm_suspend(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +/* We do a lot of poking in a lot of registers, make sure they work * properly. */ intel_power_domains_disable(dev_priv);drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1097,6 +1114,9 @@ static int i915_drm_suspend(struct drm_device *dev)intel_dmc_suspend (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);i915_gem_drain_freed_objects(dev_priv);drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1197,6 +1217,9 @@ static int i915_drm_resume(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =i915_pcode_init (dev_priv);if (ret)return ret;
drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1260,6 +1283,9 @@ static int i915_drm_resume(struct drm_device *dev)intel_gvt_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return 0;
drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1319,6 +1345,9 @@ static int i915_drm_resume_early(struct drm_device *dev) disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =vlv_resume_prepare (dev_priv, false);if (ret)drm_err(&dev_priv->drm,
drivers/gpu/drm/i915/i915_driver.c +3
-0@@ -1333,6 +1362,9 @@ static int i915_drm_resume_early(struct drm_device *dev)intel_power_domains_resume (dev_priv ); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return ret;
--
2.25.1
Jani Nikula
maintainerQuoted 111 lines · Badal Nilawar
During suspend resume flow it was seen that lots forcewakes are taken and released for media. So to avoid HANG due to MC6 entry/exit while accessing media applied
Wa_14017073508in suspend/resume flow.Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 6 ++++- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 32 ++++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/i915_driver.c | 32 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_pm.c +5
-1@@ -160,8 +160,12 @@ void i915_gem_suspend_late(struct drm_i915_private *i915)* machine in an unusable condition. */ -for_each_gt (gt, i915, i) +for_each_gt (gt, i915, i) { +/* Wa_14017073508: mtl */ +mtl_media_busy (gt);intel_gt_suspend_late (gt); +mtl_media_idle (gt); + }spin_lock_irqsave (&i915->mm.obj_lock, flags);for (phase = phases; *phase; phase++) {drivers/gpu/drm/i915/gt/intel_gt_pm.c +21
-11@@ -26,24 +26,34 @@#define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) -static void mtl_media_busy (struct intel_gt *gt) +void mtl_media_busy (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && +if (gt &&IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && gt->type ==GT_MEDIA ) -snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , -PCODE_MBOX_GT_STATE_MEDIA_BUSY , -PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +if (!atomic_inc_not_zero (>->media_wakeref)) { +drm_err (>->i915->drm,"Media busy\n" ); +snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , +PCODE_MBOX_GT_STATE_MEDIA_BUSY , +PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +atomic_inc (>->media_wakeref); + } } -static void mtl_media_idle (struct intel_gt *gt) +void mtl_media_idle (struct intel_gt *gt) {/* Wa_14017073508: mtl */ -if (IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) -snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , -PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY , -PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +if (gt &&IS_MTL_GRAPHICS_STEP (gt->i915,P ,STEP_A0 ,STEP_B0 ) && + gt->type ==GT_MEDIA ) { +WARN_ON (atomic_read (>->media_wakeref) <=0 ); +if (!atomic_add_unless (>->media_wakeref,-1 ,1 )) { +drm_err (>->i915->drm,"Media idle\n" ); +snb_pcode_write_p (gt->uncore,PCODE_MBOX_GT_STATE , +PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY , +PCODE_MBOX_GT_STATE_DOMAIN_MEDIA ,0 ); +atomic_dec (>->media_wakeref); + } + } }static void user_forcewake (struct intel_gt *gt,bool suspend)drivers/gpu/drm/i915/gt/intel_gt_pm.h +3
-0@@ -89,4 +89,7 @@ static inline bool is_mock_gt(const struct intel_gt *gt) return I915_SELFTEST_ONLY(gt->awake == -ENODEV); } +void mtl_media_busy (struct intel_gt *gt); +void mtl_media_idle (struct intel_gt *gt); +#endif /* INTEL_GT_PM_H */ drivers/gpu/drm/i915/gt/intel_gt_types.h +1
-0@@ -145,6 +145,7 @@ struct intel_gt {struct intel_wakeref wakeref;atomic_t user_wakeref; +atomic_t media_wakeref;struct list_head closed_vma;spinlock_t closed_lock;/* guards the list of closed_vma */ drivers/gpu/drm/i915/i915_driver.c +0
-0
drivers/gpu/drm/i915/i915_driver.c static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) · line 331
Quoted 5 lines
drivers/gpu/drm/i915/i915_driver.c +2
-0@@ -327,6 +327,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)intel_gmch_bar_setup (dev_priv);intel_device_info_runtime_init (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt);
i915_driver.c is one of the highest level files in the driver, and details like this just don't belong here, at all.
BR,
Jani.
Quoted 100 lines
drivers/gpu/drm/i915/i915_driver.c +30
-0for_each_gt (gt, dev_priv, i) { ret =intel_gt_init_mmio (gt);if (ret)@@ -335,10 +337,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)/* As early as possible, scrub existing GPU state before clobbering */ sanitize_gpu (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);return 0 ; err_uncore: +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt);intel_gmch_bar_teardown (dev_priv);return ret;@@ -781,6 +787,12 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (ret <0 ) goto out_tiles_cleanup; +/* Wa_14017073508: mtl */ +if (i915->media_gt) { +atomic_set (&i915->media_gt->media_wakeref,0 ); +mtl_media_busy (i915->media_gt); + } + ret =i915_driver_hw_probe (i915);if (ret <0 ) goto out_cleanup_mmio;@@ -838,6 +850,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_gem_drain_freed_objects (i915);i915_ggtt_driver_late_release (i915); out_cleanup_mmio: +/* Wa_14017073508: mtl */ +mtl_media_idle (i915->media_gt);i915_driver_mmio_release (i915); out_tiles_cleanup:intel_gt_release_all (i915);@@ -1063,6 +1077,9 @@ static int i915_drm_suspend(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +/* We do a lot of poking in a lot of registers, make sure they work * properly. */ intel_power_domains_disable (dev_priv);@@ -1097,6 +1114,9 @@ static int i915_drm_suspend(struct drm_device *dev)intel_dmc_suspend (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);i915_gem_drain_freed_objects (dev_priv);@@ -1197,6 +1217,9 @@ static int i915_drm_resume(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =i915_pcode_init (dev_priv);if (ret)return ret;@@ -1260,6 +1283,9 @@ static int i915_drm_resume(struct drm_device *dev)intel_gvt_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return 0 ;@@ -1319,6 +1345,9 @@ static int i915_drm_resume_early(struct drm_device *dev)disable_rpm_wakeref_asserts (&dev_priv->runtime_pm); +/* Wa_14017073508: mtl */ +mtl_media_busy (dev_priv->media_gt); + ret =vlv_resume_prepare (dev_priv, false);if (ret) drm_err(&dev_priv->drm,@@ -1333,6 +1362,9 @@ static int i915_drm_resume_early(struct drm_device *dev)intel_power_domains_resume (dev_priv); +/* Wa_14017073508: mtl */ +mtl_media_idle (dev_priv->media_gt); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return ret;
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Extend Wa_14017073508 in suspend/resume flow
URL : https://patchwork.freedesktop.org/series/114657/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12810_full -> Patchwork_114657v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 9)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_114657v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: NOTRUN -> [FAIL][1] ([i915#2842]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: NOTRUN -> [FAIL][2] ([i915#2842])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl3/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@random-engines:
- shard-glk: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk8/igt@[email protected]
* igt@gem_lmem_swapping@smem-oom:
- shard-apl: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +5 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl3/igt@[email protected]
* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-apl: NOTRUN -> [SKIP][5] ([fdo#109271]) +250 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-glk: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#3323])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk7/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-apl: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#1937])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@i915_pm_lpsp@[email protected]
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#3886]) +8 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl1/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886]) +11 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk8/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_content_protection@atomic@pipe-a-dp-1:
- shard-apl: NOTRUN -> [TIMEOUT][10] ([i915#7173])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@kms_content_protection@[email protected]
* igt@kms_content_protection@uevent@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][11] ([i915#1339])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@kms_content_protection@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][12] -> [FAIL][13] ([i915#2346])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-glk8/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk3/igt@[email protected]
- shard-apl: [PASS][14] -> [FAIL][15] ([i915#2346])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-apl3/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt:
- shard-glk: NOTRUN -> [SKIP][16] ([fdo#109271]) +207 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk7/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt.html
* igt@kms_plane_alpha_blend@alpha-basic@pipe-c-hdmi-a-1:
- shard-glk: NOTRUN -> [FAIL][17] ([i915#7862]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk7/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][18] ([i915#4573]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_plane_alpha_blend@constant-alpha-max@pipe-c-hdmi-a-1:
- shard-glk: NOTRUN -> [FAIL][19] ([i915#4573]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk5/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b-hdmi-a-1:
- shard-snb: NOTRUN -> [SKIP][20] ([fdo#109271]) +7 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-snb1/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b-hdmi-a-1.html
* igt@kms_psr2_sf@overlay-plane-move-continuous-sf:
- shard-apl: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#658]) +4 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl1/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-glk: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#658]) +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk7/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#2437])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl1/igt@[email protected]
* igt@kms_writeback@writeback-pixel-formats:
- shard-glk: NOTRUN -> [SKIP][24] ([fdo#109271] / [i915#2437]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-glk5/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@hibernate:
- {shard-dg1}: [ABORT][25] ([i915#7975]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-dg1-14/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-dg1-17/igt@[email protected]
* igt@gem_exec_reloc@basic-gtt-wc-noreloc:
- {shard-rkl}: [SKIP][27] ([i915#3281]) -> [PASS][28] +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-rkl-4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-rkl-5/igt@[email protected]
* igt@gem_pwrite_snooped:
- {shard-rkl}: [SKIP][29] ([i915#3282]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-rkl-4/igt@gem_pwrite_snooped.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-rkl-5/igt@gem_pwrite_snooped.html
* igt@gen9_exec_parse@basic-rejected:
- {shard-rkl}: [SKIP][31] ([i915#2527]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-rkl-4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- {shard-tglu}: [SKIP][33] ([i915#4281]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-tglu-6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-tglu-4/igt@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][35] ([i915#6537]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-apl3/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-apl2/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- {shard-tglu}: [SKIP][37] ([i915#1845]) -> [PASS][38] +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-tglu-6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-tglu-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack-mmap-gtt:
- {shard-tglu}: [SKIP][39] ([i915#1849]) -> [PASS][40] +6 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-tglu-6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-tglu-4/igt@[email protected]
* igt@kms_universal_plane@universal-plane-pipe-d-functional:
- {shard-tglu}: [SKIP][41] ([fdo#109274]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-tglu-6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-tglu-1/igt@[email protected]
* igt@kms_vblank@pipe-a-query-idle-hang:
- {shard-tglu}: [SKIP][43] ([i915#1845] / [i915#7651]) -> [PASS][44] +19 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-tglu-6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-tglu-4/igt@[email protected]
* igt@sysfs_heartbeat_interval@precise@vcs1:
- {shard-dg1}: [FAIL][45] ([i915#1755]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12810/shard-dg1-17/igt@sysfs_heartbeat_interval@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114657v1/shard-dg1-15/igt@sysfs_heartbeat_interval@[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#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[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#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#1339]: https://gitlab.freedesktop.org/drm/intel/issues/1339
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[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#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#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#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#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#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[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#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7862]: https://gitlab.freedesktop.org/drm/intel/issues/7862
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
[i915#8154]: https://gitlab.freedesktop.org/drm/intel/issues/8154
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
Build changes
-------------
* Linux: CI_DRM_12810 -> Patchwork_114657v1
CI-20190529: 20190529
CI_DRM_12810: 030c24d089b9c566f8cf9e15f49fc4e298396740 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7180: b6b1ceb4fc4d8f83a9540e4628a6c2648514bb19 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_114657v1: 030c24d089b9c566f8cf9e15f49fc4e298396740 @ 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_114657v1/index.html