summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-08-08 16:41:17 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-08-08 16:41:17 +0000
commiteb1f099469c631c15998813d7c15eae6d51406b0 (patch)
tree9dc90cb218f99845e30f8ada2b65a01e40f5eae2
parent7876e8612bd61141b9a5be4445488d45d46cf3e0 (diff)
drm/radeon: fix typo in radeon_connector_is_dp12_capable()
From Alex Deucher 94dfc49785ea1acc1dd2c086ffd8d61ea3a5ee8f in ubuntu 3.8 af5d36539dfe043f1cf0f8b7334d6bb12cd14e75 in mainline linux
-rw-r--r--sys/dev/pci/drm/radeon/radeon_connectors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_connectors.c b/sys/dev/pci/drm/radeon/radeon_connectors.c
index 383170816df..08c86c8f2c7 100644
--- a/sys/dev/pci/drm/radeon/radeon_connectors.c
+++ b/sys/dev/pci/drm/radeon/radeon_connectors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_connectors.c,v 1.3 2014/02/10 00:56:17 jsg Exp $ */
+/* $OpenBSD: radeon_connectors.c,v 1.4 2014/08/08 16:41:16 jsg Exp $ */
/*
* Copyright 2007-8 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
@@ -1355,7 +1355,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;
}