Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-15 Thread Christian König
; Pelloux-prayer, Pierre-eric ; Kuehling, Felix ; Liu, Monk ; Zhang, Hawking *Subject:* RE: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 [AMD Official Use Only - Internal Distribution Only] Hi, Jiange, How to handle the case that multi-apps do the auto dump? This patch

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Zhao, Jiange
@lists.freedesktop.org Cc: Deucher, Alexander ; Pelloux-prayer, Pierre-eric ; Kuehling, Felix ; Liu, Monk ; Zhang, Hawking Subject: RE: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 [AMD Official Use Only - Internal Distribution Only] Hi, Jiange, How to handle the case that multi

RE: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Li, Dennis
; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Pelloux-prayer, Pierre-eric ; Kuehling, Felix ; Liu, Monk ; Zhang, Hawking Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Hi Jiange, it probably won't hurt, but I would just drop that. You need roughly 4 billion

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Christian König
Am 14.05.20 um 11:18 schrieb jia...@amd.com: From: Jiange Zhao When GPU got timeout, it would notify an interested part of an opportunity to dump info before actual GPU reset. A usermode app would open 'autodump' node under debugfs system and poll() for readable/writable. When a GPU reset is

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Christian König
: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 14.05.20 um 07:29 schrieb jia...@amd.com: > From: Jiange Zhao > > When GPU got timeout, it would notify an interested part > of an opportunity to dump info before actual GPU reset. > > A usermode app would op

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Zhao, Jiange
; Liu, Monk ; Zhang, Hawking Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 14.05.20 um 07:29 schrieb jia...@amd.com: > From: Jiange Zhao > > When GPU got timeout, it would notify an interested part > of an opportunity to dump info before actu

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-14 Thread Christian König
Am 14.05.20 um 07:29 schrieb jia...@amd.com: From: Jiange Zhao When GPU got timeout, it would notify an interested part of an opportunity to dump info before actual GPU reset. A usermode app would open 'autodump' node under debugfs system and poll() for readable/writable. When a GPU reset is

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-13 Thread Christian König
Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 09.05.20 um 11:45 schrieb jia...@amd.com: From: Jiange Zhao When GPU got timeout, it would notify an interested part of an opportunity to dump info before actual GPU reset. A usermode app would open 'autodump' node

RE: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-13 Thread Zhao, Jiange
, May 13, 2020 4:20 PM To: Zhao, Jiange ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Pelloux-prayer, Pierre-eric ; Zhao, Jiange ; Koenig, Christian ; Liu, Monk Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 09.05.20 um 11:45 schrieb jia...@amd.com

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-13 Thread Christian König
Thanks for the reminder, had to much todo yesterday and just forgot about it. Christian. Am 13.05.20 um 10:16 schrieb Zhao, Jiange: [AMD Official Use Only - Internal Distribution Only] Hi @Koenig, Christian , I made some changes on top of version 3 and

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-13 Thread Christian König
Am 09.05.20 um 11:45 schrieb jia...@amd.com: From: Jiange Zhao When GPU got timeout, it would notify an interested part of an opportunity to dump info before actual GPU reset. A usermode app would open 'autodump' node under debugfs system and poll() for readable/writable. When a GPU reset is

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-13 Thread Zhao, Jiange
[AMD Official Use Only - Internal Distribution Only] Hi @Koenig, Christian, I made some changes on top of version 3 and tested it. Can you help review? Jiange From: Zhao, Jiange Sent: Saturday, May 9, 2020 5:45 PM To:

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-06 Thread Christian König
10:09 PM To: Pelloux-prayer, Pierre-eric ; Zhao, Jiange ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Deucher, Alexander ; Liu, Monk ; Zhang, Hawking Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 29.04.20 um 16:04 schrieb Pierre-Eric Pelloux-Prayer: Hi

RE: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-05-05 Thread Zhao, Jiange
sktop.org Cc: Kuehling, Felix ; Deucher, Alexander ; Liu, Monk ; Zhang, Hawking Subject: Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4 Am 29.04.20 um 16:04 schrieb Pierre-Eric Pelloux-Prayer: > Hi Jiange, > > This version seems to work fine. > > Tested-by:

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-04-29 Thread Christian König
Am 29.04.20 um 16:04 schrieb Pierre-Eric Pelloux-Prayer: Hi Jiange, This version seems to work fine. Tested-by: Pierre-Eric Pelloux-Prayer On 29/04/2020 07:08, Zhao, Jiange wrote: [AMD Official Use Only - Internal Distribution Only] Hi all, I worked out the race condition and here is

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-04-29 Thread Pierre-Eric Pelloux-Prayer
Hi Jiange, This version seems to work fine. Tested-by: Pierre-Eric Pelloux-Prayer On 29/04/2020 07:08, Zhao, Jiange wrote: > [AMD Official Use Only - Internal Distribution Only] > > > Hi all, > > I worked out the race condition and here is version 5. Please have a look. > > Jiange >

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-04-28 Thread Zhao, Jiange
[AMD Official Use Only - Internal Distribution Only] Hi all, I worked out the race condition and here is version 5. Please have a look. Jiange From: Zhao, Jiange Sent: Wednesday, April 29, 2020 1:06 PM To: amd-gfx@lists.freedesktop.org Cc: Koenig, Christian ;

Re: [PATCH] drm/amdgpu: Add autodump debugfs node for gpu reset v4

2020-04-26 Thread Christian König
Am 26.04.20 um 12:09 schrieb jia...@amd.com: From: Jiange Zhao When GPU got timeout, it would notify an interested part of an opportunity to dump info before actual GPU reset. A usermode app would open 'autodump' node under debugfs system and poll() for readable/writable. When a GPU reset is