diff options
author | Nitin Gote <[email protected]> | 2024-10-15 20:27:10 +0530 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-10-22 11:35:07 +0200 |
commit | 6ef0e3ef2662db71d363af77ce31fa940bb7d525 (patch) | |
tree | 1299f8a8ee504c2212b59a9cec8dd29bf39d2844 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | e217f22041fe2478e8ab6e4cfa1774089db9a918 (diff) |
drm/i915/gt: Retry RING_HEAD reset until it get sticks
we see an issue where resets fails because the engine resumes
from an incorrect RING_HEAD. Since the RING_HEAD doesn't point
to the remaining requests to re-run, but may instead point into
the uninitialised portion of the ring, the GPU may be then fed
invalid instructions from a privileged context, oft pushing the
GPU into an unrecoverable hang.
If at first the write doesn't succeed, try, try again.
v2: Avoid unnecessary timeout macro (Andi)
v3: Correct comment format (Andi)
v4: Make it generic for all platform as it won't impact (Chris)
Link: https://gitlab.freedesktop.org/drm/intel/-/issues/5432
Testcase: igt/i915_selftest/hangcheck
Signed-off-by: Chris Wilson <[email protected]>
Signed-off-by: Nitin Gote <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions