aboutsummaryrefslogtreecommitdiffstats
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)
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 {
257 int num_pins; 257 int num_pins;
258}; 258};
259 259
260struct amdgpu_mode_mc_save {
261 u32 vga_render_control;
262 u32 vga_hdp_control;
263 bool crtc_enabled[AMDGPU_MAX_CRTCS];
264};
265
266struct amdgpu_display_funcs { 260struct amdgpu_display_funcs {
267 /* display watermarks */ 261 /* display watermarks */
268 void (*bandwidth_update)(struct amdgpu_device *adev); 262 void (*bandwidth_update)(struct amdgpu_device *adev);
@@ -298,10 +292,6 @@ struct amdgpu_display_funcs {
298 uint16_t connector_object_id, 292 uint16_t connector_object_id,
299 struct amdgpu_hpd *hpd, 293 struct amdgpu_hpd *hpd,
300 struct amdgpu_router *router); 294 struct amdgpu_router *router);
301 void (*stop_mc_access)(struct amdgpu_device *adev,
302 struct amdgpu_mode_mc_save *save);
303 void (*resume_mc_access)(struct amdgpu_device *adev,
304 struct amdgpu_mode_mc_save *save);
305}; 295};
306 296
307struct amdgpu_mode_info { 297struct amdgpu_mode_info {