diff options
author | Rob Clark <robdclark@chromium.org> | 2020-08-12 17:03:09 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-08-17 12:24:41 -0700 |
commit | f228af11dfa1d1616bc67f3a4119ab77c36181f1 (patch) | |
tree | e1ee59cf7117352430ab3806b7a9a77beab75b9c /drivers/clk/Makefile | |
parent | 35c719da95c0d28560bff7bafeaf07ebb212665e (diff) |
drm/msm/adreno: fix updating ring fence
We need to set it to the most recent completed fence, not the most
recent submitted. Otherwise we have races where we think we can retire
submits that the GPU is not finished with, if the GPU doesn't manage to
overwrite the seqno before we look at it.
This can show up with hang recovery if one of the submits after the
crashing submit also hangs after it is replayed.
Fixes: f97decac5f4c ("drm/msm: Support multiple ringbuffers")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/clk/Makefile')
0 files changed, 0 insertions, 0 deletions