mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 15:07:13 -04:00
drm/amd/powerplay: powerup sdma/vcn for all apu series
All apu series need powerup sdma and vcn via smu messages. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1268,7 +1268,7 @@ static int smu_hw_init(void *handle)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (adev->asic_type == CHIP_RENOIR) {
|
||||
if (adev->flags & AMD_IS_APU) {
|
||||
smu_powergate_sdma(&adev->smu, false);
|
||||
smu_powergate_vcn(&adev->smu, false);
|
||||
}
|
||||
@@ -1324,7 +1324,7 @@ static int smu_hw_fini(void *handle)
|
||||
struct smu_table_context *table_context = &smu->smu_table;
|
||||
int ret = 0;
|
||||
|
||||
if (adev->asic_type == CHIP_RENOIR) {
|
||||
if (adev->flags & AMD_IS_APU) {
|
||||
smu_powergate_sdma(&adev->smu, true);
|
||||
smu_powergate_vcn(&adev->smu, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user