aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2018-03-08 20:44:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 16:08:40 -0400
commitd179664a2a4f5a06edabf7171bcd65a9e33bcf15 (patch)
tree0efc0ea03407deff6fb23f91535f6fd382303fe0 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parenta59b3c80fd0041223ccf720504974a543b81b1d0 (diff)
drm/amdgpu: Remove some unused elements from amdgpu_connector struct
They were used by amdgpu_dm at some point but since it has its own amdgpu_dm_connector now these aren't needed anymore. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 588cf6594391..d6416ee52e32 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -551,14 +551,6 @@ struct amdgpu_connector {
551 /* we need to mind the EDID between detect 551 /* we need to mind the EDID between detect
552 and get modes due to analog/digital/tvencoder */ 552 and get modes due to analog/digital/tvencoder */
553 struct edid *edid; 553 struct edid *edid;
554 /* number of modes generated from EDID at 'dc_sink' */
555 int num_modes;
556 /* The 'old' sink - before an HPD.
557 * The 'current' sink is in dc_link->sink. */
558 struct dc_sink *dc_sink;
559 struct dc_link *dc_link;
560 struct dc_sink *dc_em_sink;
561 const struct dc_stream *stream;
562 void *con_priv; 554 void *con_priv;
563 bool dac_load_detect; 555 bool dac_load_detect;
564 bool detected_by_load; /* if the connection status was determined by load */ 556 bool detected_by_load; /* if the connection status was determined by load */
@@ -569,27 +561,6 @@ struct amdgpu_connector {
569 enum amdgpu_connector_audio audio; 561 enum amdgpu_connector_audio audio;
570 enum amdgpu_connector_dither dither; 562 enum amdgpu_connector_dither dither;
571 unsigned pixelclock_for_modeset; 563 unsigned pixelclock_for_modeset;
572
573 struct drm_dp_mst_topology_mgr mst_mgr;
574 struct amdgpu_dm_dp_aux dm_dp_aux;
575 struct drm_dp_mst_port *port;
576 struct amdgpu_connector *mst_port;
577 struct amdgpu_encoder *mst_encoder;
578 struct semaphore mst_sem;
579
580 /* TODO see if we can merge with ddc_bus or make a dm_connector */
581 struct amdgpu_i2c_adapter *i2c;
582
583 /* Monitor range limits */
584 int min_vfreq ;
585 int max_vfreq ;
586 int pixel_clock_mhz;
587
588 /*freesync caps*/
589 struct mod_freesync_caps caps;
590
591 struct mutex hpd_lock;
592
593}; 564};
594 565
595/* TODO: start to use this struct and remove same field from base one */ 566/* TODO: start to use this struct and remove same field from base one */