summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-07-21 00:45:18 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 21:45:53 +0300
commitf5e1c740afb6fec8969234a066b1628246a6a08d (patch)
tree504fe94ef5949253d4a1d8d3d59be88f332b79cd /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent4dbc9908d459a9f794f6ffa9e228f10282982e68 (diff)
downloadlinux-f5e1c740afb6fec8969234a066b1628246a6a08d.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 0fa6438c152c..241abc140896 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -425,7 +425,6 @@ struct amdgpu_bo {
struct ttm_bo_kmap_obj kmap;
u64 flags;
unsigned pin_count;
- void *kptr;
u64 tiling_flags;
u64 metadata_flags;
void *metadata;