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
Cc: Chen, Horace Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Am 19.07.21 um 11:42 schrieb Liu, Monk: > [AMD Official Use Only] > > Besides, I think our current KMD have three types of kernel sdma jobs: > 1) adev->mman.entity, it is already a KERNEL

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

2021-07-20 Thread Christian König
t: Monday, July 19, 2021 7:10 PM To: Liu, Monk ; Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Chen, Horace Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Am 19.07.21 um 11:42 schrieb Liu, Monk: [AMD Official Use Only] Besides, I think our current KMD have th

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

2021-07-20 Thread Christian König
PM To: Liu, Monk ; Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Chen, Horace Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Am 19.07.21 um 11:42 schrieb Liu, Monk: [AMD Official Use Only] Besides, I think our current KMD have three types of kernel sdma jobs: 1) a

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

2021-07-19 Thread Liu, Monk
9, 2021 4:25 PM To: Chen, JingWen ; amd-gfx@lists.freedesktop.org Cc: Chen, Horace ; Liu, Monk Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Am 19.07.21 um 07:57 schrieb Jingwen Chen: > [Why] > Current vm_pte entities have NORMAL priority, in SRIOV multi-vf use

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

2021-07-19 Thread Liu, Monk
Cc: Chen, Horace ; Liu, Monk Subject: Re: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority Am 19.07.21 um 07:57 schrieb Jingwen Chen: > [Why] > Current vm_pte entities have NORMAL priority, in SRIOV multi-vf use > case, the vf flr happens first and then job time out

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

2021-07-19 Thread Christian König
ts.freedesktop.org Cc: Chen, Horace Subject: RE: [PATCH] drm/amd/amdgpu: vm entities should have kernel priority [AMD Official Use Only] If there is move jobs clashing there we probably need to fix the bugs of those move jobs Previously I believe you also remember that we agreed to always

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

2021-07-19 Thread Jingwen Chen
[Why] Current vm_pte entities have NORMAL priority, in SRIOV multi-vf use case, the vf flr happens first and then job time out is found. There can be several jobs timeout during a very small time slice. And if the innocent sdma job time out is found before the real bad job, then the innocent sdma

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

2021-07-19 Thread Christian König
Am 19.07.21 um 07:57 schrieb Jingwen Chen: [Why] Current vm_pte entities have NORMAL priority, in SRIOV multi-vf use case, the vf flr happens first and then job time out is found. There can be several jobs timeout during a very small time slice. And if the innocent sdma job time out is found