File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
drivers/gpu/drm/amd/pm/legacy-dpm Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -5467,7 +5467,6 @@ static int si_convert_power_level_to_smc(struct amdgpu_device *adev,
5467
5467
int ret ;
5468
5468
bool dll_state_on ;
5469
5469
u16 std_vddc ;
5470
- bool gmc_pg = false;
5471
5470
5472
5471
if (eg_pi -> pcie_performance_request &&
5473
5472
(si_pi -> force_pcie_gen != SI_PCIE_GEN_INVALID ))
@@ -5487,9 +5486,6 @@ static int si_convert_power_level_to_smc(struct amdgpu_device *adev,
5487
5486
(RREG32 (DPG_PIPE_STUTTER_CONTROL ) & STUTTER_ENABLE ) &&
5488
5487
(adev -> pm .dpm .new_active_crtc_count <= 2 )) {
5489
5488
level -> mcFlags |= SISLANDS_SMC_MC_STUTTER_EN ;
5490
-
5491
- if (gmc_pg )
5492
- level -> mcFlags |= SISLANDS_SMC_MC_PG_EN ;
5493
5489
}
5494
5490
5495
5491
if (adev -> gmc .vram_type == AMDGPU_VRAM_TYPE_GDDR5 ) {
You can’t perform that action at this time.
0 commit comments