aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/radeon_atombios.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c
index f48bd6dc10cd..30844814c25a 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -3938,6 +3938,10 @@ void radeon_atom_initialize_bios_scratch_regs(struct drm_device *dev)
3938 /* tell the bios not to handle mode switching */ 3938 /* tell the bios not to handle mode switching */
3939 bios_6_scratch |= ATOM_S6_ACC_BLOCK_DISPLAY_SWITCH; 3939 bios_6_scratch |= ATOM_S6_ACC_BLOCK_DISPLAY_SWITCH;
3940 3940
3941 /* clear the vbios dpms state */
3942 if (ASIC_IS_DCE4(rdev))
3943 bios_2_scratch &= ~ATOM_S2_DEVICE_DPMS_STATE;
3944
3941 if (rdev->family >= CHIP_R600) { 3945 if (rdev->family >= CHIP_R600) {
3942 WREG32(R600_BIOS_2_SCRATCH, bios_2_scratch); 3946 WREG32(R600_BIOS_2_SCRATCH, bios_2_scratch);
3943 WREG32(R600_BIOS_6_SCRATCH, bios_6_scratch); 3947 WREG32(R600_BIOS_6_SCRATCH, bios_6_scratch);