Re: [PATCH] drm/amd check num of link levels when update pcie param

2023-10-24 Thread Chen, JingWen (Wayne)
Acked-by: Jingwen Chen Best Regards, JingWen Chen On 2023/10/19 17:46, Lin.Cao wrote: In SR-IOV environment, the value of pcie_table->num_of_link_levels will be 0, and num_of_levels - 1 will cause array index out of bounds Signed-off-by: Lin.Cao ---

Re: [PATCH] drm/amdgpu: save VCN instances init info before jpeg init

2023-10-10 Thread Chen, JingWen (Wayne)
Reviewed-by: Jingwen Chen Best Regards, JingWen Chen On 2023/10/10 14:27, Lin.Cao wrote: JPEG init header will overwirte vcn init header info which will loss some debug information Signed-off-by: Lin.Cao --- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 4 1 file changed, 4 insertions(+)

Re: [PATCH] drm/amdgpu: Return -EINVAL when MMSCH init status incorrect

2023-10-09 Thread Chen, JingWen (Wayne)
Reviewed-by: Jingwen Chen -- Best Regards, JingWen Chen On 2023/10/8 18:06, Lin.Cao wrote: Return -EINVAL when MMSCH init fail which can be handle by function amdgpu_device_reset_sriov correctly. Signed-off-by: Lin.Cao --- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 5 - 1 file changed,

Re: [RFC v4 02/11] drm/amdgpu: Move scheduler init to after XGMI is ready

2022-03-03 Thread Chen, JingWen
oke test tomorrow and push all of it it then. >> >> Andrey >> >> On 2022-03-02 21:59, Chen, JingWen wrote: >>> Hi Andrey, >>> >>> I don't have the bare mental environment, I can only test the SRIOV cases. >>> >>> Best Regards, >>> JingWen Chen

Re: [RFC v4 02/11] drm/amdgpu: Move scheduler init to after XGMI is ready

2022-03-02 Thread Chen, JingWen
ch is needed as a standalone now ? It has >>>>> no use without the >>>>> entire feature together with it. Is it some changes you want to do on top >>>>> of that code ? >>>>> >>>>> >>>>> Andrey >>>

RE: [PATCH] drm/amd/amdgpu: consider paging job always not guilty

2021-07-21 Thread Chen, JingWen
[AMD Official Use Only] Hi Christian, I have uploaded the latest patch according to your suggestion. Best Regards, JingWen Chen -Original Message- From: Christian König Sent: Tuesday, July 20, 2021 8:13 PM To: Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Chen, Horace ; Liu, Monk

RE: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority

2021-07-20 Thread Chen, JingWen
ent: Tuesday, July 20, 2021 4:29 PM To: Chen, JingWen ; Liu, Monk ; amd-gfx@lists.freedesktop.org Cc: Chen, Horace Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Hi JingWen, you can look at the job->vm pointer to distinct an userspace submission from a kernel subm

RE: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority

2021-07-20 Thread Chen, JingWen
not to change the priority, do you have any suggestions about how to make sure the paging jobs are not considered guilty? Best Regards, JingWen Chen -Original Message- From: Christian König Sent: Monday, July 19, 2021 7:10 PM To: Liu, Monk ; Chen, JingWen ; amd-gfx@lists.freedesktop.org

RE: [PATCH] drm/amd/pm: Disable SMU messages in navi10 sriov

2021-06-11 Thread Chen, JingWen
[AMD Official Use Only] Acked-by: Jingwen Chen Best Regards, JingWen Chen -Original Message- From: Yifan Zha Sent: Friday, June 11, 2021 6:49 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Monk ; Chen, JingWen ; Zha, YiFan(Even) Subject: [PATCH] drm/amd/pm: Disable SMU messages

RE: [PATCH] drm/amd/amdgpu:save psp ring wptr in SRIOV to avoid attack

2021-05-26 Thread Chen, JingWen
Hi Monk, New patch submitted according to your suggestion Best Regards, JingWen Chen -Original Message- From: Liu, Monk Sent: Wednesday, May 26, 2021 3:24 PM To: Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Zhao, Victor ; Chen, JingWen Subject: RE: [PATCH] drm/amd/amdgpu:save

RE: [PATCH 2/2] drm/amd/amdgpu: force flush resubmit job

2021-02-24 Thread Chen, JingWen
pd_addr and vmid for jobs after resubmit. In this sequence amdgpu_vmid_had_gpu_reset doesn't work. Best Regards, JingWen Chen -Original Message- From: Koenig, Christian Sent: Thursday, February 25, 2021 3:46 PM To: Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Liu, Monk Subject: Re

RE: [PATCH] drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data

2021-01-20 Thread Chen, JingWen
[AMD Official Use Only - Approved for External Use] Ping Best Regards, JingWen Chen -Original Message- From: Jingwen Chen Sent: Tuesday, January 19, 2021 5:07 PM To: amd-gfx@lists.freedesktop.org Cc: Chen, JingWen ; Chen, JingWen Subject: [PATCH] drm/amd/amdgpu: add error handling

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] drm/amd/pm: Skip smu_post_init in SRIOV

2020-09-17 Thread Chen, JingWen
[AMD Public Use] Typo fixed in v3 Best Regards, JingWen Chen > -Original Message- > From: Chen, Guchun > Sent: Thursday, September 17, 2020 5:40 PM > To: Chen, JingWen ; amd- > g...@lists.freedesktop.org > Cc: Chen, JingWen > Subject: RE: [PATCH] drm/amd/p

RE: [PATCH] drm/amd/pm: Skip smu_post_init in SRIOV

2020-09-17 Thread Chen, JingWen
[AMD Public Use] Done in v2 Best Regards, JingWen Chen > -Original Message- > From: Chen, Guchun > Sent: Thursday, September 17, 2020 4:21 PM > To: Chen, JingWen ; amd- > g...@lists.freedesktop.org > Cc: Chen, JingWen > Subject: RE: [PATCH] drm/amd/pm: Skip s