]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gem: Mark active before pinning
authorRob Clark <robdclark@chromium.org>
Wed, 28 Jul 2021 01:06:18 +0000 (18:06 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 28 Jul 2021 16:19:00 +0000 (09:19 -0700)
commit4541e4f2225c30b0e9442be9eb2fb8b7086cdd1f
tree60ef63c8cfe6ad407b211aa09ae8223daa500326
parentfc40e5e10c3bcc36f3f765f0d9fae0a13efc7935
drm/msm/gem: Mark active before pinning

Mark all the bos in the submit as active, before pinning, to prevent
evicting a buffer in the same submit to make room for a buffer earlier
in the table.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20210728010632.2633470-14-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem_submit.c