RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-23 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Series is Reviewed-by: Emily.Deng >-Original Message- >From: amd-gfx On Behalf Of >Jingwen Chen >Sent: Wednesday, September 23, 2020 6:07 PM >To: amd-gfx@lists.freedesktop.org >Cc: Chen, JingWen >Subject: [PAT

[PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-23 Thread Jingwen Chen
smc, sdma, sos, ta and asd fw is not used in SRIOV. Skip them to accelerate sw_init for navi12. v2: skip above fw in SRIOV for vega10 and sienna_cichlid v3: directly skip psp fw loading in SRIOV Signed-off-by: Jingwen Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 10 ++

RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Zhang, Hawking
guest. Regards, Hawking From: Chen, JingWen Sent: Tuesday, September 22, 2020 18:27 To: Deng, Emily ; Wang, Kevin(Yang) ; Zhang, Hawking ; amd-gfx@lists.freedesktop.org Subject: RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV [AMD Public Use] [AMD Public Use] Hi Hawkin

RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Chen, JingWen
; Chen, JingWen ; amd-gfx@lists.freedesktop.org Subject: RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV [AMD Public Use] Hi Kevin and Hawking, I think both you are right. But currently we haven't good method to handle this. It seems need to re-arch the whole driver, not only

RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Deng, Emily
, Kevin(Yang) Sent: Tuesday, September 22, 2020 3:38 PM To: Zhang, Hawking ; Chen, JingWen ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV [AMD Public Use] [AMD Public Use] Embedding these SRIOV check into the underlying functions

Re: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Wang, Kevin(Yang)
Subject: RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV [AMD Public Use] 1. Please do not add the amdgpu_sriov_vf check in every psp fw init_microcode function. psp_init_microcode is the entry point for all kinds of psp fw microcode initialization. 2. I'd like to get a whole

RE: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Zhang, Hawking
@lists.freedesktop.org Cc: Chen, JingWen Subject: [PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV smc, sdma, sos, ta and asd fw is not used in SRIOV. Skip them to accelerate sw_init for navi12. v2: skip above fw in SRIOV for vega10 and sienna_cichlid Signed-off-by: Jingwen Chen

[PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-22 Thread Jingwen Chen
smc, sdma, sos, ta and asd fw is not used in SRIOV. Skip them to accelerate sw_init for navi12. v2: skip above fw in SRIOV for vega10 and sienna_cichlid Signed-off-by: Jingwen Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 9 + drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

[PATCH 2/2] drm/amd: Skip not used microcode loading in SRIOV

2020-09-17 Thread Jingwen Chen
smc, sdma, sos and asd fw is not used in SRIOV. Skip them to accelerate sw_init. Signed-off-by: Jingwen Chen --- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 16 +--- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 3 +++ drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 3 +++