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:
parent
4a6296680b
commit
47903831ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue