]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm: gpu: Only sync fences on rings that exist
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 13 Dec 2017 20:45:44 +0000 (13:45 -0700)
committerRob Clark <robdclark@gmail.com>
Wed, 13 Dec 2017 20:52:06 +0000 (15:52 -0500)
commit7ddae82e12593ff3d44e628c02fbfa765508aa48
treebb12ffd81ae87efd397fef01838cd8e1f963aecd
parent62e3a3e342af3c313ab38603811ecdb1fcc79edb
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: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gpu.c