[PATCH] drm/amdgpu/sriov: reopen sienna_child smu ip block under sriov

Liu, Monk Monk.Liu at amd.com
Mon Nov 16 09:56:02 UTC 2020


[AMD Official Use Only - Internal Distribution Only]

Reviewed-by: Monk Liu <monk.liu at amd.com>
_____________________________________
Monk Liu|GPU Virtualization Team |AMD


-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Jane Jian
Sent: Friday, October 16, 2020 4:05 PM
To: amd-gfx at lists.freedesktop.org
Cc: Min, Frank <Frank.Min at amd.com>; Jian, Jane <Jane.Jian at amd.com>
Subject: [PATCH] drm/amdgpu/sriov: reopen sienna_child smu ip block under sriov

open smu ip block meets with one-vf mode need

Signed-off-by: Jane Jian <Jane.Jian at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/nv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 4b1a4acb60d9..ef52d46b1458 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -572,7 +572,7 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP))
 amdgpu_device_ip_block_add(adev, &psp_v11_0_ip_block);
 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP &&
-    is_support_sw_smu(adev) && !amdgpu_sriov_vf(adev))
+    is_support_sw_smu(adev))
 amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block);
 if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
 amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block);
--
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7Cmonk.liu%40amd.com%7C54dee9b0eb064a93024508d871aa2c8d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637384323027425216&sdata=PuDRtSDBafR1A0LEAApFa%2FBaz65GtosMwihxsVcMK8k%3D&reserved=0


More information about the amd-gfx mailing list