Commit 8aa8ddfb authored by Jordan Crouse's avatar Jordan Crouse Committed by Nicolas Dechesne
Browse files

drm/msm: gpu: Only sync fences on rings that exist



The fault recovery code tries to sync fences on all possible rings
instead of only the rings that actually exist which will fault the
kernel when the number of rings are less than the maximum amount.

Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
(cherry picked from commit 7ddae82e)
parent 1c4ba84c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment