Skip to content

Commit

Permalink
drm/radeon/kms/atom: dpms bios scratch reg updates
Browse files Browse the repository at this point in the history
dpms bits not used on DCE4+

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
alexdeucher authored and airlied committed Feb 22, 2012
1 parent 6b7746e commit 3ac0eb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/radeon/radeon_atombios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ac0eb6

Please sign in to comment.