]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/etnaviv: take current primitive into account when checking for hung GPU
authorLucas Stach <l.stach@pengutronix.de>
Fri, 5 Jul 2024 20:00:13 +0000 (22:00 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 28 Oct 2024 15:34:20 +0000 (16:34 +0100)
commite1f3220b957a55a875d668f3e2fadd6315c8bbf4
tree486f4e01d7c24f51ae7190a547555d148c5c0082
parent46864a690b92464063947420ad1a55e295b2004d
drm/etnaviv: take current primitive into account when checking for hung GPU

Large draws can make the GPU appear to be stuck to the current hangcheck
logic as the FE address will not move until the draw is finished. However,
the FE has a debug register, which records the current primitive ID within
a draw. Using this debug register we can extend the timeout as long as the
draw progresses.

Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.h
drivers/gpu/drm/etnaviv/etnaviv_sched.c