Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-25 Thread Christian König
Am 25.02.21 um 19:33 schrieb Felix Kuehling: [SNIP] This in turn can lead to starvation of the work handler and so a life lock as well. I won't touch rptr or wptr at all for this. Not sure what's your idea here, using ih->lock. Is it to completely drain all IRQs until the IH ring is complet

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-25 Thread Felix Kuehling
t;> To: Kim, Jonathan ; amd- >>>>>> g...@lists.freedesktop.org >>>>>> Cc: Yang, Philip ; Kuehling, Felix >>>>>> >>>>>> Subject: Re: [PATCH] drm/amdgpu: add ih call to process until >>>>>> checkpoint >>>

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-25 Thread Christian König
, Christian Sent: Wednesday, February 24, 2021 4:17 AM To: Kim, Jonathan ; amd- g...@lists.freedesktop.org Cc: Yang, Philip ; Kuehling, Felix Subject: Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint Am 23.02.21 um 22:10 schrieb Jonathan Kim: Add IH function to allow caller to process

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-25 Thread Felix Kuehling
gt;>> From: Koenig, Christian >>>> Sent: Wednesday, February 24, 2021 4:17 AM >>>> To: Kim, Jonathan ; amd- >>>> g...@lists.freedesktop.org >>>> Cc: Yang, Philip ; Kuehling, Felix >>>> >>>> Subject: Re: [PATCH] drm/amdgpu:

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-25 Thread Christian König
Cc: Yang, Philip ; Kuehling, Felix Subject: Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint Am 23.02.21 um 22:10 schrieb Jonathan Kim: Add IH function to allow caller to process ring entries until the checkpoint write pointer. This needs a better description of what this will

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-24 Thread Felix Kuehling
: [PATCH] drm/amdgpu: add ih call to process until checkpoint Am 23.02.21 um 22:10 schrieb Jonathan Kim: Add IH function to allow caller to process ring entries until the checkpoint write pointer. This needs a better description of what this will be used for. Felix or Philip could elaborate

RE: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-24 Thread Kim, Jonathan
[AMD Official Use Only - Internal Distribution Only] > -Original Message- > From: Koenig, Christian > Sent: Wednesday, February 24, 2021 4:17 AM > To: Kim, Jonathan ; amd- > g...@lists.freedesktop.org > Cc: Yang, Philip ; Kuehling, Felix > > Subject: Re: [PATCH]

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-24 Thread Christian König
Am 23.02.21 um 22:10 schrieb Jonathan Kim: Add IH function to allow caller to process ring entries until the checkpoint write pointer. This needs a better description of what this will be used for. Suggested-by: Felix Kuehling Signed-off-by: Jonathan Kim --- drivers/gpu/drm/amd/amdgpu/am

Re: [PATCH] drm/amdgpu: add ih call to process until checkpoint

2021-02-23 Thread Andrey Grodzovsky
On 2021-02-23 4:10 p.m., Jonathan Kim wrote: Add IH function to allow caller to process ring entries until the checkpoint write pointer. Suggested-by: Felix Kuehling Signed-off-by: Jonathan Kim --- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 46 +- drivers/gpu/drm/amd