projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
603f2e6
)
drm/radeon/kms: fix i2c map for rv250/280
author
Alex Deucher
<alexander.deucher@amd.com>
Sat, 23 Jul 2011 18:02:04 +0000
(18:02 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 25 Jul 2011 10:51:45 +0000
(11:51 +0100)
Those chips have crt2_ddc bus.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=39672
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_combios.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_combios.c
b/drivers/gpu/drm/radeon/radeon_combios.c
index e4594676a07c2c4bdb0c1f3575e91e8e98c8265d..a74217cd192fed2facc49f8ae65f2367dff212d4 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_combios.c
+++ b/
drivers/gpu/drm/radeon/radeon_combios.c
@@
-779,7
+779,8
@@
void radeon_combios_i2c_init(struct radeon_device *rdev)
}
}
}
- } else if (rdev->family >= CHIP_R200) {
+ } else if ((rdev->family == CHIP_R200) ||
+ (rdev->family >= CHIP_R300)) {
/* 0x68 */
i2c = combios_setup_i2c_bus(rdev, DDC_MONID, 0, 0);
rdev->i2c_bus[3] = radeon_i2c_create(dev, &i2c, "MONID");