RE: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-10-11 Thread Joshi, Mukul
tian > ; Gui, Jack > Subject: Re: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd > > > On 2024-10-11 11:07, Joshi, Mukul wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > > >> -Original Message- > >> From: amd-gfx

RE: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-10-11 Thread Li, Yunxiang (Teddy)
[AMD Official Use Only - AMD Internal Distribution Only] Yes, my understanding is that autosuspend happens after a timeout, so it would only go into suspend if the pdd is not used for a while after it's created. Teddy

Re: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-10-11 Thread Felix Kuehling
g >> Cc: Deucher, Alexander ; Koenig, Christian >> ; Gui, Jack ; Li, Yunxiang >> (Teddy) >> Subject: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd >> >> When using MES creating a pdd will require talking to the GPU to setup the >> relevant

RE: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-10-11 Thread Joshi, Mukul
Li, Yunxiang > (Teddy) > Subject: [PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd > > When using MES creating a pdd will require talking to the GPU to setup the > relevant > context. The code here forgot to wake up the GPU in case it was in suspend, > this >

[PATCH v2 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-10-10 Thread Yunxiang Li
When using MES creating a pdd will require talking to the GPU to setup the relevant context. The code here forgot to wake up the GPU in case it was in suspend, this causes KVM to EFAULT for passthrough GPU for example. Also, change the other place where we pause suspend to use the cleaner pm_runti