diff options
author | Leo Li <sunpeng.li@amd.com> | 2018-09-05 11:28:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-14 16:48:24 -0400 |
commit | 5232da2f75d903c48a23eca143c61d1ac4fd2d2c (patch) | |
tree | 54a2115bc4f31503a64519ee52f4cc7e5ecce3e2 /drivers/gpu/drm/amd | |
parent | 8603b30c9a076641e2f004f36ebbda414d7fdac4 (diff) |
drm/amd/display: Drop amdgpu_dm_prev_state struct
[Why]
It's not being used
[How]
Nuke it
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h index 35cdf02b1b50..7519f9ad77dd 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | |||
@@ -54,13 +54,6 @@ struct drm_device; | |||
54 | struct amdgpu_dm_irq_handler_data; | 54 | struct amdgpu_dm_irq_handler_data; |
55 | struct dc; | 55 | struct dc; |
56 | 56 | ||
57 | struct amdgpu_dm_prev_state { | ||
58 | struct drm_framebuffer *fb; | ||
59 | int32_t x; | ||
60 | int32_t y; | ||
61 | struct drm_display_mode mode; | ||
62 | }; | ||
63 | |||
64 | struct common_irq_params { | 57 | struct common_irq_params { |
65 | struct amdgpu_device *adev; | 58 | struct amdgpu_device *adev; |
66 | enum dc_irq_source irq_src; | 59 | enum dc_irq_source irq_src; |
@@ -86,8 +79,6 @@ struct amdgpu_display_manager { | |||
86 | struct drm_device *ddev; /*DRM base driver*/ | 79 | struct drm_device *ddev; /*DRM base driver*/ |
87 | u16 display_indexes_num; | 80 | u16 display_indexes_num; |
88 | 81 | ||
89 | struct amdgpu_dm_prev_state prev_state; | ||
90 | |||
91 | /* | 82 | /* |
92 | * 'irq_source_handler_table' holds a list of handlers | 83 | * 'irq_source_handler_table' holds a list of handlers |
93 | * per (DAL) IRQ source. | 84 | * per (DAL) IRQ source. |