aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index d9533bbc467c..d6416ee52e32 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -350,6 +350,7 @@ struct amdgpu_mode_info {
350 u16 firmware_flags; 350 u16 firmware_flags;
351 /* pointer to backlight encoder */ 351 /* pointer to backlight encoder */
352 struct amdgpu_encoder *bl_encoder; 352 struct amdgpu_encoder *bl_encoder;
353 u8 bl_level; /* saved backlight level */
353 struct amdgpu_audio audio; /* audio stuff */ 354 struct amdgpu_audio audio; /* audio stuff */
354 int num_crtc; /* number of crtcs */ 355 int num_crtc; /* number of crtcs */
355 int num_hpd; /* number of hpd pins */ 356 int num_hpd; /* number of hpd pins */
@@ -550,14 +551,6 @@ struct amdgpu_connector {
550 /* we need to mind the EDID between detect 551 /* we need to mind the EDID between detect
551 and get modes due to analog/digital/tvencoder */ 552 and get modes due to analog/digital/tvencoder */
552 struct edid *edid; 553 struct edid *edid;
553 /* number of modes generated from EDID at 'dc_sink' */
554 int num_modes;
555 /* The 'old' sink - before an HPD.
556 * The 'current' sink is in dc_link->sink. */
557 struct dc_sink *dc_sink;
558 struct dc_link *dc_link;
559 struct dc_sink *dc_em_sink;
560 const struct dc_stream *stream;
561 void *con_priv; 554 void *con_priv;
562 bool dac_load_detect; 555 bool dac_load_detect;
563 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 */
@@ -568,27 +561,6 @@ struct amdgpu_connector {
568 enum amdgpu_connector_audio audio; 561 enum amdgpu_connector_audio audio;
569 enum amdgpu_connector_dither dither; 562 enum amdgpu_connector_dither dither;
570 unsigned pixelclock_for_modeset; 563 unsigned pixelclock_for_modeset;
571
572 struct drm_dp_mst_topology_mgr mst_mgr;
573 struct amdgpu_dm_dp_aux dm_dp_aux;
574 struct drm_dp_mst_port *port;
575 struct amdgpu_connector *mst_port;
576 struct amdgpu_encoder *mst_encoder;
577 struct semaphore mst_sem;
578
579 /* TODO see if we can merge with ddc_bus or make a dm_connector */
580 struct amdgpu_i2c_adapter *i2c;
581
582 /* Monitor range limits */
583 int min_vfreq ;
584 int max_vfreq ;
585 int pixel_clock_mhz;
586
587 /*freesync caps*/
588 struct mod_freesync_caps caps;
589
590 struct mutex hpd_lock;
591
592}; 564};
593 565
594/* 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 */