diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_dp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_dp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c index 6c62be226804..c57d85664e77 100644 --- a/drivers/gpu/drm/radeon/atombios_dp.c +++ b/drivers/gpu/drm/radeon/atombios_dp.c | |||
@@ -405,10 +405,13 @@ static void dp_get_adjust_train(u8 link_status[DP_LINK_STATUS_SIZE], | |||
405 | /* get bpc from the EDID */ | 405 | /* get bpc from the EDID */ |
406 | static int convert_bpc_to_bpp(int bpc) | 406 | static int convert_bpc_to_bpp(int bpc) |
407 | { | 407 | { |
408 | #if 0 | ||
408 | if (bpc == 0) | 409 | if (bpc == 0) |
409 | return 24; | 410 | return 24; |
410 | else | 411 | else |
411 | return bpc * 3; | 412 | return bpc * 3; |
413 | #endif | ||
414 | return 24; | ||
412 | } | 415 | } |
413 | 416 | ||
414 | /* get the max pix clock supported by the link rate and lane num */ | 417 | /* get the max pix clock supported by the link rate and lane num */ |