Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-14 Thread Alex Deucher
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/

[PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-14 Thread Jiawei Gu
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

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
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

Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Alex Deucher
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

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
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

Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Alex Deucher
(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] > >

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
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

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
[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

[PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-12 Thread Jiawei Gu
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