diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-02-20 03:42:03 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-22 11:30:06 +0100 |
commit | 3ac0eb6d62fde0a60a6c5c61e562af1db8fbf712 (patch) | |
tree | d1a934fc3283be67df7eb4c6aa4adaca6d890b10 /drivers/gpu/drm | |
parent | drm/radeon/kms: properly set accel working flag and bailout when false (diff) | |
download | linux-3ac0eb6d62fde0a60a6c5c61e562af1db8fbf712.tar.xz linux-3ac0eb6d62fde0a60a6c5c61e562af1db8fbf712.zip |
drm/radeon/kms/atom: dpms bios scratch reg updates
dpms bits not used on DCE4+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 9e72daeeddc6..1f53ae74ada1 100644 --- 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 |