OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95beb69
)
drm/radeon/kms: fix washed out image on legacy tv dac
author
Alex Deucher
<alexdeucher@gmail.com>
Tue, 6 Apr 2010 03:57:52 +0000
(23:57 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 6 Apr 2010 04:28:43 +0000
(14:28 +1000)
bad cast was overwriting the tvdac adj values
Fixes fdo bug 27478
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_connectors.c
b/drivers/gpu/drm/radeon/radeon_connectors.c
index
60d5981
..
3fba505
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/
drivers/gpu/drm/radeon/radeon_connectors.c
@@
-315,7
+315,7
@@
int radeon_connector_set_property(struct drm_connector *connector, struct drm_pr
radeon_encoder = to_radeon_encoder(encoder);
if (!radeon_encoder->enc_priv)
return 0;
- if (
rdev->is_atom_bios
) {
+ if (
ASIC_IS_AVIVO(rdev) || radeon_r4xx_atom
) {
struct radeon_encoder_atom_dac *dac_int;
dac_int = radeon_encoder->enc_priv;
dac_int->tv_std = val;