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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
index 083b3eada001..b5ff1f7b6f7e 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -588,8 +588,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
588 if (encoder->crtc == crtc) { 588 if (encoder->crtc == crtc) {
589 radeon_encoder = to_radeon_encoder(encoder); 589 radeon_encoder = to_radeon_encoder(encoder);
590 connector = radeon_get_connector_for_encoder(encoder); 590 connector = radeon_get_connector_for_encoder(encoder);
591 if (connector && connector->display_info.bpc) 591 /* if (connector && connector->display_info.bpc)
592 bpc = connector->display_info.bpc; 592 bpc = connector->display_info.bpc; */
593 encoder_mode = atombios_get_encoder_mode(encoder); 593 encoder_mode = atombios_get_encoder_mode(encoder);
594 is_duallink = radeon_dig_monitor_is_duallink(encoder, mode->clock); 594 is_duallink = radeon_dig_monitor_is_duallink(encoder, mode->clock);
595 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) || 595 if ((radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) ||
@@ -965,7 +965,9 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
965 struct radeon_connector_atom_dig *dig_connector = 965 struct radeon_connector_atom_dig *dig_connector =
966 radeon_connector->con_priv; 966 radeon_connector->con_priv;
967 int dp_clock; 967 int dp_clock;
968 bpc = connector->display_info.bpc; 968
969 /* if (connector->display_info.bpc)
970 bpc = connector->display_info.bpc; */
969 971
970 switch (encoder_mode) { 972 switch (encoder_mode) {
971 case ATOM_ENCODER_MODE_DP_MST: 973 case ATOM_ENCODER_MODE_DP_MST: