drm/i915/guc: Move shared data allocation away from submission path
Subsystems (2)
PATCH 1/7 drm/i915/guc: Move shared data allocation away from submission path
We need shared data for actions (e.g. guc suspend/resume), and we're using those with GuC submission disabled.
Let's introduce intel_guc_init and move shared data alloc there.
This fixes GPF during module unload with HuC, but without GuC submission:
BUG: unable to handle kernel NULL pointer dereference at 000000005aee7809 IP: intel_guc_suspend+0x34/0x140 [i915] PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP Modules linked in: i915(O-) netconsole x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel mei_me i2c_i801 mei prime_numbers [last unloaded: i915] CPU: 2 PID: 2794 Comm: rmmod Tainted: G U W O 4.15.0-rc2+ #297 Hardware name: /NUC6i5SYB, BIOS SYSKLi35.86A.0054.2016.0930.1102 09/30/2016 task: 0000000055945c61 task.stack: 00000000264ccb43 RIP: 0010:intel_guc_suspend+0x34/0x140 [i915] RSP: 0018:ffffc90000483df8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff880829180000 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffff880844c2c938 RDI: ffff880844c2c000 RBP: ffff880829180000 R08: 00000000a29c58c1 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffa040ba40 R13: ffffffffa040bab0 R14: ffff88084a195060 R15: 000055df3ef357a0 FS: 00007ff43c043740(0000) GS:ffff88084e200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000f9 CR3: 000000083f179005 CR4: 00000000003606e0 Call Trace: i915_gem_suspend+0x9d/0x130 [i915] ? i915_driver_unload+0x68/0x180 [i915] i915_driver_unload+0x70/0x180 [i915] i915_pci_remove+0x15/0x20 [i915] pci_device_remove+0x36/0xb0 device_release_driver_internal+0x15f/0x220 driver_detach+0x3a/0x80 bus_remove_driver+0x58/0xd0 pci_unregister_driver+0x29/0x90 SyS_delete_module+0x150/0x1e0 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x7ff43b51b5c7 RSP: 002b:00007ffe6825a758 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff43b51b5c7 RDX: 000000000000000a RSI: 0000000000000800 RDI: 000055df3ef35808 RBP: 0000000000000000 R08: 00007ffe682596d1 R09: 0000000000000000 R10: 00007ff43b594880 R11: 0000000000000206 R12: 000055df3ef357a0 R13: 00007ffe68259740 R14: 000055df3ef35260 R15: 000055df3ef357a0 Code: 00 00 02 74 03 31 c0 c3 53 48 89 fb 48 83 ec 10 e8 52 0f f8 ff 48 b8 01 05 00 00 02 00 00 00 48 89 44 24 04 48 8b 83 00 12 00 00 <f6> 80 f9 00 00 00 01 0f 84 a7 00 00 00 f6 80 98 00 00 00 01 0f RIP: intel_guc_suspend+0x34/0x140 [i915] RSP: ffffc90000483df8 CR2: 00000000000000f9 ---[ end trace 23a192a61d937a3e ]---
--- drivers/gpu/drm/i915/intel_guc.c | 51 +++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_guc.h | 2 ++ drivers/gpu/drm/i915/intel_guc_submission.c | 37 +-------------------- drivers/gpu/drm/i915/intel_uc.c | 10 +++--- 4 files changed, 60 insertions(+), 40 deletions(-)
drivers/gpu/drm/i915/intel_guc.c +51 -0
@@ -69,6 +69,57 @@ void intel_guc_init_early(struct intel_guc *guc) guc->notify = gen8_guc_raise_irq; } +static int guc_shared_data_create (struct intel_guc *guc) +{ +struct i915_vma *vma; +void *vaddr; + + vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); +if (IS_ERR (vma)) +return PTR_ERR (vma); + + vaddr =i915_gem_object_pin_map (vma->obj,I915_MAP_WB ); +if (IS_ERR (vaddr)) { +i915_vma_unpin_and_release (&vma); +return PTR_ERR (vaddr); + } + + guc->shared_data = vma; + guc->shared_data_vaddr = vaddr; + +return 0 ; +} + +static void guc_shared_data_destroy (struct intel_guc *guc) +{ +i915_gem_object_unpin_map (guc->shared_data->obj); +i915_vma_unpin_and_release (&guc->shared_data); +} + +int intel_guc_init (struct intel_guc *guc) +{ +struct drm_i915_private *dev_priv =guc_to_i915 (guc); +int ret; + + ret =guc_shared_data_create (guc); +if (ret) +return ret; +GEM_BUG_ON (!guc->shared_data); + +/* We need to notify the guc whenever we change the GGTT */ +i915_ggtt_enable_guc (dev_priv); + +return 0 ; +} + +void intel_guc_fini (struct intel_guc *guc) +{ +struct drm_i915_private *dev_priv =guc_to_i915 (guc); + +i915_ggtt_disable_guc (dev_priv); +guc_shared_data_destroy (guc); +} +static u32 get_gt_type (struct drm_i915_private *dev_priv) {/* XXX: GT type based on PCI device ID? field seems unused by fw */
drivers/gpu/drm/i915/intel_guc.h +2 -0
@@ -119,6 +119,8 @@ static inline u32 guc_ggtt_offset(struct i915_vma *vma)void intel_guc_init_early (struct intel_guc *guc);void intel_guc_init_send_regs (struct intel_guc *guc);void intel_guc_init_params (struct intel_guc *guc); +int intel_guc_init (struct intel_guc *guc); +void intel_guc_fini (struct intel_guc *guc);int intel_guc_send_nop (struct intel_guc *guc,const u32 *action,u32 len);int intel_guc_send_mmio (struct intel_guc *guc,const u32 *action,u32 len);int intel_guc_sample_forcewake (struct intel_guc *guc);
drivers/gpu/drm/i915/intel_guc_submission.c +1 -36
@@ -447,33 +447,6 @@ static void guc_stage_desc_fini(struct intel_guc *guc,memset (desc,0 ,sizeof (*desc)); } -static int guc_shared_data_create (struct intel_guc *guc) -{ -struct i915_vma *vma; -void *vaddr; - - vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); -if (IS_ERR (vma)) -return PTR_ERR (vma); - - vaddr =i915_gem_object_pin_map (vma->obj,I915_MAP_WB ); -if (IS_ERR (vaddr)) { -i915_vma_unpin_and_release (&vma); -return PTR_ERR (vaddr); - } - - guc->shared_data = vma; - guc->shared_data_vaddr = vaddr; - -return 0 ; -} - -static void guc_shared_data_destroy (struct intel_guc *guc) -{ -i915_gem_object_unpin_map (guc->shared_data->obj); -i915_vma_unpin_and_release (&guc->shared_data); -} -/* Construct a Work Item and append it to the GuC's Work Queue */ static void guc_wq_item_append(struct intel_guc_client *client, u32 target_engine, u32 context_desc,
@@ -1279,14 +1252,9 @@ int intel_guc_submission_init(struct intel_guc *guc)*/ GEM_BUG_ON (!guc->stage_desc_pool); - ret =guc_shared_data_create (guc); -if (ret) - goto err_stage_desc_pool; -GEM_BUG_ON (!guc->shared_data); - ret =intel_guc_log_create (guc);if (ret <0 ) - goto err_shared_data; + goto err_stage_desc_pool; ret =guc_preempt_work_create (guc);if (ret)
@@ -1304,8 +1272,6 @@ int intel_guc_submission_init(struct intel_guc *guc)guc_preempt_work_destroy (guc); err_log:intel_guc_log_destroy (guc); -err_shared_data: -guc_shared_data_destroy (guc); err_stage_desc_pool:guc_stage_desc_pool_destroy (guc);return ret;
@@ -1316,7 +1282,6 @@ void intel_guc_submission_fini(struct intel_guc *guc)guc_ads_destroy (guc);guc_preempt_work_destroy (guc);intel_guc_log_destroy (guc); -guc_shared_data_destroy (guc);guc_stage_desc_pool_destroy (guc); }
drivers/gpu/drm/i915/intel_uc.c +6 -4
@@ -24,6 +24,7 @@#include "intel_uc.h" #include "intel_guc_submission.h" +#include "intel_guc.h" #include "i915_drv.h" /* Reset GuC providing us with fresh state for both GuC and HuC.
@@ -204,8 +205,9 @@ int intel_uc_init_hw(struct drm_i915_private *dev_priv)guc_disable_communication (guc);gen9_reset_guc_interrupts (dev_priv); -/* We need to notify the guc whenever we change the GGTT */ -i915_ggtt_enable_guc (dev_priv); + ret =intel_guc_init (guc); +if (ret) + goto err_out;if (USES_GUC_SUBMISSION (dev_priv)) {/*
@@ -298,7 +300,7 @@ int intel_uc_init_hw(struct drm_i915_private *dev_priv)if (USES_GUC_SUBMISSION (dev_priv))intel_guc_submission_fini (guc); err_guc: -i915_ggtt_disable_guc (dev_priv); +intel_guc_fini (guc); err_out:/* * Note that there is no fallback as either user explicitly asked for
@@ -330,5 +332,5 @@ void intel_uc_fini_hw(struct drm_i915_private *dev_priv)intel_guc_submission_fini (guc); } -i915_ggtt_disable_guc (dev_priv); +intel_guc_fini (guc); }
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/7 drm/i915/guc: Move GuC workqueue allocations outside of the mutex
This gets rid of the following lockdep splat:
======================================================
WARNING: possible circular locking dependency detected
4.15.0-rc2-CI-Patchwork_7428+ #1 Not tainted
------------------------------------------------------
debugfs_test/1351 is trying to acquire lock:
(&dev->struct_mutex){+.+.}, at: [<000000009d90d1a3>] i915_mutex_lock_interruptible+0x47/0x130 [i915]
but task is already holding lock:
(&mm->mmap_sem){++++}, at: [<000000005df01c1e>] __do_page_fault+0x106/0x560
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #6 (&mm->mmap_sem){++++}:
__might_fault+0x63/0x90
_copy_to_user+0x1e/0x70
filldir+0x8c/0xf0
dcache_readdir+0xeb/0x160
iterate_dir+0xe6/0x150
SyS_getdents+0xa0/0x130
entry_SYSCALL_64_fastpath+0x1c/0x89-> #5 (&sb->s_type->i_mutex_key#5){++++}:
lockref_get+0x9/0x20
-> #4 ((completion)&req.done){+.+.}:
wait_for_common+0x54/0x210
devtmpfs_create_node+0x130/0x150
device_add+0x5ad/0x5e0
device_create_groups_vargs+0xd4/0xe0
device_create+0x35/0x40
msr_device_create+0x22/0x40
cpuhp_invoke_callback+0xc5/0xbf0
cpuhp_thread_fun+0x167/0x210
smpboot_thread_fn+0x17f/0x270
kthread+0x173/0x1b0
ret_from_fork+0x24/0x30-> #3 (cpuhp_state-up){+.+.}:
cpuhp_issue_call+0x132/0x1c0
__cpuhp_setup_state_cpuslocked+0x12f/0x2a0
__cpuhp_setup_state+0x3a/0x50
page_writeback_init+0x3a/0x5c
start_kernel+0x393/0x3e2
secondary_startup_64+0xa5/0xb0-> #2 (cpuhp_state_mutex){+.+.}:
__mutex_lock+0x81/0x9b0
__cpuhp_setup_state_cpuslocked+0x4b/0x2a0
__cpuhp_setup_state+0x3a/0x50
page_alloc_init+0x1f/0x26
start_kernel+0x139/0x3e2
secondary_startup_64+0xa5/0xb0-> #1 (cpu_hotplug_lock.rw_sem){++++}:
cpus_read_lock+0x34/0xa0
apply_workqueue_attrs+0xd/0x40
__alloc_workqueue_key+0x2c7/0x4e1
intel_guc_submission_init+0x10c/0x650 [i915]
intel_uc_init_hw+0x29e/0x460 [i915]
i915_gem_init_hw+0xca/0x290 [i915]
i915_gem_init+0x115/0x3a0 [i915]
i915_driver_load+0x9a8/0x16c0 [i915]
i915_pci_probe+0x2e/0x90 [i915]
pci_device_probe+0x9c/0x120
driver_probe_device+0x2a3/0x480
__driver_attach+0xd9/0xe0
bus_for_each_dev+0x57/0x90
bus_add_driver+0x168/0x260
driver_register+0x52/0xc0
do_one_initcall+0x39/0x150
do_init_module+0x56/0x1ef
load_module+0x231c/0x2d70
SyS_finit_module+0xa5/0xe0
entry_SYSCALL_64_fastpath+0x1c/0x89-> #0 (&dev->struct_mutex){+.+.}:
lock_acquire+0xaf/0x200
__mutex_lock+0x81/0x9b0
i915_mutex_lock_interruptible+0x47/0x130 [i915]
i915_gem_fault+0x201/0x760 [i915]
__do_fault+0x15/0x70
__handle_mm_fault+0x85b/0xe40
handle_mm_fault+0x14f/0x2f0
__do_page_fault+0x2d1/0x560
page_fault+0x22/0x30other info that might help us debug this:
Chain exists of: &dev->struct_mutex --> &sb->s_type->i_mutex_key#5 --> &mm->mmap_sem Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&mm->mmap_sem);
lock(&sb->s_type->i_mutex_key#5);
lock(&mm->mmap_sem); lock(&dev->struct_mutex);
*** DEADLOCK ***
1 lock held by debugfs_test/1351:
#0: (&mm->mmap_sem){++++}, at: [<000000005df01c1e>] __do_page_fault+0x106/0x560
stack backtrace: CPU: 2 PID: 1351 Comm: debugfs_test Not tainted 4.15.0-rc2-CI-Patchwork_7428+ #1 Hardware name: /NUC6i5SYB, BIOS SYSKLi35.86A.0057.2017.0119.1758 01/19/2017 Call Trace: dump_stack+0x5f/0x86 print_circular_bug+0x230/0x3b0 check_prev_add+0x439/0x7b0 ? lockdep_init_map_crosslock+0x20/0x20 ? unwind_get_return_address+0x16/0x30 ? __lock_acquire+0x1385/0x15a0 __lock_acquire+0x1385/0x15a0 lock_acquire+0xaf/0x200 ? i915_mutex_lock_interruptible+0x47/0x130 [i915] __mutex_lock+0x81/0x9b0 ? i915_mutex_lock_interruptible+0x47/0x130 [i915] ? i915_mutex_lock_interruptible+0x47/0x130 [i915] ? i915_mutex_lock_interruptible+0x47/0x130 [i915] i915_mutex_lock_interruptible+0x47/0x130 [i915] ? __pm_runtime_resume+0x4f/0x80 i915_gem_fault+0x201/0x760 [i915] __do_fault+0x15/0x70 __handle_mm_fault+0x85b/0xe40 handle_mm_fault+0x14f/0x2f0 __do_page_fault+0x2d1/0x560 page_fault+0x22/0x30 RIP: 0033:0x7f98d6f49116 RSP: 002b:00007ffd6ffc3278 EFLAGS: 00010283 RAX: 00007f98d39a2bc0 RBX: 0000000000000000 RCX: 0000000000001680 RDX: 0000000000001680 RSI: 00007ffd6ffc3400 RDI: 00007f98d39a2bc0 RBP: 00007ffd6ffc33a0 R08: 0000000000000000 R09: 00000000000005a0 R10: 000055e847c2a830 R11: 0000000000000002 R12: 0000000000000001 R13: 000055e847c1d040 R14: 00007ffd6ffc3400 R15: 00007f98d6752ba0
v2: Init preempt_work unconditionally (Chris)
v3: Mention that we need the enable_guc=1 for lockdep splat (Chris)
Testcase: igt/debugfs_test/read_all_entries # with i915.enable_guc=1
--- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/i915/i915_gem.c | 4 ++ drivers/gpu/drm/i915/intel_guc.c | 57 +++++++++++++++++++++++ drivers/gpu/drm/i915/intel_guc.h | 2 + drivers/gpu/drm/i915/intel_guc_log.c | 23 ---------- drivers/gpu/drm/i915/intel_guc_submission.c | 70 +++++++---------------------- drivers/gpu/drm/i915/intel_guc_submission.h | 2 + drivers/gpu/drm/i915/intel_uc.c | 26 +++++++++++ drivers/gpu/drm/i915/intel_uc.h | 2 + 9 files changed, 110 insertions(+), 77 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +1 -0
@@ -621,6 +621,7 @@ static void i915_gem_fini(struct drm_i915_private *dev_priv)i915_gem_contexts_fini (dev_priv);mutex_unlock (&dev_priv->drm.struct_mutex); +intel_uc_fini_wq (dev_priv);i915_gem_cleanup_userptr (dev_priv);i915_gem_drain_freed_objects (dev_priv);
drivers/gpu/drm/i915/i915_gem.c +4 -0
@@ -5163,6 +5163,10 @@ int i915_gem_init(struct drm_i915_private *dev_priv)if (ret)return ret; + ret =intel_uc_init_wq (dev_priv); +if (ret) +return ret; +/* This is just a security blanket to placate dragons. * On some systems, we very sporadically observe that the first TLBs * used by the CS may be stale, despite us poking the TLB reset. If
drivers/gpu/drm/i915/intel_guc.c +57 -0
63 lines not on this page · raw message
drivers/gpu/drm/i915/intel_guc.h +2 -0
@@ -119,6 +119,8 @@ static inline u32 guc_ggtt_offset(struct i915_vma *vma)void intel_guc_init_early (struct intel_guc *guc);void intel_guc_init_send_regs (struct intel_guc *guc);void intel_guc_init_params (struct intel_guc *guc); +int intel_guc_init_wq (struct intel_guc *guc); +void intel_guc_fini_wq (struct intel_guc *guc);int intel_guc_init (struct intel_guc *guc);void intel_guc_fini (struct intel_guc *guc);int intel_guc_send_nop (struct intel_guc *guc,const u32 *action,u32 len);
drivers/gpu/drm/i915/intel_guc_log.c +0 -23
@@ -411,30 +411,8 @@ static int guc_log_runtime_create(struct intel_guc *guc) guc->log.runtime.relay_chan = guc_log_relay_chan;INIT_WORK (&guc->log.runtime.flush_work, capture_logs_work); - -/* -* GuC log buffer flush work item has to do register access to -* send the ack to GuC and this work item, if not synced before -* suspend, can potentially get executed after the GFX device is -* suspended. -* By marking the WQ as freezable, we don't have to bother about -* flushing of this work item from the suspend hooks, the pending -* work item if any will be either executed before the suspend -* or scheduled later on resume. This way the handling of work -* item can be kept same between system suspend & rpm suspend. -*/ - guc->log.runtime.flush_wq =alloc_ordered_workqueue ("i915-guc_log" , -WQ_HIGHPRI |WQ_FREEZABLE ); -if (!guc->log.runtime.flush_wq) { -DRM_ERROR ("Couldn't allocate the wq for GuC logging\n" ); - ret = -ENOMEM ; - goto err_relaychan; - } -return 0 ; -err_relaychan: -relay_close (guc->log.runtime.relay_chan); err_vaddr:i915_gem_object_unpin_map (guc->log.vma->obj); guc->log.runtime.buf_addr =NULL ;
@@ -450,7 +428,6 @@ static void guc_log_runtime_destroy(struct intel_guc *guc)if (!guc_log_has_runtime (guc))return ; -destroy_workqueue (guc->log.runtime.flush_wq);relay_close (guc->log.runtime.relay_chan);i915_gem_object_unpin_map (guc->log.vma->obj); guc->log.runtime.buf_addr =NULL ;
drivers/gpu/drm/i915/intel_guc_submission.c +16 -54
101 lines not on this page · raw message
drivers/gpu/drm/i915/intel_guc_submission.h +2 -0
@@ -77,5 +77,7 @@ int intel_guc_submission_init(struct intel_guc *guc);int intel_guc_submission_enable (struct intel_guc *guc);void intel_guc_submission_disable (struct intel_guc *guc);void intel_guc_submission_fini (struct intel_guc *guc); +int intel_guc_preempt_work_create (struct intel_guc *guc); +void intel_guc_preempt_work_destroy (struct intel_guc *guc);#endif
drivers/gpu/drm/i915/intel_uc.c +26 -0
@@ -188,6 +188,32 @@ static void guc_disable_communication(struct intel_guc *guc) guc->send = intel_guc_send_nop; } +int intel_uc_init_wq (struct drm_i915_private *dev_priv) +{ +int ret; + +if (!USES_GUC (dev_priv)) +return 0 ; + + ret =intel_guc_init_wq (&dev_priv->guc); +if (ret) { +DRM_ERROR ("Couldn't allocate workqueues for GuC\n" ); +return ret; + } + +return 0 ; +} + +void intel_uc_fini_wq (struct drm_i915_private *dev_priv) +{ +if (!USES_GUC (dev_priv)) +return ; + +GEM_BUG_ON (!HAS_GUC (dev_priv)); + +intel_guc_fini_wq (&dev_priv->guc); +} +int intel_uc_init_hw (struct drm_i915_private *dev_priv) {struct intel_guc *guc = &dev_priv->guc;
drivers/gpu/drm/i915/intel_uc.h +2 -0
@@ -33,6 +33,8 @@ void intel_uc_init_early(struct drm_i915_private *dev_priv);void intel_uc_init_mmio (struct drm_i915_private *dev_priv);void intel_uc_init_fw (struct drm_i915_private *dev_priv);void intel_uc_fini_fw (struct drm_i915_private *dev_priv); +int intel_uc_init_wq (struct drm_i915_private *dev_priv); +void intel_uc_fini_wq (struct drm_i915_private *dev_priv);int intel_uc_init_hw (struct drm_i915_private *dev_priv);void intel_uc_fini_hw (struct drm_i915_private *dev_priv);
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/7 drm/i915/guc: Extract guc_init from guc_init_hw
In reply to Michał WiniarskiAfter GPU reset, GuC HW needs to be reinitialized (with FW reload). Unfortunately, we're doing some extra work there (mostly allocating stuff), work that can be moved to guc_init and called once at driver load time.
As a side effect we're no longer hitting an assert in i915_ggtt_enable_guc on suspend/resume.
v2: Do not duplicate disable_communication / reset_guc_interrupts
v3: Add proper teardown after rebase
References: 04f7b24eccdf ("drm/i915/guc: Assert that we switch between known ggtt->invalidate functions")
--- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/i915/i915_gem.c | 8 ++++- drivers/gpu/drm/i915/intel_uc.c | 71 ++++++++++++++++++++++++++--------------- drivers/gpu/drm/i915/intel_uc.h | 2 ++ 4 files changed, 56 insertions(+), 26 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +1 -0
@@ -617,6 +617,7 @@ static void i915_gem_fini(struct drm_i915_private *dev_priv)mutex_lock (&dev_priv->drm.struct_mutex);intel_uc_fini_hw (dev_priv); +intel_uc_fini (dev_priv);i915_gem_cleanup_engines (dev_priv);i915_gem_contexts_fini (dev_priv);mutex_unlock (&dev_priv->drm.struct_mutex);
drivers/gpu/drm/i915/i915_gem.c +7 -1
@@ -5196,10 +5196,14 @@ int i915_gem_init(struct drm_i915_private *dev_priv)intel_init_gt_powersave (dev_priv); - ret =i915_gem_init_hw (dev_priv); + ret =intel_uc_init (dev_priv);if (ret) goto err_pm; + ret =i915_gem_init_hw (dev_priv); +if (ret) + goto err_uc_init; +/* * Despite its name intel_init_clock_gating applies both display * clock gating workarounds; GT mmio workarounds and the occasional
@@ -5240,6 +5244,8 @@ int i915_gem_init(struct drm_i915_private *dev_priv)i915_gem_wait_for_idle (dev_priv,I915_WAIT_LOCKED );i915_gem_contexts_lost (dev_priv);intel_uc_fini_hw (dev_priv); +err_uc_init: +intel_uc_fini (dev_priv); err_pm:if (ret != -EIO ) {intel_cleanup_gt_powersave (dev_priv);
drivers/gpu/drm/i915/intel_uc.c +46 -25
120 lines not on this page · raw message
drivers/gpu/drm/i915/intel_uc.h +2 -0
@@ -37,6 +37,8 @@ int intel_uc_init_wq(struct drm_i915_private *dev_priv);void intel_uc_fini_wq (struct drm_i915_private *dev_priv);int intel_uc_init_hw (struct drm_i915_private *dev_priv);void intel_uc_fini_hw (struct drm_i915_private *dev_priv); +int intel_uc_init (struct drm_i915_private *dev_priv); +void intel_uc_fini (struct drm_i915_private *dev_priv);static inline bool intel_uc_is_using_guc (void ) {
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/7 drm/i915/guc: Call invalidate after changing the vfunc
In reply to Michał WiniarskiTo make this operation a bit cleaner, we should make sure that the HW can catch up by calling the new implementation right away. Note that currently we're only touching the vfunc at module load time (before GuC is even loaded), so this shouldn't cause any functional changes.
--- drivers/gpu/drm/i915/i915_gem_gtt.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/i915/i915_gem_gtt.c +4 -0
@@ -3552,6 +3552,8 @@ void i915_ggtt_enable_guc(struct drm_i915_private *i915)GEM_BUG_ON (i915->ggtt.invalidate != gen6_ggtt_invalidate); i915->ggtt.invalidate = guc_ggtt_invalidate; + +i915_ggtt_invalidate (i915); }void i915_ggtt_disable_guc (struct drm_i915_private *i915)
@@ -3560,6 +3562,8 @@ void i915_ggtt_disable_guc(struct drm_i915_private *i915)GEM_BUG_ON (i915->ggtt.invalidate != guc_ggtt_invalidate); i915->ggtt.invalidate = gen6_ggtt_invalidate; + +i915_ggtt_invalidate (i915); }void i915_gem_restore_gtt_mappings (struct drm_i915_private *dev_priv)
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 5/7 drm/i915/guc: Extract doorbell creation from client allocation
In reply to Michał WiniarskiFull GPU reset causes GuC to be reset. This means that every time we're doing a reset, we need to talk to GuC and tell it about doorbells. Let's separate the communication part (create_doorbell) from our internal bookkeeping (reserve_doorbell) so that we can cleanly separate the initialization done at module load from reinitialization done at reset in the following patch.
While I'm here, let's also add a proper (although slightly asymetric) cleanup that doesn't try to communicate with GuC after it's already gone, getting rid of "expected" warnings caused by GuC action failures on module unload.
Note that I've also removed one of the tests (bitmap out of sync), since it doesn't make much sense anymore - bitmaps are now not expected to change during the lifetime of a client.
--- drivers/gpu/drm/i915/intel_guc_submission.c | 151 ++++++++-------------------- drivers/gpu/drm/i915/selftests/intel_guc.c | 110 +++++++++----------- 2 files changed, 88 insertions(+), 173 deletions(-)
drivers/gpu/drm/i915/intel_guc_submission.c +41 -110
@@ -88,7 +88,7 @@ static inline bool is_high_priority(struct intel_guc_client *client) client->priority == GUC_CLIENT_PRIORITY_HIGH); } -static int __reserve_doorbell (struct intel_guc_client *client) +static int reserve_doorbell (struct intel_guc_client *client) {unsigned long offset;unsigned long end;
@@ -120,7 +120,7 @@ static int __reserve_doorbell(struct intel_guc_client *client)return 0 ; } -static void __unreserve_doorbell (struct intel_guc_client *client) +static void unreserve_doorbell (struct intel_guc_client *client) {GEM_BUG_ON (client->doorbell_id ==GUC_DOORBELL_INVALID );
@@ -188,32 +188,21 @@ static bool has_doorbell(struct intel_guc_client *client)return test_bit (client->doorbell_id, client->guc->doorbell_bitmap); } -static int __create_doorbell (struct intel_guc_client *client) +static void __create_doorbell (struct intel_guc_client *client) {struct guc_doorbell_info *doorbell; -int err; doorbell =__get_doorbell (client); doorbell->db_status =GUC_DOORBELL_ENABLED ; doorbell->cookie =0 ; - - err =__guc_allocate_doorbell (client->guc, client->stage_id); -if (err) { - doorbell->db_status =GUC_DOORBELL_DISABLED ; -DRM_ERROR ("Couldn't create client %u doorbell: %d\n" , - client->stage_id, err); - } - -return err; } -static int __destroy_doorbell (struct intel_guc_client *client) +static void __destroy_doorbell (struct intel_guc_client *client) {struct drm_i915_private *dev_priv =guc_to_i915 (client->guc);struct guc_doorbell_info *doorbell;u16 db_id = client->doorbell_id; -GEM_BUG_ON (db_id >=GUC_DOORBELL_INVALID ); doorbell =__get_doorbell (client); doorbell->db_status =GUC_DOORBELL_DISABLED ;
@@ -225,50 +214,42 @@ static int __destroy_doorbell(struct intel_guc_client *client)*/ if (wait_for_us (!(I915_READ (GEN8_DRBREGL (db_id)) &GEN8_DRB_VALID ),10 ))WARN_ONCE (true,"Doorbell never became invalid after disable\n" ); - -return __guc_deallocate_doorbell (client->guc, client->stage_id); }static int create_doorbell (struct intel_guc_client *client) {int ret; - ret =__reserve_doorbell (client); -if (ret) -return ret; -__update_doorbell_desc (client, client->doorbell_id); +__create_doorbell (client); - ret =__create_doorbell (client); -if (ret) - goto err; + ret =__guc_allocate_doorbell (client->guc, client->stage_id); +if (ret) { +__destroy_doorbell (client); +__update_doorbell_desc (client,GUC_DOORBELL_INVALID ); +DRM_ERROR ("Couldn't create client %u doorbell: %d\n" , + client->stage_id, ret); +return ret; + }return 0 ; - -err: -__update_doorbell_desc (client,GUC_DOORBELL_INVALID ); -__unreserve_doorbell (client); -return ret; }static int destroy_doorbell (struct intel_guc_client *client) { -int err; +int ret;GEM_BUG_ON (!has_doorbell (client)); -/* XXX: wait for any interrupts */ -/* XXX: wait for workqueue to drain */ - - err =__destroy_doorbell (client); -if (err) -return err; +__destroy_doorbell (client); + ret =__guc_deallocate_doorbell (client->guc, client->stage_id); +if (ret) +DRM_ERROR ("Couldn't destroy client %u doorbell: %d\n" , + client->stage_id, ret);__update_doorbell_desc (client,GUC_DOORBELL_INVALID ); -__unreserve_doorbell (client); - -return 0 ; +return ret; }static unsigned long __select_cacheline (struct intel_guc *guc)
@@ -839,73 +820,18 @@ static bool doorbell_ok(struct intel_guc *guc, u16 db_id)return false; } -/* -* If the GuC thinks that the doorbell is unassigned (e.g. because we reset and -* reloaded the GuC FW) we can use this function to tell the GuC to reassign the -* doorbell to the rightful owner. -*/ -static int __reset_doorbell (struct intel_guc_client *client,u16 db_id) -{ -int err; - -__update_doorbell_desc (client, db_id); - err =__create_doorbell (client); -if (!err) - err =__destroy_doorbell (client); - -return err; -} - -/* -* Set up & tear down each unused doorbell in turn, to ensure that all doorbell -* HW is (re)initialised. For that end, we might have to borrow the first -* client. Also, tell GuC about all the doorbells in use by all clients. -* We do this because the KMD, the GuC and the doorbell HW can easily go out of -* sync (e.g. we can reset the GuC, but not the doorbel HW). -*/ -static int guc_init_doorbell_hw (struct intel_guc *guc) +static int guc_clients_doorbell_init (struct intel_guc *guc) { -struct intel_guc_client *client = guc->execbuf_client; -bool recreate_first_client = false;u16 db_id;int ret; -/* For unused doorbells, make sure they are disabled */ -for_each_clear_bit (db_id, guc->doorbell_bitmap,GUC_NUM_DOORBELLS ) { -if (doorbell_ok (guc, db_id)) -continue ; - -if (has_doorbell (client)) { -/* Borrow execbuf_client (we will recreate it later) */ -destroy_doorbell (client); - recreate_first_client = true; - } - - ret =__reset_doorbell (client, db_id); -WARN (ret,"Doorbell %u reset failed, err %d\n" , db_id, ret); - } - -if (recreate_first_client) { - ret =__reserve_doorbell (client); -if (unlikely (ret)) { -DRM_ERROR ("Couldn't re-reserve first client db: %d\n" , - ret); -return ret; - } - -__update_doorbell_desc (client, client->doorbell_id); - } - -/* Now for every client (and not only execbuf_client) make sure their -* doorbells are known by the GuC -*/ - ret =__create_doorbell (guc->execbuf_client); + ret =create_doorbell (guc->execbuf_client);if (ret)return ret; - ret =__create_doorbell (guc->preempt_client); + ret =create_doorbell (guc->preempt_client);if (ret) { -__destroy_doorbell (guc->execbuf_client); +destroy_doorbell (guc->execbuf_client);return ret; }
@@ -916,6 +842,19 @@ static int guc_init_doorbell_hw(struct intel_guc *guc)return 0 ; } +static void guc_clients_doorbell_fini (struct intel_guc *guc) +{ +/* +* By the time we're here, GuC has already been reset. +* Instead of trying (in vain) to communicate with it, let's just +* cleanup the doorbell HW and our internal state. +*/ +__destroy_doorbell (guc->preempt_client); +__update_doorbell_desc (guc->preempt_client,GUC_DOORBELL_INVALID ); +__destroy_doorbell (guc->execbuf_client); +__update_doorbell_desc (guc->execbuf_client,GUC_DOORBELL_INVALID ); +} +/** * guc_client_alloc() - Allocate an intel_guc_client * @dev_priv: driver private data structure
@@ -991,7 +930,7 @@ guc_client_alloc(struct drm_i915_private *dev_priv,guc_proc_desc_init (guc, client);guc_stage_desc_init (guc, client); - ret =create_doorbell (client); + ret =reserve_doorbell (client);if (ret) goto err_vaddr;
@@ -1015,16 +954,7 @@ guc_client_alloc(struct drm_i915_private *dev_priv,static void guc_client_free (struct intel_guc_client *client) { -/* -* XXX: wait for any outstanding submissions before freeing memory. -* Be sure to drop any locks -*/ - -/* FIXME: in many cases, by the time we get here the GuC has been -* reset, so we cannot destroy the doorbell properly. Ignore the -* error message for now -*/ -destroy_doorbell (client); +unreserve_doorbell (client);guc_stage_desc_fini (client->guc, client);i915_gem_object_unpin_map (client->vma->obj);i915_vma_unpin_and_release (&client->vma);
@@ -1366,7 +1296,7 @@ int intel_guc_submission_enable(struct intel_guc *guc)if (err) goto err_free_clients; - err =guc_init_doorbell_hw (guc); + err =guc_clients_doorbell_init (guc);if (err) goto err_free_clients;
@@ -1398,6 +1328,7 @@ void intel_guc_submission_disable(struct intel_guc *guc)GEM_BUG_ON (dev_priv->gt.awake);/* GT should be parked first */ guc_interrupts_release (dev_priv); +guc_clients_doorbell_fini (guc);/* Revert back to manual ELSP submission */ intel_engines_reset_default_submission (dev_priv);
drivers/gpu/drm/i915/selftests/intel_guc.c +47 -63
184 lines not on this page · raw message
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 6/7 drm/i915/guc: Extract clients allocation to submission_init
In reply to Michał WiniarskiWe can now move the clients allocation to submission_init path, rather than keeping the condition inside submission_enable called on every reset.
--- drivers/gpu/drm/i915/intel_guc_submission.c | 33 ++++++++++------------------- 1 file changed, 11 insertions(+), 22 deletions(-)
drivers/gpu/drm/i915/intel_guc_submission.c +11 -22
@@ -1149,6 +1149,10 @@ int intel_guc_submission_init(struct intel_guc *guc) goto err_log;GEM_BUG_ON (!guc->ads_vma); + ret =guc_clients_create (guc); +if (ret) +return ret; +for_each_engine (engine, dev_priv, id) { guc->preempt_work[id].engine = engine;INIT_WORK (&guc->preempt_work[id].work, inject_preempt_context);
@@ -1172,6 +1176,7 @@ void intel_guc_submission_fini(struct intel_guc *guc)for_each_engine (engine, dev_priv, id)cancel_work_sync (&guc->preempt_work[id].work); +guc_clients_destroy (guc);guc_ads_destroy (guc);intel_guc_log_destroy (guc);guc_stage_desc_pool_destroy (guc);
@@ -1277,28 +1282,18 @@ int intel_guc_submission_enable(struct intel_guc *guc)sizeof (struct guc_wq_item ) * I915_NUM_ENGINES > GUC_WQ_SIZE); -/* -* We're being called on both module initialization and on reset, -* until this flow is changed, we're using regular client presence to -* determine which case are we in, and whether we should allocate new -* clients or just reset their workqueues. -*/ -if (!guc->execbuf_client) { - err =guc_clients_create (guc); -if (err) -return err; - }else { -guc_reset_wq (guc->execbuf_client); -guc_reset_wq (guc->preempt_client); - } +GEM_BUG_ON (!guc->execbuf_client); + +guc_reset_wq (guc->execbuf_client); +guc_reset_wq (guc->preempt_client); err =intel_guc_sample_forcewake (guc);if (err) - goto err_free_clients; +return err; err =guc_clients_doorbell_init (guc);if (err) - goto err_free_clients; +return err;/* Take over from manual control of ELSP (execlists) */ guc_interrupts_capture (dev_priv);
@@ -1315,10 +1310,6 @@ int intel_guc_submission_enable(struct intel_guc *guc) }return 0 ; - -err_free_clients: -guc_clients_destroy (guc); -return err; }void intel_guc_submission_disable (struct intel_guc *guc)
@@ -1332,8 +1323,6 @@ void intel_guc_submission_disable(struct intel_guc *guc)/* Revert back to manual ELSP submission */ intel_engines_reset_default_submission (dev_priv); - -guc_clients_destroy (guc); }#if IS_ENABLED (CONFIG_DRM_I915_SELFTEST )
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 7/7 drm/i915/guc: Extract doorbell verification into a function
In reply to Michał WiniarskiWe have the selftest that's checking doorbell create/destroy, so there's no need to check all doorbells delaying the reset every time. We do want to have that extra sanity check at module load/unload though.
--- drivers/gpu/drm/i915/intel_guc_submission.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/intel_guc_submission.c +14 -5
@@ -820,9 +820,19 @@ static bool doorbell_ok(struct intel_guc *guc, u16 db_id)return false; } -static int guc_clients_doorbell_init (struct intel_guc *guc) +static bool guc_verify_doorbells (struct intel_guc *guc) {u16 db_id; + +for (db_id =0 ; db_id <GUC_NUM_DOORBELLS ; ++db_id) +if (!doorbell_ok (guc, db_id)) +return false; + +return true; +} + +static int guc_clients_doorbell_init (struct intel_guc *guc) +{int ret; ret =create_doorbell (guc->execbuf_client);
@@ -835,10 +845,6 @@ static int guc_clients_doorbell_init(struct intel_guc *guc)return ret; } -/* Read back & verify all (used & unused) doorbell registers */ -for (db_id =0 ; db_id <GUC_NUM_DOORBELLS ; ++db_id) -WARN_ON (!doorbell_ok (guc, db_id)); -return 0 ; }
@@ -1149,6 +1155,7 @@ int intel_guc_submission_init(struct intel_guc *guc) goto err_log;GEM_BUG_ON (!guc->ads_vma); +WARN_ON (!guc_verify_doorbells (guc)); ret =guc_clients_create (guc);if (ret)return ret;
@@ -1177,6 +1184,8 @@ void intel_guc_submission_fini(struct intel_guc *guc)cancel_work_sync (&guc->preempt_work[id].work);guc_clients_destroy (guc); +WARN_ON (!guc_verify_doorbells (guc)); +guc_ads_destroy (guc);intel_guc_log_destroy (guc);guc_stage_desc_pool_destroy (guc);
Signature · 6 lines
2.14.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
In reply to Michał Winiarski== Series Details ==
== Series Details ==
Series: series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
URL : https://patchwork.freedesktop.org/series/35321/
State : success
== Summary ==
Series 35321v1 series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
https://patchwork.freedesktop.org/api/1.0/series/35321/revisions/1/mbox/
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-a:
pass -> DMESG-WARN (fi-kbl-r) fdo#104172 +1fdo#104172 https://bugs.freedesktop.org/show_bug.cgi?id=104172
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:438s fi-bdw-gvtdvm total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:446s fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:384s fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:504s fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:279s fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:505s fi-bxt-j4205 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:509s fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:488s fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:474s fi-elk-e7500 total:224 pass:163 dwarn:15 dfail:0 fail:0 skip:45 fi-gdg-551 total:288 pass:178 dwarn:1 dfail:0 fail:1 skip:108 time:273s fi-glk-1 total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:537s fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:412s fi-hsw-4770r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:414s fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:391s fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:486s fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:430s fi-kbl-7500u total:288 pass:263 dwarn:1 dfail:0 fail:0 skip:24 time:484s fi-kbl-7560u total:288 pass:269 dwarn:0 dfail:0 fail:0 skip:19 time:522s fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:473s fi-kbl-r total:288 pass:260 dwarn:1 dfail:0 fail:0 skip:27 time:528s fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:586s fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:453s fi-skl-6600u total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:538s fi-skl-6700hq total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:560s fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:499s fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:449s fi-snb-2520m total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:553s fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:422s Blacklisted hosts: fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:595s fi-cnl-y total:250 pass:224 dwarn:0 dfail:0 fail:0 skip:25 fi-glk-dsi total:288 pass:168 dwarn:1 dfail:4 fail:1 skip:114 time:315s
ad17a7aa7ae2195ef6cd4a5da3fbf34fc25abc68 drm-tip: 2017y-12m-13d-21h-59m-15s UTC integration manifest 2502daf6aaa7 drm/i915/guc: Extract doorbell verification into a function 2908d7839a66 drm/i915/guc: Extract clients allocation to submission_init 7fc6d2cb806b drm/i915/guc: Extract doorbell creation from client allocation 04eb024a6da0 drm/i915/guc: Call invalidate after changing the vfunc900653ecd27a drm/i915/guc: Extract guc_init from guc_init_hw049e5dfa77f7 drm/i915/guc: Move GuC workqueue allocations outside of the mutex 35d19c216130 drm/i915/guc: Move shared data allocation away from submission path
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7492/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: warning for series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
In reply to Michał Winiarski== Series Details ==
== Series Details ==
Series: series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
URL : https://patchwork.freedesktop.org/series/35321/
State : warning
== Summary ==
Warning: bzip Patchwork_7492/shard-snb5/results20.json.bz2 wasn't in correct JSON format Test kms_draw_crc:
Subgroup draw-method-rgb565-mmap-wc-untiled:
skip -> PASS (shard-snb)
Test kms_cursor_legacy:
Subgroup flip-vs-cursor-varying-size:
skip -> PASS (shard-hsw) fdo#102670
Subgroup flip-vs-cursor-busy-crc-atomic:
skip -> PASS (shard-hsw)
Test kms_plane:
Subgroup plane-position-hole-pipe-a-planes:
pass -> SKIP (shard-hsw)
Test kms_cursor_crc:
Subgroup cursor-64x64-onscreen:
pass -> SKIP (shard-hsw)
Subgroup cursor-256x256-suspend:
pass -> FAIL (shard-snb) fdo#103375
Test kms_frontbuffer_tracking:
Subgroup fbc-1p-offscren-pri-shrfb-draw-render:
fail -> PASS (shard-snb) fdo#101623
Test gem_eio:
Subgroup in-flight-contexts:
pass -> DMESG-WARN (shard-snb) fdo#104058
Test drv_suspend:
Subgroup fence-restore-tiled2untiled:
pass -> SKIP (shard-snb)fdo#102670 https://bugs.freedesktop.org/show_bug.cgi?id=102670
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
fdo#104058 https://bugs.freedesktop.org/show_bug.cgi?id=104058
shard-hsw total:2712 pass:1535 dwarn:1 dfail:0 fail:10 skip:1166 time:9453s shard-snb total:2636 pass:1269 dwarn:2 dfail:0 fail:12 skip:1353 time:7672s Blacklisted hosts: shard-apl total:2712 pass:1689 dwarn:1 dfail:0 fail:21 skip:1001 time:13899s shard-kbl total:2712 pass:1775 dwarn:33 dfail:0 fail:23 skip:881 time:11161s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7492/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: warning for series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
Quoting Patchwork (2017-12-14 00:03:46)
Quoted 5 lines
== Series Details ==
Series: series starting with [CI,1/7] drm/i915/guc: Move shared data allocation away from submission path
URL : https://patchwork.freedesktop.org/series/35321/
State : warning
And pushed, thanks for the fixups and review,
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx