aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorshaoyunl <[email protected]>2020-04-27 15:53:00 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:13 +0000
commit7cf700478d70cc1235587dbdb9ea00581bf545ac (patch)
tree1aea0f9d1914c1ebf37dcc0f70f5495e26aa7f84 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: only use one gfx pipe for Sienna_Cichlid (diff)
downloadkernel-7cf700478d70cc1235587dbdb9ea00581bf545ac.tar.gz
kernel-7cf700478d70cc1235587dbdb9ea00581bf545ac.zip
drm/amdgpu/sriov : Add sriov detection for sienna_cichlid
This is a regression due to the rebase , add sienna_cichlid sriov detection back Signed-off-by: shaoyunl <[email protected]> Reviewed-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
index f3b38c9e04ca..bab9286021a7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
@@ -321,6 +321,7 @@ void amdgpu_detect_virtualization(struct amdgpu_device *adev)
case CHIP_VEGA20:
case CHIP_NAVI10:
case CHIP_NAVI12:
+ case CHIP_SIENNA_CICHLID:
case CHIP_ARCTURUS:
reg = RREG32(mmRCC_IOV_FUNC_IDENTIFIER);
break;