Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39c88ae3 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/dpm: ungate blocks in dpm disable for kb/kv



These blocks need to be ungated for the other parts of
the driver properly initialize them (e.g., after a gpu
reset, etc.).

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 47acb1ff
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1226,6 +1226,12 @@ void kv_dpm_disable(struct radeon_device *rdev)
			     RADEON_CG_BLOCK_BIF |
			     RADEON_CG_BLOCK_BIF |
			     RADEON_CG_BLOCK_HDP), false);
			     RADEON_CG_BLOCK_HDP), false);


	/* powerup blocks */
	kv_dpm_powergate_acp(rdev, false);
	kv_dpm_powergate_samu(rdev, false);
	kv_dpm_powergate_vce(rdev, false);
	kv_dpm_powergate_uvd(rdev, false);

	kv_enable_smc_cac(rdev, false);
	kv_enable_smc_cac(rdev, false);
	kv_enable_didt(rdev, false);
	kv_enable_didt(rdev, false);
	kv_clear_vc(rdev);
	kv_clear_vc(rdev);