]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Fix spurious GPU resets due to BO reuse.
authorEric Anholt <eric@anholt.net>
Mon, 8 Feb 2016 19:19:14 +0000 (11:19 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:21:00 +0000 (12:21 -0800)
commitb10bbafb38b36d2144303b6419c6b1e0f3d87cb5
tree6d248da2d9bd32a4d8f5cc9e0405a512e863932e
parent967bb5889ad268b0d0d1cbf20e44daaf3c1c348d
drm/vc4: Fix spurious GPU resets due to BO reuse.

We were tracking the "where are the head pointers pointing" globally,
so if another job reused the same BOs and execution was at the same
point as last time we checked, we'd stop and trigger a reset even
though the GPU had made progress.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c