summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/kv_smc.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-04-21 10:05:56 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-04-28 17:32:53 -0400
commit5a0f3b5f6d798637b0af5d6d3ab3eb02063e0317 (patch)
tree2a29ee6cca3dba2c18bf421bc2456a563e1a3cd9 /drivers/gpu/drm/amd/amdgpu/kv_smc.c
parent05a72a2864c2b27471e9f5365448563c78f9b114 (diff)
drm/amdgpu: fix VM clearing in amdgpu_gem_object_close
We need to check if the VM is swapped out before trying to update it. Fixes: 23e0563e48f7 ("drm/amdgpu: clear freed mappings immediately when BO may be freed") Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/kv_smc.c')
0 files changed, 0 insertions, 0 deletions