]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: fix _NO_IMPLICIT fencing case
authorRob Clark <robdclark@gmail.com>
Tue, 12 Sep 2017 18:23:05 +0000 (14:23 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 12 Oct 2017 18:21:22 +0000 (14:21 -0400)
commit06451a3d1d777141dedfa947649cbb0c594ac3af
tree5be36f7998014e55de3206d03896a8b22a28ec9f
parent6bd6ae2dfc7e091059fd8a650579bb1efc9b4b9f
drm/msm: fix _NO_IMPLICIT fencing case

We need to call reservation_object_reserve_shared() in both cases, but
this wasn't happening in the _NO_IMPLICIT submit case.

Fixes: f0a42bb ("drm/msm: submit support for in-fences")
Reported-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem_submit.c