drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
Subsystems (3)
PATCH 1/2 drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
Factor out functions that are needed by the next patch to suspend/resume the memory mappings for DPT FBs.
No functional change, except reordering during suspend the ggtt->invalidate(ggtt) call wrt. atomic_set(&ggtt->vm.open, open) and mutex_unlock(&ggtt->vm.mutex). This shouldn't matter due to the i915 suspend sequence being single threaded.
--- drivers/gpu/drm/i915/gt/intel_ggtt.c | 71 +++++++++++++++++++++------- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 + 2 files changed, 56 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/gt/intel_ggtt.c +54 -17
@@ -116,17 +116,26 @@ static bool needs_idle_maps(struct drm_i915_private *i915)return false; } -void i915_ggtt_suspend (struct i915_ggtt *ggtt) +/** +* i915_ggtt_suspend_vm - Suspend the memory mappings for a GGTT or DPT VM +* @vm: The VM to suspend the mappings for +* +* Suspend the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +*/ +void i915_ggtt_suspend_vm (struct i915_address_space *vm) {struct i915_vma *vma, *vn;int open; -mutex_lock (&ggtt->vm.mutex); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt); + +mutex_lock (&vm->mutex);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 ); -list_for_each_entry_safe (vma, vn, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry_safe (vma, vn, &vm->bound_list, vm_link) {GEM_BUG_ON (!drm_mm_node_allocated (&vma->node));i915_vma_wait_for_bind (vma);
@@ -139,11 +148,17 @@ void i915_ggtt_suspend(struct i915_ggtt *ggtt) } } - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total); + +atomic_set (&vm->open, open); + +mutex_unlock (&vm->mutex); +} + +void i915_ggtt_suspend (struct i915_ggtt *ggtt) +{ +i915_ggtt_suspend_vm (&ggtt->vm); ggtt->invalidate (ggtt); -atomic_set (&ggtt->vm.open, open); - -mutex_unlock (&ggtt->vm.mutex);intel_gt_check_and_clear_faults (ggtt->vm.gt); }
@@ -1253,37 +1268,59 @@ void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) ggtt->invalidate (ggtt); } -void i915_ggtt_resume (struct i915_ggtt *ggtt) +/** +* i915_ggtt_resume_vm - Restore the memory mappings for a GGTT or DPT VM +* @vm: The VM to restore the mappings for +* +* Restore the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +* +* Returns %true if restoring the mapping for any object that was in a write +* domain before suspend. +*/ +bool i915_ggtt_resume_vm (struct i915_address_space *vm) {struct i915_vma *vma; -bool flush = false; +bool write_domain_objs = false;int open; -intel_gt_check_and_clear_faults (ggtt->vm.gt); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt);/* First fill our portion of the GTT with scratch pages */ - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 );/* clflush objects bound into the GGTT and rebind them. */ -list_for_each_entry (vma, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry (vma, &vm->bound_list, vm_link) {struct drm_i915_gem_object *obj = vma->obj;unsigned int was_bound =atomic_read (&vma->flags) &I915_VMA_BIND_MASK ;GEM_BUG_ON (!was_bound); - vma->ops->bind_vma (&ggtt->vm,NULL , vma, + vma->ops->bind_vma (vm,NULL , vma, obj ? obj->cache_level :0 , was_bound);if (obj) {/* only used during resume => exclusive access */ - flush |=fetch_and_zero (&obj->write_domain); + write_domain_objs |=fetch_and_zero (&obj->write_domain); obj->read_domains |=I915_GEM_DOMAIN_GTT ; } } -atomic_set (&ggtt->vm.open, open); +atomic_set (&vm->open, open); + +return write_domain_objs; +} + +void i915_ggtt_resume (struct i915_ggtt *ggtt) +{ +bool flush; + +intel_gt_check_and_clear_faults (ggtt->vm.gt); + + flush =i915_ggtt_resume_vm (&ggtt->vm); + ggtt->invalidate (ggtt);if (flush)
drivers/gpu/drm/i915/gt/intel_gtt.h +2 -0
@@ -544,6 +544,8 @@ int i915_ppgtt_init_hw(struct intel_gt *gt);struct i915_ppgtt *i915_ppgtt_create (struct intel_gt *gt,unsigned long lmem_pt_obj_flags); +void i915_ggtt_suspend_vm (struct i915_address_space *vm); +bool i915_ggtt_resume_vm (struct i915_address_space *vm);void i915_ggtt_suspend (struct i915_ggtt *gtt);void i915_ggtt_resume (struct i915_ggtt *ggtt);
Signature · 1 line
2.27.0
PATCH 2/2 drm/i915: Restore memory mapping for DPT FBs across system suspend/resume
At least during hibernation the DPT mappings are lost with all stolen memory content, so suspend/resume these mappings similarly to GGTT mappings.
This fixes a problem where the restoring modeset during system resume fails with pipe faults if a tiled framebuffer was active before suspend.
--- drivers/gpu/drm/i915/display/intel_dpt.c | 50 ++++++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dpt.h | 4 ++ drivers/gpu/drm/i915/i915_drv.c | 5 +++ 3 files changed, 59 insertions(+)
drivers/gpu/drm/i915/display/intel_dpt.c +50 -0
@@ -167,6 +167,56 @@ void intel_dpt_unpin(struct i915_address_space *vm)i915_vma_put (dpt->vma); } +/** +* intel_dpt_resume - restore the memory mapping for all DPT FBs during system resume +* @i915: device instance +* +* Restore the memory mapping during system resume for all framebuffers which +* are mapped to HW via a GGTT->DPT page table. +* +* This function must be called after the mappings in GGTT have been restored calling +* i915_ggtt_resume(). +*/ +void intel_dpt_resume (struct drm_i915_private *i915) +{ +struct drm_framebuffer *drm_fb; + +mutex_lock (&i915->drm.mode_config.fb_lock); +drm_for_each_fb (drm_fb, &i915->drm) { +struct intel_framebuffer *fb =to_intel_framebuffer (drm_fb); + +if (fb->dpt_vm) +i915_ggtt_resume_vm (fb->dpt_vm); + } +mutex_unlock (&i915->drm.mode_config.fb_lock); +} + +/** +* intel_dpt_suspend - suspend the memory mapping for all DPT FBs during system suspend +* @i915: device instance +* +* Suspend the memory mapping during system suspend for all framebuffers which +* are mapped to HW via a GGTT->DPT page table. +* +* This function must be called before the mappings in GGTT are suspended calling +* i915_ggtt_suspend(). +*/ +void intel_dpt_suspend (struct drm_i915_private *i915) +{ +struct drm_framebuffer *drm_fb; + +mutex_lock (&i915->drm.mode_config.fb_lock); + +drm_for_each_fb (drm_fb, &i915->drm) { +struct intel_framebuffer *fb =to_intel_framebuffer (drm_fb); + +if (fb->dpt_vm) +i915_ggtt_suspend_vm (fb->dpt_vm); + } + +mutex_unlock (&i915->drm.mode_config.fb_lock); +} +struct i915_address_space *intel_dpt_create (struct intel_framebuffer *fb) {
drivers/gpu/drm/i915/display/intel_dpt.h +4 -0
@@ -6,6 +6,8 @@#ifndef __INTEL_DPT_H__#define __INTEL_DPT_H__ +struct drm_i915_private ; +struct i915_address_space ;struct i915_vma ;struct intel_framebuffer ;
@@ -13,6 +15,8 @@ struct intel_framebuffer;void intel_dpt_destroy (struct i915_address_space *vm);struct i915_vma *intel_dpt_pin (struct i915_address_space *vm);void intel_dpt_unpin (struct i915_address_space *vm); +void intel_dpt_suspend (struct drm_i915_private *i915); +void intel_dpt_resume (struct drm_i915_private *i915);struct i915_address_space *intel_dpt_create (struct intel_framebuffer *fb);
drivers/gpu/drm/i915/i915_drv.c +5 -0
@@ -51,6 +51,7 @@#include "display/intel_dmc.h" #include "display/intel_display_types.h" #include "display/intel_dp.h" +#include "display/intel_dpt.h" #include "display/intel_fbdev.h" #include "display/intel_hotplug.h" #include "display/intel_overlay.h"
@@ -1128,6 +1129,8 @@ static int i915_drm_suspend(struct drm_device *dev)intel_suspend_hw (dev_priv); +/* Must be called before GGTT is suspended. */ +intel_dpt_suspend (dev_priv);i915_ggtt_suspend (&dev_priv->ggtt);i915_save_display (dev_priv);
@@ -1244,6 +1247,8 @@ static int i915_drm_resume(struct drm_device *dev)drm_err (&dev_priv->drm,"failed to re-enable GGTT\n" );i915_ggtt_resume (&dev_priv->ggtt); +/* Must be called after GGTT is resumed. */ +intel_dpt_resume (dev_priv);intel_dmc_ucode_resume (dev_priv);
Signature · 1 line
2.27.0
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
URL : https://patchwork.freedesktop.org/series/96467/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/i915/gt/intel_engine_stats.h:28:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:28:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:28:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:33:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:33:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:51:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:51:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:51:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:57:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_engine_stats.h:57:9: warning: trying to copy expression type 31 +drivers/gpu/drm/i915/gt/intel_reset.c:1392:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +drivers/gpu/drm/i915/i915_perf.c:1442:15: warning: memset with byte count of 16777216 +drivers/gpu/drm/i915/i915_perf.c:1496:15: warning: memset with byte count of 16777216 +./include/asm-generic/bitops/find.h:112:45: warning: shift count is negative (-262080) +./include/asm-generic/bitops/find.h:32:31: warning: shift count is negative (-262080) +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:418:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
URL : https://patchwork.freedesktop.org/series/96467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10824 -> Patchwork_21497
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/index.html
Participating hosts (40 -> 36)
------------------------------
Missing (4): fi-bsw-cyan bat-adlp-4 bat-dg1-6 fi-hsw-4200u
Known issues
------------
Here are the changes found in Patchwork_21497 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@kms_frontbuffer_tracking@basic:
- {fi-hsw-gt1}: [DMESG-WARN][1] ([i915#4290]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/fi-hsw-gt1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/fi-hsw-gt1/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#4290]: https://gitlab.freedesktop.org/drm/intel/issues/4290
Build changes
-------------
* Linux: CI_DRM_10824 -> Patchwork_21497
CI-20190529: 20190529
CI_DRM_10824: ad79191290568b948a3bf99ba99fad4023ed2ab4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6265: 5004c6cf2ad4a72423b4cf0cd42686925bcb80fe @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21497: ff27131e6e77f0fcd2ecfbe959463bd18df75168 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
ff27131e6e77 drm/i915: Restore memory mapping for DPT FBs across system suspend/resume 0d5692933baf drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
URL : https://patchwork.freedesktop.org/series/96467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10824_full -> Patchwork_21497_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21497_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@gem_ctx_persistence@saturated-hostile-nopreempt@vcs0}:
- shard-tglb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb3/igt@gem_ctx_persistence@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@gem_ctx_persistence@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21497_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-tglb: NOTRUN -> [DMESG-WARN][3] ([i915#3002])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
* igt@gem_ctx_sseu@invalid-args:
- shard-tglb: NOTRUN -> [SKIP][4] ([i915#280])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-glk5/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-apl: [PASS][7] -> [SKIP][8] ([fdo#109271])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl1/igt@gem_exec_fair@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: NOTRUN -> [FAIL][9] ([i915#2842]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#2842] / [i915#3468])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl6/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [PASS][12] -> [FAIL][13] ([i915#2842]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-kbl4/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl7/igt@gem_exec_fair@[email protected]
- shard-tglb: [PASS][14] -> [FAIL][15] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb8/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][16] -> [FAIL][17] ([i915#2849])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-iclb4/igt@gem_exec_fair@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb5/igt@gem_exec_fair@[email protected]
* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][18] ([i915#2658])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@gem_pxp@regular-baseline-src-copy-readible:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271]) +75 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl3/igt@[email protected]
* igt@gem_pxp@reject-modify-context-protection-off-1:
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#4270])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@gem_sync@basic-all:
- shard-glk: [PASS][21] -> [DMESG-WARN][22] ([i915#118]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-glk6/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-glk5/igt@[email protected]
* igt@gem_sync@basic-store-all:
- shard-glk: [PASS][23] -> [DMESG-WARN][24] ([i915#118] / [i915#262])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-glk8/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-glk4/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-skl: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#3323])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl6/igt@[email protected]
* igt@gem_userptr_blits@unsync-overlap:
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#3297])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@gen9_exec_parse@bb-large:
- shard-tglb: NOTRUN -> [SKIP][27] ([i915#2856]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-skl: [PASS][28] -> [FAIL][29] ([i915#454])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl1/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl8/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: NOTRUN -> [FAIL][30] ([i915#4275])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@[email protected]
* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#111644] / [i915#1397] / [i915#2411])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-apl: [PASS][32] -> [DMESG-WARN][33] ([i915#180])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl4/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][34] ([fdo#111614])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@x-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110725] / [fdo#111614])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-skl: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#3777]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][37] ([i915#3743]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl1/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-tglb: NOTRUN -> [SKIP][38] ([fdo#111615]) +5 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#3777])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl3/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][40] ([i915#3689] / [i915#3886]) +3 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#3886]) +14 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271] / [i915#3886]) +5 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109278] / [i915#3886])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271] / [i915#3886]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl2/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3689]) +5 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs.html
* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827]) +4 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@[email protected]
* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-skl: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827]) +20 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl1/igt@[email protected]
* igt@kms_chamelium@vga-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +7 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl2/igt@[email protected]
* igt@kms_color@pipe-b-ctm-max:
- shard-skl: [PASS][49] -> [DMESG-WARN][50] ([i915#1982])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl3/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl6/igt@[email protected]
* igt@kms_color@pipe-d-gamma:
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#109278] / [i915#1149])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][52] ([fdo#109284] / [fdo#111827]) +8 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x170-sliding:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#109279] / [i915#3359]) +3 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [PASS][54] -> [DMESG-WARN][55] ([i915#180]) +6 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-kbl3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][56] ([i915#3319]) +2 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-tglb: [PASS][57] -> [INCOMPLETE][58] ([i915#2411] / [i915#456])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb5/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-offscreen:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109278]) +3 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][60] ([i915#3359]) +4 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [PASS][61] -> [INCOMPLETE][62] ([i915#4211])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb8/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [PASS][63] -> [FAIL][64] ([i915#2346])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl4/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-skl: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#533]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl10/igt@[email protected]
* igt@kms_flip@2x-plain-flip:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][67] -> [FAIL][68] ([i915#2122])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-glk1/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-glk6/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@b-edp1:
- shard-skl: NOTRUN -> [FAIL][69] ([i915#2122]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl1/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-skl: NOTRUN -> [INCOMPLETE][70] ([i915#3699])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-skl: NOTRUN -> [SKIP][71] ([fdo#109271] / [i915#2672])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move:
- shard-iclb: NOTRUN -> [SKIP][72] ([fdo#109280]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-apl: NOTRUN -> [SKIP][73] ([fdo#109271]) +68 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-msflip-blt:
- shard-skl: NOTRUN -> [SKIP][74] ([fdo#109271]) +256 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111825]) +27 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_hdr@static-toggle:
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#1187])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-skl: NOTRUN -> [FAIL][77] ([fdo#108145] / [i915#265]) +4 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-apl: NOTRUN -> [FAIL][78] ([fdo#108145] / [i915#265])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl7/igt@[email protected]
* igt@kms_plane_lowres@pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][79] ([fdo#112054]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][80] ([i915#3536])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-iclb: NOTRUN -> [SKIP][81] ([i915#658])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-skl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#658]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl10/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-3:
- shard-apl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#658])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-kbl: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#658]) +2 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl1/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][85] -> [SKIP][86] ([fdo#109441]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@kms_psr@psr2_primary_mmap_cpu.html
- shard-tglb: NOTRUN -> [FAIL][87] ([i915#132] / [i915#3467]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_sysfs_edid_timing:
- shard-kbl: NOTRUN -> [FAIL][88] ([IGT#2])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl2/igt@kms_sysfs_edid_timing.html
* igt@kms_vrr@flip-dpms:
- shard-tglb: NOTRUN -> [SKIP][89] ([fdo#109502])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-skl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#2437])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl10/igt@[email protected]
* igt@nouveau_crc@pipe-a-ctx-flip-detection:
- shard-iclb: NOTRUN -> [SKIP][91] ([i915#2530])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@nouveau_crc@pipe-d-source-outp-inactive:
- shard-iclb: NOTRUN -> [SKIP][92] ([fdo#109278] / [i915#2530])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@nouveau_crc@pipe-d-source-rg:
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#2530]) +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb6/igt@[email protected]
* igt@prime_nv_api@i915_nv_import_twice_check_flink_name:
- shard-iclb: NOTRUN -> [SKIP][94] ([fdo#109291])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@prime_nv_api@i915_nv_import_twice_check_flink_name.html
* igt@prime_nv_pcopy@test3_1:
- shard-tglb: NOTRUN -> [SKIP][95] ([fdo#109291]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@prime_nv_pcopy@test3_1.html
* igt@prime_vgem@fence-flip-hang:
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109295])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@sysfs_clients@busy:
- shard-kbl: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#2994])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl2/igt@[email protected]
* igt@sysfs_clients@fair-3:
- shard-skl: NOTRUN -> [SKIP][98] ([fdo#109271] / [i915#2994]) +3 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl6/igt@[email protected]
* igt@sysfs_clients@recycle-many:
- shard-tglb: NOTRUN -> [SKIP][99] ([i915#2994])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_exec@basic-close-race:
- shard-tglb: [INCOMPLETE][100] ([i915#750]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb5/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vecs0:
- shard-apl: [DMESG-WARN][102] ([i915#180]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl8/igt@gem_ctx_isolation@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_persistence@many-contexts:
- shard-tglb: [FAIL][104] ([i915#2410]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb1/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [TIMEOUT][106] ([i915#2369] / [i915#3063] / [i915#3648]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb8/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb7/igt@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [FAIL][108] ([i915#2842]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl6/igt@gem_exec_fair@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [SKIP][110] ([fdo#109271]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-kbl4/igt@gem_exec_fair@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [DMESG-WARN][112] ([i915#180]) -> [PASS][113] +3 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-kbl4/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-kbl3/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][114] ([i915#1436] / [i915#716]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl10/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl1/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [INCOMPLETE][116] ([i915#180]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-apl8/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-apl7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-skl: [INCOMPLETE][118] ([i915#198]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl2/igt@kms_flip@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl7/igt@kms_flip@[email protected]
- shard-tglb: [INCOMPLETE][120] ([i915#2411] / [i915#456]) -> [PASS][121] +1 similar issue
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb7/igt@kms_flip@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb8/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile:
- shard-iclb: [SKIP][122] ([i915#3701]) -> [PASS][123] +1 similar issue
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-iclb2/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [FAIL][124] ([fdo#108145] / [i915#265]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl4/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl9/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [SKIP][126] ([fdo#109441]) -> [PASS][127] +2 similar issues
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-iclb5/igt@kms_psr@psr2_cursor_mmap_cpu.html
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_setmode@basic:
- shard-glk: [FAIL][128] ([i915#31]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-glk1/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-glk6/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend:
- shard-tglb: [INCOMPLETE][130] ([i915#456]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb7/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-skl: [INCOMPLETE][132] ([i915#198] / [i915#2828]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-skl2/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-skl10/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][134] ([i915#3896]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-tglb7/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-tglb5/igt@[email protected]
#### Warnings ####
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-iclb: [FAIL][136] ([i915#2852]) -> [FAIL][137] ([i915#2842])
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10824/shard-iclb5/igt@gem_exec_fair@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/shard-iclb4/igt@gem_exec_fair@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-1:
- shard-iclb: [SKIP][138] ([i915#2920]) -> [SKIP][139] ([i915#6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21497/index.html
Quoted 108 lines · Imre Deak
Factor out functions that are needed by the next patch to suspend/resume the memory mappings for DPT FBs.
No functional change, except reordering during suspend the
ggtt->invalidate(ggtt)call wrt.atomic_set(&ggtt->vm.open, open)andmutex_unlock(&ggtt->vm.mutex). This shouldn't matter due to the i915 suspend sequence being single threaded.Cc Chris Wilson <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/gt/intel_ggtt.c | 71 +++++++++++++++++++++------- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 + 2 files changed, 56 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/gt/intel_ggtt.c +38
-14@@ -116,17 +116,26 @@ static bool needs_idle_maps(struct drm_i915_private *i915)return false; } -void i915_ggtt_suspend (struct i915_ggtt *ggtt) +/** +* i915_ggtt_suspend_vm - Suspend the memory mappings for a GGTT or DPT VM +* @vm: The VM to suspend the mappings for +* +* Suspend the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +*/ +void i915_ggtt_suspend_vm (struct i915_address_space *vm) {struct i915_vma *vma, *vn;int open; -mutex_lock (&ggtt->vm.mutex); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt); + +mutex_lock (&vm->mutex);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 ); -list_for_each_entry_safe (vma, vn, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry_safe (vma, vn, &vm->bound_list, vm_link) {GEM_BUG_ON (!drm_mm_node_allocated (&vma->node));i915_vma_wait_for_bind (vma);@@ -139,11 +148,17 @@ void i915_ggtt_suspend(struct i915_ggtt *ggtt) } } - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total); + +atomic_set (&vm->open, open); + +mutex_unlock (&vm->mutex); +} + +void i915_ggtt_suspend (struct i915_ggtt *ggtt) +{ +i915_ggtt_suspend_vm (&ggtt->vm); ggtt->invalidate (ggtt); -atomic_set (&ggtt->vm.open, open); - -mutex_unlock (&ggtt->vm.mutex);intel_gt_check_and_clear_faults (ggtt->vm.gt); }@@ -1253,37 +1268,59 @@ void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) ggtt->invalidate (ggtt); } -void i915_ggtt_resume (struct i915_ggtt *ggtt) +/** +* i915_ggtt_resume_vm - Restore the memory mappings for a GGTT or DPT VM +* @vm: The VM to restore the mappings for +* +* Restore the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +* +* Returns %true if restoring the mapping for any object that was in a write +* domain before suspend. +*/ +bool i915_ggtt_resume_vm (struct i915_address_space *vm) {struct i915_vma *vma; -bool flush = false; +bool write_domain_objs = false;int open; -intel_gt_check_and_clear_faults (ggtt->vm.gt); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt);/* First fill our portion of the GTT with scratch pages */ - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 );/* clflush objects bound into the GGTT and rebind them. */ -list_for_each_entry (vma, &ggtt->vm.bound_list, vm_link) {
drivers/gpu/drm/i915/gt/intel_ggtt.c void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) · line 1304
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c +2
-1+list_for_each_entry (vma, &vm->bound_list, vm_link) {struct drm_i915_gem_object *obj = vma->obj;unsigned int was_bound =atomic_read (&vma->flags) &I915_VMA_BIND_MASK ;GEM_BUG_ON (!was_bound); - vma->ops->bind_vma (&ggtt->vm,NULL , vma, + vma->ops->bind_vma (vm,NULL , vma, obj ? obj->cache_level :0 , was_bound);
Can we even get here with DPT? Ie. shouldn't everything have been thrown out during suspend? Maybe we should WARN if any DPT stuff is still bound during resume?
Other than that this looks good to me. Series is
Quoted 39 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c +14
-2if (obj) {/* only used during resume => exclusive access */ - flush |=fetch_and_zero (&obj->write_domain); + write_domain_objs |=fetch_and_zero (&obj->write_domain); obj->read_domains |=I915_GEM_DOMAIN_GTT ; } } -atomic_set (&ggtt->vm.open, open); +atomic_set (&vm->open, open); + +return write_domain_objs; +} + +void i915_ggtt_resume (struct i915_ggtt *ggtt) +{ +bool flush; + +intel_gt_check_and_clear_faults (ggtt->vm.gt); + + flush =i915_ggtt_resume_vm (&ggtt->vm); + ggtt->invalidate (ggtt);if (flush)drivers/gpu/drm/i915/gt/intel_gtt.h +2
-0@@ -544,6 +544,8 @@ int i915_ppgtt_init_hw(struct intel_gt *gt);struct i915_ppgtt *i915_ppgtt_create (struct intel_gt *gt,unsigned long lmem_pt_obj_flags); +void i915_ggtt_suspend_vm (struct i915_address_space *vm); +bool i915_ggtt_resume_vm (struct i915_address_space *vm);void i915_ggtt_suspend (struct i915_ggtt *gtt);void i915_ggtt_resume (struct i915_ggtt *ggtt);Signature · 1 line
2.27.0
Signature · 2 lines
Ville Syrjälä Intel
Quoted 114 lines · Ville Syrjälä
Quoted 113 lines · Imre Deak
Factor out functions that are needed by the next patch to suspend/resume the memory mappings for DPT FBs.
No functional change, except reordering during suspend the
ggtt->invalidate(ggtt)call wrt.atomic_set(&ggtt->vm.open, open)andmutex_unlock(&ggtt->vm.mutex). This shouldn't matter due to the i915 suspend sequence being single threaded.Cc Chris Wilson <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/gt/intel_ggtt.c | 71 +++++++++++++++++++++------- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 + 2 files changed, 56 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/gt/intel_ggtt.c +39
-14@@ -116,17 +116,26 @@ static bool needs_idle_maps(struct drm_i915_private *i915)return false; } -void i915_ggtt_suspend (struct i915_ggtt *ggtt) +/** +* i915_ggtt_suspend_vm - Suspend the memory mappings for a GGTT or DPT VM +* @vm: The VM to suspend the mappings for +* +* Suspend the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +*/ +void i915_ggtt_suspend_vm (struct i915_address_space *vm) {struct i915_vma *vma, *vn;int open; -mutex_lock (&ggtt->vm.mutex); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt); + +mutex_lock (&vm->mutex);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 ); -list_for_each_entry_safe (vma, vn, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry_safe (vma, vn, &vm->bound_list, vm_link) {GEM_BUG_ON (!drm_mm_node_allocated (&vma->node));i915_vma_wait_for_bind (vma);@@ -139,11 +148,17 @@ void i915_ggtt_suspend(struct i915_ggtt *ggtt) } } - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total); + +atomic_set (&vm->open, open); + +mutex_unlock (&vm->mutex); +} + +void i915_ggtt_suspend (struct i915_ggtt *ggtt) +{ +i915_ggtt_suspend_vm (&ggtt->vm); ggtt->invalidate (ggtt); -atomic_set (&ggtt->vm.open, open); - -mutex_unlock (&ggtt->vm.mutex);intel_gt_check_and_clear_faults (ggtt->vm.gt); }@@ -1253,37 +1268,59 @@ void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) ggtt->invalidate (ggtt); } -void i915_ggtt_resume (struct i915_ggtt *ggtt) +/** +* i915_ggtt_resume_vm - Restore the memory mappings for a GGTT or DPT VM +* @vm: The VM to restore the mappings for +* +* Restore the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +* +* Returns %true if restoring the mapping for any object that was in a write +* domain before suspend. +*/ +bool i915_ggtt_resume_vm (struct i915_address_space *vm) {struct i915_vma *vma; -bool flush = false; +bool write_domain_objs = false;int open; -intel_gt_check_and_clear_faults (ggtt->vm.gt); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt);/* First fill our portion of the GTT with scratch pages */ - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 );/* clflush objects bound into the GGTT and rebind them. */ -list_for_each_entry (vma, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry (vma, &vm->bound_list, vm_link) {struct drm_i915_gem_object *obj = vma->obj;unsigned int was_bound =atomic_read (&vma->flags) &I915_VMA_BIND_MASK ;
Quoted 8 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) · line 1304
Quoted 5 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c +1
-1GEM_BUG_ON (!was_bound); - vma->ops->bind_vma (&ggtt->vm,NULL , vma, + vma->ops->bind_vma (vm,NULL , vma, obj ? obj->cache_level :0 , was_bound);Can we even get here with DPT? Ie. shouldn't everything have been thrown out during suspend?
After calling vma->ops->unbind_vma() the DPT object still remains on the vm->bound_list, it's only supposed to clear the PTE entries (atm we're not doing that for DPT). Here we re-instate the PTEs for the same objects still on the bound_list.
Quoted 48 lines
Maybe we should WARN if any DPT stuff is still bound during resume?
Other than that this looks good to me. Series is
Reviewed-by Ville Syrjälä <[email protected]>Quoted 39 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c +14
-2if (obj) {/* only used during resume => exclusive access */ - flush |=fetch_and_zero (&obj->write_domain); + write_domain_objs |=fetch_and_zero (&obj->write_domain); obj->read_domains |=I915_GEM_DOMAIN_GTT ; } } -atomic_set (&ggtt->vm.open, open); +atomic_set (&vm->open, open); + +return write_domain_objs; +} + +void i915_ggtt_resume (struct i915_ggtt *ggtt) +{ +bool flush; + +intel_gt_check_and_clear_faults (ggtt->vm.gt); + + flush =i915_ggtt_resume_vm (&ggtt->vm); + ggtt->invalidate (ggtt);if (flush)drivers/gpu/drm/i915/gt/intel_gtt.h +2
-0@@ -544,6 +544,8 @@ int i915_ppgtt_init_hw(struct intel_gt *gt);struct i915_ppgtt *i915_ppgtt_create (struct intel_gt *gt,unsigned long lmem_pt_obj_flags); +void i915_ggtt_suspend_vm (struct i915_address_space *vm); +bool i915_ggtt_resume_vm (struct i915_address_space *vm);void i915_ggtt_suspend (struct i915_ggtt *gtt);void i915_ggtt_resume (struct i915_ggtt *ggtt);Signature · 1 line
2.27.0Signature · 2 lines
Ville Syrjälä Intel
Quoted 124 lines · Imre Deak
Quoted 114 lines · Ville Syrjälä
Quoted 113 lines · Imre Deak
Factor out functions that are needed by the next patch to suspend/resume the memory mappings for DPT FBs.
No functional change, except reordering during suspend the
ggtt->invalidate(ggtt)call wrt.atomic_set(&ggtt->vm.open, open)andmutex_unlock(&ggtt->vm.mutex). This shouldn't matter due to the i915 suspend sequence being single threaded.Cc Chris Wilson <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/gt/intel_ggtt.c | 71 +++++++++++++++++++++------- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 + 2 files changed, 56 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/gt/intel_ggtt.c +39
-14@@ -116,17 +116,26 @@ static bool needs_idle_maps(struct drm_i915_private *i915)return false; } -void i915_ggtt_suspend (struct i915_ggtt *ggtt) +/** +* i915_ggtt_suspend_vm - Suspend the memory mappings for a GGTT or DPT VM +* @vm: The VM to suspend the mappings for +* +* Suspend the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +*/ +void i915_ggtt_suspend_vm (struct i915_address_space *vm) {struct i915_vma *vma, *vn;int open; -mutex_lock (&ggtt->vm.mutex); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt); + +mutex_lock (&vm->mutex);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 ); -list_for_each_entry_safe (vma, vn, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry_safe (vma, vn, &vm->bound_list, vm_link) {GEM_BUG_ON (!drm_mm_node_allocated (&vma->node));i915_vma_wait_for_bind (vma);@@ -139,11 +148,17 @@ void i915_ggtt_suspend(struct i915_ggtt *ggtt) } } - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total); + +atomic_set (&vm->open, open); + +mutex_unlock (&vm->mutex); +} + +void i915_ggtt_suspend (struct i915_ggtt *ggtt) +{ +i915_ggtt_suspend_vm (&ggtt->vm); ggtt->invalidate (ggtt); -atomic_set (&ggtt->vm.open, open); - -mutex_unlock (&ggtt->vm.mutex);intel_gt_check_and_clear_faults (ggtt->vm.gt); }@@ -1253,37 +1268,59 @@ void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) ggtt->invalidate (ggtt); } -void i915_ggtt_resume (struct i915_ggtt *ggtt) +/** +* i915_ggtt_resume_vm - Restore the memory mappings for a GGTT or DPT VM +* @vm: The VM to restore the mappings for +* +* Restore the memory mappings for all objects mapped to HW via the GGTT or a +* DPT page table. +* +* Returns %true if restoring the mapping for any object that was in a write +* domain before suspend. +*/ +bool i915_ggtt_resume_vm (struct i915_address_space *vm) {struct i915_vma *vma; -bool flush = false; +bool write_domain_objs = false;int open; -intel_gt_check_and_clear_faults (ggtt->vm.gt); +drm_WARN_ON (&vm->i915->drm, !vm->is_ggtt && !vm->is_dpt);/* First fill our portion of the GTT with scratch pages */ - ggtt->vm.clear_range (&ggtt->vm,0 , ggtt->vm.total); + vm->clear_range (vm,0 , vm->total);/* Skip rewriting PTE on VMA unbind. */ - open =atomic_xchg (&ggtt->vm.open,0 ); + open =atomic_xchg (&vm->open,0 );/* clflush objects bound into the GGTT and rebind them. */ -list_for_each_entry (vma, &ggtt->vm.bound_list, vm_link) { +list_for_each_entry (vma, &vm->bound_list, vm_link) {struct drm_i915_gem_object *obj = vma->obj;unsigned int was_bound =atomic_read (&vma->flags) &I915_VMA_BIND_MASK ;Quoted 8 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c void i915_ggtt_disable_guc(struct i915_ggtt *ggtt) · line 1304
Quoted 5 lines
drivers/gpu/drm/i915/gt/intel_ggtt.c +1
-1GEM_BUG_ON (!was_bound); - vma->ops->bind_vma (&ggtt->vm,NULL , vma, + vma->ops->bind_vma (vm,NULL , vma, obj ? obj->cache_level :0 , was_bound);Can we even get here with DPT? Ie. shouldn't everything have been thrown out during suspend?
Quoted 4 lines
After calling
vma->ops->unbind_vma()the DPT object still remains on thevm->bound_list, it's only supposed to clear the PTE entries (atm we're not doing that for DPT). Here we re-instate the PTEs for the same objects still on thebound_list.
Ah, I thought we just evict everything not pinned. But I guess not.
Signature · 2 lines
Ville Syrjälä Intel