On Fri, May 14, 2021 at 4:17 AM Jiawei Gu wrote:
>
> Initialize unique_id from PF2VF under virtualization.
>
> V2: skip smu_get_unique_id() under virtualization
>
> Signed-off-by: Jiawei Gu
Acked-by: Alex Deucher
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 ++
> drivers/gpu/drm/amd/
Initialize unique_id from PF2VF under virtualization.
V2: skip smu_get_unique_id() under virtualization
Signed-off-by: Jiawei Gu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 ++
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a
Best regards,
Jiawei
-Original Message-
From: Alex Deucher
Sent: Friday, May 14, 2021 12:27 PM
To: Gu, JiaWei (Will)
Cc: amd-gfx@lists.freedesktop.org; Nieto, David M ; Deng,
Emily
Subject: Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg
On Thu, May 13, 2021 at
t my statement / provide more background.
>
> Best regards,
> Jiawei
>
> -Original Message-
> From: Alex Deucher
> Sent: Friday, May 14, 2021 11:33 AM
> To: Gu, JiaWei (Will)
> Cc: amd-gfx@lists.freedesktop.org; Nieto, David M ;
> Deng, Emily
> Subject: Re: [PA
Friday, May 14, 2021 11:33 AM
To: Gu, JiaWei (Will)
Cc: amd-gfx@lists.freedesktop.org; Nieto, David M ; Deng,
Emily
Subject: Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg
unique_id is normally fetched from the SMU on bare metal. I guess in the
SR-IOV case, this wo
(Will)
> Sent: Thursday, May 13, 2021 7:01 PM
> To: Jiawei Gu ; amd-gfx@lists.freedesktop.org; Nieto,
> David M
> Cc: Deng, Emily
> Subject: RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg
>
> [AMD Official Use Only - Internal Distribution Only]
>
>
ata from PF2VF msg
[AMD Official Use Only - Internal Distribution Only]
Add David.
-Original Message-
From: Jiawei Gu
Sent: Thursday, May 13, 2021 2:41 PM
To: amd-gfx@lists.freedesktop.org
Cc: Deng, Emily ; Gu, JiaWei (Will)
Subject: [PATCH] drm/amdgpu: Fill adev->unique_id with dat
[AMD Official Use Only - Internal Distribution Only]
Add David.
-Original Message-
From: Jiawei Gu
Sent: Thursday, May 13, 2021 2:41 PM
To: amd-gfx@lists.freedesktop.org
Cc: Deng, Emily ; Gu, JiaWei (Will)
Subject: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF
Initialize unique_id from PF2VF under virtualization.
Signed-off-by: Jiawei Gu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
index a57842689d42..96e269cbe326