drm/radeon: fix typo in radeon_connector_is_dp12_capable()
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 27 May 2014 17:11:36 +0000 (13:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2014 14:25:09 +0000 (10:25 -0400)
We were checking the ext clock rather than the display clock.

Noticed by ArtForz on IRC.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_connectors.c

index ea50e0ae7bf7f39261f03f7b301beadc5775da52..bf73a04791edccd1b5f24bb7dd1c6dec2f297c3a 100644 (file)
@@ -1387,7 +1387,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;
        }