diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-02-19 21:42:03 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-22 10:30:06 +0000 |
commit | 3ac0eb6d62fde0a60a6c5c61e562af1db8fbf712 (patch) | |
tree | d1a934fc3283be67df7eb4c6aa4adaca6d890b10 /drivers | |
parent | 6b7746e8768e1c550b320d5af761f73e5aa37f76 (diff) |
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')
-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 |