summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-02-15 12:40:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-02-15 12:40:09 +0000
commitd3cdf110d55da510d7d3b855658ffca6618f6435 (patch)
treee92587552dc04ef917853668ba6dbe0397dc1737 /sys/dev
parentb3dbb00aafdbc342fe93b6ed5ab98dfa7ac362cd (diff)
drm/radeon: warn users when hw_i2c is enabled (v2)
From Alex Deucher 4e5bd6f0c144ee55733bbbcfce7aad822d992417 in ubuntu 3.8 d195178297de9a91246519dbfa98952b70f9a9b6 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_i2c.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_i2c.c b/sys/dev/pci/drm/radeon/radeon_i2c.c
index a24e1b4f171..fad85fb4781 100644
--- a/sys/dev/pci/drm/radeon/radeon_i2c.c
+++ b/sys/dev/pci/drm/radeon/radeon_i2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_i2c.c,v 1.2 2014/02/09 11:03:31 jsg Exp $ */
+/* $OpenBSD: radeon_i2c.c,v 1.3 2014/02/15 12:40:08 jsg Exp $ */
/*
* Copyright 2007-8 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
@@ -1148,6 +1148,9 @@ void radeon_i2c_destroy(struct radeon_i2c_chan *i2c)
/* Add the default buses */
void radeon_i2c_init(struct radeon_device *rdev)
{
+ if (radeon_hw_i2c)
+ DRM_INFO("hw_i2c forced on, you may experience display detection problems!\n");
+
if (rdev->is_atom_bios)
radeon_atombios_i2c_init(rdev);
else