diff options
author | Guchun Chen <guchun.chen@amd.com> | 2020-10-09 18:25:14 +0800 |
---|---|---|
committer | Guchun Chen <guchun.chen@amd.com> | 2020-10-09 18:44:50 +0800 |
commit | 74c3d54f066d595dbbbf4c920c8f68af702f1324 (patch) | |
tree | 92284eae3e3e53da858e02a685b98c884f3db3de | |
parent | 24d78877b7fb0dd52e6b0aabaebffc8249ed89d4 (diff) |
Revert "drm/amdgpu: Disable encoder UVD and VCE functionalities for Linux Guest Virtual Machine"
This reverts commit 8b1d728b2ff45bb285fd9858d7f1fb03cbb3b6f1.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 6cf922c0f334..ddd55e3176c4 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -793,7 +793,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) else if (amdgpu_device_has_dc_support(adev)) amdgpu_device_ip_block_add(adev, &dm_ip_block); #endif - if (!((adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_VEGA10) && amdgpu_sriov_vf(adev))) { + if (!(adev->asic_type == CHIP_VEGA20 && amdgpu_sriov_vf(adev))) { amdgpu_device_ip_block_add(adev, &uvd_v7_0_ip_block); amdgpu_device_ip_block_add(adev, &vce_v4_0_ip_block); } |