summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2020-04-20 18:08:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-04-23 01:11:49 +0300
commite05185b34157ba606bd2200bcc3c335cf19422ae (patch)
tree37fdf3b4ad1d54469b06aa1359fa142f55a43f53 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent4cc1178e166a85cbc0f5e822426beceaafa7bef2 (diff)
downloadlinux-e05185b34157ba606bd2200bcc3c335cf19422ae.tar.xz
drm/amdgpu: clean up unused variable about ring lru
clean up unused variable: 1. ring_lru_list 2. ring_lru_list_lock related-commit: drm/amdgpu: remove ring lru handling Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Christian König <christian.koenig@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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 8a7f794e3ffa..b90449cf23fa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -957,9 +957,6 @@ struct amdgpu_device {
/* link all shadow bo */
struct list_head shadow_list;
struct mutex shadow_list_lock;
- /* keep an lru list of rings by HW IP */
- struct list_head ring_lru_list;
- spinlock_t ring_lru_list_lock;
/* record hw reset is performed */
bool has_hw_reset;