drm/amdgpu: cleanup kptr handling
authorChristian König <christian.koenig@amd.com>
Thu, 20 Jul 2017 21:45:18 +0000 (23:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:53 +0000 (14:45 -0400)
commitf5e1c740afb6fec8969234a066b1628246a6a08d
tree504fe94ef5949253d4a1d8d3d59be88f332b79cd
parent4dbc9908d459a9f794f6ffa9e228f10282982e68
drm/amdgpu: cleanup kptr handling

Don't keep around the same pointer twice.

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