From: Alex Deucher Date: Tue, 27 May 2014 17:11:36 +0000 (-0400) Subject: drm/radeon: fix typo in radeon_connector_is_dp12_capable() X-Git-Tag: v3.10.51~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3eda5c59ebe7ab5b0d49181fc751a574f02e0d8;p=platform%2Fkernel%2Flinux-3.10.git drm/radeon: fix typo in radeon_connector_is_dp12_capable() commit af5d36539dfe043f1cf0f8b7334d6bb12cd14e75 upstream. We were checking the ext clock rather than the display clock. Noticed by ArtForz on IRC. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index 5a87c9f..fc604fc 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -1345,7 +1345,7 @@ bool radeon_connector_is_dp12_capable(struct drm_connector *connector) struct radeon_device *rdev = dev->dev_private; if (ASIC_IS_DCE5(rdev) && - (rdev->clock.dp_extclk >= 53900) && + (rdev->clock.default_dispclk >= 53900) && radeon_connector_encoder_is_hbr2(connector)) { return true; }