drm/amdgpu: make sure BOs are always kunmapped
authorChristian König <christian.koenig@amd.com>
Tue, 11 Jul 2017 15:25:49 +0000 (17:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:45 +0000 (11:06 -0400)
commit6375bbb4d259416ad867ab887333ee88d1b90323
tree3438f4f2e835532f1c1c4f891583b94ab3628a7d
parent68c62306b378451ddb1a14c08022d18df3848b4d
drm/amdgpu: make sure BOs are always kunmapped

When a BO is moved or destroyed it shouldn't be kmapped any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c