]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: fix ->last_fence() after recover
authorRob Clark <robdclark@gmail.com>
Thu, 17 Mar 2016 14:18:38 +0000 (10:18 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 8 May 2016 14:22:15 +0000 (10:22 -0400)
commit1d771e2322ae4194d53f5c8eed4b0d684fcb3ea9
tree8d17a4066d0c04fb60763d4617990ad6572664dc
parent8c1f0d251de4b89bb6c4cd49a2ff909b06a42890
drm/msm: fix ->last_fence() after recover

It is no longer true that we discard all in-flight submits on recover
(these days we only discard the first one that hung).  After the first
re-submitted batch completes it would overwrite the fence with a correct
value, but there would be a window of time which showed all re-submitted
batches as already complete.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c