mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 14:26:16 +07:00
drm/amdgpu: enable vega20 powerplay support
Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8c191fe3d5
commit
a6637313c7
@ -520,9 +520,9 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
|
|||||||
amdgpu_device_ip_block_add(adev, &vega10_ih_ip_block);
|
amdgpu_device_ip_block_add(adev, &vega10_ih_ip_block);
|
||||||
if (adev->asic_type != CHIP_VEGA20) {
|
if (adev->asic_type != CHIP_VEGA20) {
|
||||||
amdgpu_device_ip_block_add(adev, &psp_v3_1_ip_block);
|
amdgpu_device_ip_block_add(adev, &psp_v3_1_ip_block);
|
||||||
|
}
|
||||||
if (!amdgpu_sriov_vf(adev))
|
if (!amdgpu_sriov_vf(adev))
|
||||||
amdgpu_device_ip_block_add(adev, &pp_smu_ip_block);
|
amdgpu_device_ip_block_add(adev, &pp_smu_ip_block);
|
||||||
}
|
|
||||||
if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
|
if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
|
||||||
amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block);
|
amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block);
|
||||||
#if defined(CONFIG_DRM_AMD_DC)
|
#if defined(CONFIG_DRM_AMD_DC)
|
||||||
|
Loading…
Reference in New Issue
Block a user