aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2021-04-05 17:45:30 +0000
committerRob Clark <[email protected]>2021-04-07 18:05:48 +0000
commit81d4d597d4faadb1d4eb6d464362f675b5775289 (patch)
tree7919cf834e60fd81237628f23ff0d8c41e82facf /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/msm: Track potentially evictable objects (diff)
downloadkernel-81d4d597d4faadb1d4eb6d464362f675b5775289.tar.gz
kernel-81d4d597d4faadb1d4eb6d464362f675b5775289.zip
drm/msm: Small msm_gem_purge() fix
Shoot down any mmap's *first* before put_pages(). Also add a WARN_ON that the object is locked (to make it clear that this doesn't race with msm_gem_fault()) and remove a redundant WARN_ON (since is_purgable() already covers that case). Fixes: 68209390f116 ("drm/msm: shrinker support") Signed-off-by: Rob Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions