]> 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)
commit832c8cb09ba73856a40f7672f7524d36f662535e
tree6d248da2d9bd32a4d8f5cc9e0405a512e863932e
parentd0b0fafb276e1287d731a22d0e25d7171843c57e
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