Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading

The UVD/VCE PG state is managed by UVD and VCE IP. It's error-prone to
assume the bootup state in SMU based on the dpm status.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Evan Quan and committed by
Alex Deucher
8d0717f4 7358462f

-6
-6
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
··· 1645 1645 1646 1646 data->uvd_power_gated = true; 1647 1647 data->vce_power_gated = true; 1648 - 1649 - if (data->smu_features[GNLD_DPM_UVD].enabled) 1650 - data->uvd_power_gated = false; 1651 - 1652 - if (data->smu_features[GNLD_DPM_VCE].enabled) 1653 - data->vce_power_gated = false; 1654 1648 } 1655 1649 1656 1650 static int vega20_enable_dpm_tasks(struct pp_hwmgr *hwmgr)