projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b54433
)
drm/i915/selftests: Fixup missing MI_MEM_VIRTUAL for live_hangcheck
author
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 14:23:23 +0000
(15:23 +0100)
committer
Chris Wilson
<
[email protected]
>
Fri, 6 Jul 2018 16:13:17 +0000
(17:13 +0100)
We always want to use a virtual address (i.e. use the GTT) for
MI_STORE_DWORD_IMM, but forgot the ever so important flag in
live_hangcheck for gen3.
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/selftests/intel_hangcheck.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
index 0fc6da81f86e2518268f09044fc507f946b22dfe..c838f7d08cb97bb701f90999e8f431b5751405e3 100644
(file)
--- a/
drivers/gpu/drm/i915/selftests/intel_hangcheck.c
+++ b/
drivers/gpu/drm/i915/selftests/intel_hangcheck.c
@@
-184,7
+184,7
@@
static int emit_recurse_batch(struct hang *h,
*batch++ = MI_BATCH_BUFFER_START | 2 << 6;
*batch++ = lower_32_bits(vma->node.start);
} else {
- *batch++ = MI_STORE_DWORD_IMM;
+ *batch++ = MI_STORE_DWORD_IMM
| MI_MEM_VIRTUAL
;
*batch++ = lower_32_bits(hws_address(hws, rq));
*batch++ = rq->fence.seqno;
*batch++ = MI_ARB_CHECK;