]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/gt: Increase a time to retry RING_HEAD reset
authorNitin Gote <nitin.r.gote@intel.com>
Tue, 17 Dec 2024 06:35:32 +0000 (12:05 +0530)
committerAndi Shyti <andi.shyti@linux.intel.com>
Wed, 18 Dec 2024 14:26:09 +0000 (15:26 +0100)
commit512eadb33489fac4245abdede396cbda17e79a8b
tree0f94b3c2483436e6b075339f037a11b346afe886
parentf373ebec18a75d671908e81ed9925aebf279ec2f
drm/i915/gt: Increase a time to retry RING_HEAD reset

Issue seen again where engine resets fails because the engine resumes from
an incorrect RING_HEAD. HEAD is still not 0 even after writing into it.
This seems to be timing issue and we experimented different values from 5ms
to 50ms and found out that 50ms works best based on testing.
So, if write doesn't succeed at first then retry again.

v2: add a comment (Andi Shyti)

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12806
Signed-off-by: Nitin Gote <nitin.r.gote@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217063532.2729031-1-nitin.r.gote@intel.com
drivers/gpu/drm/i915/gt/intel_ring_submission.c