drm/radeon/kms: only require 2.7 Ghz DP clock for NUTMEG
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2011 15:54:52 +0000 (11:54 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Nov 2011 16:04:44 +0000 (16:04 +0000)
Use the regular logic for other bridge chips.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_dp.c

index d0ef4cbadfa489c5a082ba7b57bd9f68c32b1de6..ff47186b562973e007f17a96e618a37c7e4b5977 100644 (file)
@@ -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);