RE: [PATCH] drm/amdkfd: fix add queue process context clear for hsa non-init cases

2023-09-12 Thread Kim, Jonathan
; g...@lists.freedesktop.org > >> Cc: Ji, Ruili ; Guo, Shikai ; > >> jinhuierichu...@amd.com > >> Subject: Re: [PATCH] drm/amdkfd: fix add queue process context clear for > hsa > >> non-init cases > >> > >> On 2023-09-12 8:17, Jonathan Kim wrote: >

Re: [PATCH] drm/amdkfd: fix add queue process context clear for hsa non-init cases

2023-09-12 Thread Felix Kuehling
process context clear for hsa non-init cases On 2023-09-12 8:17, Jonathan Kim wrote: There are cases where HSA is not initialized when adding queues This statement doesn't make sense to me. If HSA is not initialized, it means user mode hasn't opened the KFD device. So it can't crea

RE: [PATCH] drm/amdkfd: fix add queue process context clear for hsa non-init cases

2023-09-12 Thread Kim, Jonathan
[Public] > -Original Message- > From: Kuehling, Felix > Sent: Tuesday, September 12, 2023 8:36 PM > To: Kim, Jonathan ; amd-gfx@lists.freedesktop.org > Cc: Ji, Ruili ; Guo, Shikai ; > jinhuierichu...@amd.com > Subject: Re: [PATCH] drm/amdkfd: fix add queue process

Re: [PATCH] drm/amdkfd: fix add queue process context clear for hsa non-init cases

2023-09-12 Thread Felix Kuehling
On 2023-09-12 8:17, Jonathan Kim wrote: There are cases where HSA is not initialized when adding queues This statement doesn't make sense to me. If HSA is not initialized, it means user mode hasn't opened the KFD device. So it can't create queues. What do you really mean here? Regards,   Fe

RE: [PATCH] drm/amdkfd: fix add queue process context clear for hsa non-init cases

2023-09-12 Thread Kim, Jonathan
[Public] + Eric > -Original Message- > From: Kim, Jonathan > Sent: Tuesday, September 12, 2023 8:17 AM > To: amd-gfx@lists.freedesktop.org > Cc: Ji, Ruili ; Guo, Shikai ; > jinhuierichu...@amd.com; Kuehling, Felix ; Kim, > Jonathan ; Guo, Shikai ; > Kim, Jonathan > Subject: [PATCH] drm/