drm/amd/display: Drop amdgpu_dm_prev_state struct
authorLeo Li <sunpeng.li@amd.com>
Wed, 5 Sep 2018 15:28:29 +0000 (11:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 20:48:24 +0000 (15:48 -0500)
[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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

index 35cdf02b1b5032a89dfc8e04625ec94e38e0dbab..7519f9ad77dd13bf72402456ef063c716b16faea 100644 (file)
@@ -54,13 +54,6 @@ struct drm_device;
 struct amdgpu_dm_irq_handler_data;
 struct dc;
 
-struct amdgpu_dm_prev_state {
-       struct drm_framebuffer *fb;
-       int32_t x;
-       int32_t y;
-       struct drm_display_mode mode;
-};
-
 struct common_irq_params {
        struct amdgpu_device *adev;
        enum dc_irq_source irq_src;
@@ -86,8 +79,6 @@ struct amdgpu_display_manager {
        struct drm_device *ddev;        /*DRM base driver*/
        u16 display_indexes_num;
 
-       struct amdgpu_dm_prev_state prev_state;
-
        /*
         * 'irq_source_handler_table' holds a list of handlers
         * per (DAL) IRQ source.