aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_crtc.c')
-rw-r--r--drivers/gpu/drm/radeon/atombios_crtc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
index af1054f8202a..01d77d1554f4 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -591,8 +591,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
591 if (encoder->crtc == crtc) { 591 if (encoder->crtc == crtc) {
592 radeon_encoder = to_radeon_encoder(encoder); 592 radeon_encoder = to_radeon_encoder(encoder);
593 connector = radeon_get_connector_for_encoder(encoder); 593 connector = radeon_get_connector_for_encoder(encoder);
594 /* if (connector && connector->display_info.bpc) 594 bpc = radeon_get_monitor_bpc(connector);
595 bpc = connector->display_info.bpc; */
596 encoder_mode = atombios_get_encoder_mode(encoder); 595 encoder_mode = atombios_get_encoder_mode(encoder);
597 is_duallink = radeon_dig_monitor_is_duallink(encoder, mode->clock); 596 is_duallink = radeon_dig_monitor_is_duallink(encoder, mode->clock);
598 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || 597 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) ||
@@ -968,9 +967,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
968 struct radeon_connector_atom_dig *dig_connector = 967 struct radeon_connector_atom_dig *dig_connector =
969 radeon_connector->con_priv; 968 radeon_connector->con_priv;
970 int dp_clock; 969 int dp_clock;
971 970 bpc = radeon_get_monitor_bpc(connector);
972 /* if (connector->display_info.bpc)
973 bpc = connector->display_info.bpc; */
974 971
975 switch (encoder_mode) { 972 switch (encoder_mode) {
976 case ATOM_ENCODER_MODE_DP_MST: 973 case ATOM_ENCODER_MODE_DP_MST: