From: Evan Quan Date: Wed, 2 May 2018 07:45:54 +0000 (+0800) Subject: drm/amdgpu: enable vega20 powerplay support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6637313c7bf013d30fc7d501a19a93fddab7b5f;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable vega20 powerplay support Signed-off-by: Evan Quan Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 73c85a0282d0..dd44b50242ac 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -520,9 +520,9 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) amdgpu_device_ip_block_add(adev, &vega10_ih_ip_block); if (adev->asic_type != CHIP_VEGA20) { amdgpu_device_ip_block_add(adev, &psp_v3_1_ip_block); - if (!amdgpu_sriov_vf(adev)) - amdgpu_device_ip_block_add(adev, &pp_smu_ip_block); } + if (!amdgpu_sriov_vf(adev)) + amdgpu_device_ip_block_add(adev, &pp_smu_ip_block); if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block); #if defined(CONFIG_DRM_AMD_DC)