summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-12-08 14:53:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 11:05:50 -0400
commite4f6b39e8bcd1f4c455acbc1aef2de9a4a32deeb (patch)
tree4af842bdc5f0cf1cfbb983f6ef0cfbbd40bd3cd4 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentb3fba8ad9d4be15cdf9aedb52b6a1262b213a1f4 (diff)
downloadlinux-stable-e4f6b39e8bcd1f4c455acbc1aef2de9a4a32deeb.tar.gz
linux-stable-e4f6b39e8bcd1f4c455acbc1aef2de9a4a32deeb.tar.bz2
linux-stable-e4f6b39e8bcd1f4c455acbc1aef2de9a4a32deeb.zip
drm/amdgpu: remove *_mc_access from display funcs
These are no longer needed now that we use the fb_location programmed by the vbios. Acked-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_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 35bd93cb0c19..b8abd4e18d51 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -257,12 +257,6 @@ struct amdgpu_audio {
int num_pins;
};
-struct amdgpu_mode_mc_save {
- u32 vga_render_control;
- u32 vga_hdp_control;
- bool crtc_enabled[AMDGPU_MAX_CRTCS];
-};
-
struct amdgpu_display_funcs {
/* display watermarks */
void (*bandwidth_update)(struct amdgpu_device *adev);
@@ -298,10 +292,6 @@ struct amdgpu_display_funcs {
uint16_t connector_object_id,
struct amdgpu_hpd *hpd,
struct amdgpu_router *router);
- void (*stop_mc_access)(struct amdgpu_device *adev,
- struct amdgpu_mode_mc_save *save);
- void (*resume_mc_access)(struct amdgpu_device *adev,
- struct amdgpu_mode_mc_save *save);
};
struct amdgpu_mode_info {