]> git.baikalelectronics.ru Git - kernel.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)
commit052f2afdb2b0d479911207baf0b69e5451be1879
treebb12ffd81ae87efd397fef01838cd8e1f963aecd
parentbc1746be32152fe9e714f3a9dae566ad54c5223e
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