projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7746e
)
drm/radeon/kms/atom: dpms bios scratch reg updates
author
Alex Deucher
<alexander.deucher@amd.com>
Mon, 20 Feb 2012 02:42:03 +0000
(21:42 -0500)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 22 Feb 2012 10:30:06 +0000
(10:30 +0000)
dpms bits not used on DCE4+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_atombios.c
b/drivers/gpu/drm/radeon/radeon_atombios.c
index
9e72dae
..
1f53ae7
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/
drivers/gpu/drm/radeon/radeon_atombios.c
@@
-3020,6
+3020,9
@@
radeon_atombios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on)
struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
uint32_t bios_2_scratch;
+ if (ASIC_IS_DCE4(rdev))
+ return;
+
if (rdev->family >= CHIP_R600)
bios_2_scratch = RREG32(R600_BIOS_2_SCRATCH);
else