From: Alex Deucher Date: Tue, 25 Oct 2011 15:54:52 +0000 (-0400) Subject: drm/radeon/kms: only require 2.7 Ghz DP clock for NUTMEG X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fdca78c3b8876e47f1c92b3b28693b261bfd913a;p=linux-beck.git drm/radeon/kms: only require 2.7 Ghz DP clock for NUTMEG Use the regular logic for other bridge chips. Signed-off-by: Alex Deucher Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c index d0ef4cbadfa4..ff47186b5629 100644 --- a/drivers/gpu/drm/radeon/atombios_dp.c +++ b/drivers/gpu/drm/radeon/atombios_dp.c @@ -482,8 +482,8 @@ static int radeon_dp_get_dp_link_clock(struct drm_connector *connector, int bpp = convert_bpc_to_bpp(connector->display_info.bpc); int lane_num, max_pix_clock; - if (radeon_connector_encoder_get_dp_bridge_encoder_id(connector) != - ENCODER_OBJECT_ID_NONE) + if (radeon_connector_encoder_get_dp_bridge_encoder_id(connector) == + ENCODER_OBJECT_ID_NUTMEG) return 270000; lane_num = radeon_dp_get_dp_lane_number(connector, dpcd, pix_clock);