Skip to content

Commit 89913ea

Browse files
committed
drm/amdgpu/cz: remove commented out call to enable vce pg
This code path is not currently enabled now that we properly respect the vce pg flags, so uncomment the actual pg calls so the code is as it should be we are eventually able to enable vce pg. Reviewed-by: Christian König <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 370afa7 commit 89913ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/amdgpu/cz_dpm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,8 +2202,7 @@ static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate)
22022202
AMD_PG_STATE_GATE);
22032203

22042204
cz_enable_vce_dpm(adev, false);
2205-
/* TODO: to figure out why vce can't be poweroff. */
2206-
/* cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerOFF); */
2205+
cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerOFF);
22072206
pi->vce_power_gated = true;
22082207
} else {
22092208
cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerON);

0 commit comments

Comments
 (0)