diff options
author | Christian König <christian.koenig@amd.com> | 2015-06-26 12:31:29 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-29 11:21:50 -0400 |
commit | b13e22aeba06aea2acdae657e988c93c22080858 (patch) | |
tree | e0fd6e5f7740fe375f5488e3f3857d6b040d301d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 9a5e8fb1c8372ea4b58a76bbb82cb97683bb204b (diff) |
drm/radeon: fix adding all VAs to the freed list on remove v2
We only should do so when the BO_VA was actually mapped.
Otherwise we get a nice error message on the next CS.
v2: It actually doesn't matter if it was invalidated or not,
if it was mapped we need to clear the area where it was mapped.
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions