diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/si.c')
-rw-r--r-- | drivers/gpu/drm/radeon/si.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 1328fe5a8001..c354c1094967 100644 --- a/drivers/gpu/drm/radeon/si.c +++ b/drivers/gpu/drm/radeon/si.c | |||
@@ -4894,7 +4894,7 @@ static void si_enable_gfx_cgpg(struct radeon_device *rdev, | |||
4894 | { | 4894 | { |
4895 | u32 tmp; | 4895 | u32 tmp; |
4896 | 4896 | ||
4897 | if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_CG)) { | 4897 | if (enable && (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_PG)) { |
4898 | tmp = RLC_PUD(0x10) | RLC_PDD(0x10) | RLC_TTPD(0x10) | RLC_MSD(0x10); | 4898 | tmp = RLC_PUD(0x10) | RLC_PDD(0x10) | RLC_TTPD(0x10) | RLC_MSD(0x10); |
4899 | WREG32(RLC_TTOP_D, tmp); | 4899 | WREG32(RLC_TTOP_D, tmp); |
4900 | 4900 | ||
@@ -5416,7 +5416,7 @@ static void si_init_pg(struct radeon_device *rdev) | |||
5416 | si_init_dma_pg(rdev); | 5416 | si_init_dma_pg(rdev); |
5417 | } | 5417 | } |
5418 | si_init_ao_cu_mask(rdev); | 5418 | si_init_ao_cu_mask(rdev); |
5419 | if (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_CG) { | 5419 | if (rdev->pg_flags & RADEON_PG_SUPPORT_GFX_PG) { |
5420 | si_init_gfx_cgpg(rdev); | 5420 | si_init_gfx_cgpg(rdev); |
5421 | } | 5421 | } |
5422 | si_enable_dma_pg(rdev, true); | 5422 | si_enable_dma_pg(rdev, true); |