diff options
author | Xiangliang Yu <Xiangliang.Yu@amd.com> | 2017-02-28 17:26:40 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:55 -0400 |
commit | cfd8373320565fbe83d936e616811bb195b3bc52 (patch) | |
tree | 9610f0a903ed65e47ec6ef112948c6a43e911c45 /drivers/gpu/drm/amd | |
parent | 6668b734468de12c077ebdf3ed0f9f60d10f9e6a (diff) | |
download | op-kernel-dev-cfd8373320565fbe83d936e616811bb195b3bc52.zip op-kernel-dev-cfd8373320565fbe83d936e616811bb195b3bc52.tar.gz |
drm/amdgpu/soc15: bypass pp block for vf
Disable pp block if device is vf.
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 238fcc3..b5426fc 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -494,9 +494,10 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) amdgpu_ip_block_add(adev, &mmhub_v1_0_ip_block); amdgpu_ip_block_add(adev, &gmc_v9_0_ip_block); amdgpu_ip_block_add(adev, &vega10_ih_ip_block); - if (!amdgpu_sriov_vf(adev)) + if (!amdgpu_sriov_vf(adev)) { amdgpu_ip_block_add(adev, &psp_v3_1_ip_block); - amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block); + amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block); + } if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) amdgpu_ip_block_add(adev, &dce_virtual_ip_block); amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block); |