OSDN Git Service

drm/msm: Fix a couple incorrect usages of get_vaddr_active()
authorRob Clark <robdclark@chromium.org>
Fri, 23 Oct 2020 16:51:02 +0000 (09:51 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 5 Nov 2020 00:00:55 +0000 (16:00 -0800)
commit96c876f127719212b1dc26e5b3ba5ddda14a0d64
treecb0b230317aabcd09ad74ca412e9beb5c08d2701
parent0e720ea8de07843cf5e0c324ff44bec2b6a7e767
drm/msm: Fix a couple incorrect usages of get_vaddr_active()

The microcode bo's should never be madvise(WONTNEED), so these should
not be using msm_gem_get_vaddr_active().

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c