projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620cc1d
)
DRM/Radeon: Fix Load Detection on legacy primary DAC.
author
Egbert Eich
<eich@suse.de>
Wed, 24 Oct 2012 16:29:49 +0000
(18:29 +0200)
committer
Ben Hutchings
<ben@decadent.org.uk>
Fri, 16 Nov 2012 16:47:07 +0000
(16:47 +0000)
commit
83325d072185899b706de2956170b246585aaec9
upstream.
An uninitialized variable led to broken load detection.
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
index
3ad3cc6
..
8165953
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
+++ b/
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
@@
-650,6
+650,7
@@
static enum drm_connector_status radeon_legacy_primary_dac_detect(struct drm_enc
tmp |= RADEON_DAC_RANGE_CNTL_PS2 | RADEON_DAC_CMP_EN;
WREG32(RADEON_DAC_CNTL, tmp);
+ tmp = dac_macro_cntl;
tmp &= ~(RADEON_DAC_PDWN_R |
RADEON_DAC_PDWN_G |
RADEON_DAC_PDWN_B);