Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-13 Thread Christian König
Am 13.10.2017 um 16:34 schrieb Michel Dänzer: On 12/10/17 07:11 PM, Christian König wrote: Am 12.10.2017 um 18:49 schrieb Michel Dänzer: On 12/10/17 01:00 PM, Michel Dänzer wrote: [0] I also got this, but I don't know yet if it's related: No, that seems to be a separate issue; I can still

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-13 Thread Michel Dänzer
On 12/10/17 07:11 PM, Christian König wrote: > Am 12.10.2017 um 18:49 schrieb Michel Dänzer: >> On 12/10/17 01:00 PM, Michel Dänzer wrote: >>> [0] I also got this, but I don't know yet if it's related: >> No, that seems to be a separate issue; I can still reproduce it with the >> huge page related

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Christian König
Am 12.10.2017 um 18:49 schrieb Michel Dänzer: On 12/10/17 01:00 PM, Michel Dänzer wrote: [0] I also got this, but I don't know yet if it's related: No, that seems to be a separate issue; I can still reproduce it with the huge page related changes reverted. Unfortunately, it doesn't seem to

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Michel Dänzer
On 12/10/17 01:00 PM, Michel Dänzer wrote: > > [0] I also got this, but I don't know yet if it's related: No, that seems to be a separate issue; I can still reproduce it with the huge page related changes reverted. Unfortunately, it doesn't seem to happen reliably on every piglit run. Even

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Michel Dänzer
On 12/10/17 03:50 PM, Christian König wrote: > Am 12.10.2017 um 15:42 schrieb Michel Dänzer: >> On 12/10/17 01:44 PM, Christian König wrote: >>> Am 12.10.2017 um 13:00 schrieb Michel Dänzer: >>> Anyway, unless anyone knows which commits from amd-staging-drm-next are needed to make

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Michel Dänzer
On 12/10/17 01:44 PM, Christian König wrote: > Am 12.10.2017 um 13:00 schrieb Michel Dänzer: > >> Anyway, unless anyone knows which commits from amd-staging-drm-next are >> needed to make 1d00402b4da2 stable in 4.14, the safe course of action >> seems to be reverting it (and ac7afe6b3cf3, which

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Christian König
Am 12.10.2017 um 13:00 schrieb Michel Dänzer: On 12/10/17 10:05 AM, Christian König wrote: [SNIP] Is amd-staging-drm-next stable for you? It seemed stable before the changes you pushed this morning. :) As of cfb6dee86711 "drm/ttm: add transparent huge page support for cached allocations v2", I

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Michel Dänzer
On 12/10/17 10:05 AM, Christian König wrote: > Am 11.10.2017 um 18:30 schrieb Michel Dänzer: >> On 28/09/17 04:55 PM, Nicolai Hähnle wrote: >>> From: Nicolai Hähnle >>> >>> Highly concurrent Piglit runs can trigger a race condition where a >>> pending >>> SDMA job on a

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-12 Thread Christian König
Am 11.10.2017 um 18:30 schrieb Michel Dänzer: On 28/09/17 04:55 PM, Nicolai Hähnle wrote: From: Nicolai Hähnle Highly concurrent Piglit runs can trigger a race condition where a pending SDMA job on a buffer object is never executed because the corresponding process is

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-11 Thread Michel Dänzer
On 28/09/17 04:55 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Highly concurrent Piglit runs can trigger a race condition where a pending > SDMA job on a buffer object is never executed because the corresponding > process is killed (perhaps due to a crash). Since

RE: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Liu, Monk
bingley...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini Am 09.10.2017 um 13:27 schrieb Nicolai Hähnle: > On 09.10.2017 13:12, Christian König wrote: >>> >>>> Nicolai, how hard would it be to handle ENODE

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Olsak, Marek
; amd-gfx@lists.freedesktop.org; Olsak, Marek Cc: Li, Bingley Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini On 09.10.2017 14:33, Christian König wrote: > Am 09.10.2017 um 13:27 schrieb Nicolai Hähnle: >> On 09.10.2017 13:12, Christian König wrote: >

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
talking about community rules we shouldn't let MESA handle -ECANCELED ,  we should have a unified error code + Marek BR Monk -Original Message- From: Haehnle, Nicolai Sent: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk@amd.com>; Ni

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
Sent: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk@amd.com>; Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini On 09.10.2017 10:

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
have a unified error code + Marek BR Monk -Original Message- From: Haehnle, Nicolai Sent: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk....@amd.com>; Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Subject: Re:

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Christian König
gfx-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: 2017年9月28日 23:01 To: Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Cc: Haehnle, Nicolai <nicolai.haeh...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sch

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
g] On Behalf Of Christian K?nig Sent: 2017年9月28日 23:01 To: Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Cc: Haehnle, Nicolai <nicolai.haeh...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini Am 28

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Christian König
Marek BR Monk -Original Message- From: Haehnle, Nicolai Sent: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk@amd.com>; Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 5/5] drm/a

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Christian König
olai Sent: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk@amd.com>; Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
nt: 2017年10月9日 18:14 To: Koenig, Christian <christian.koe...@amd.com>; Liu, Monk <monk@amd.com>; Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini On 09.10.2017 10:02,

RE: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Liu, Monk
s no gpu hang hit >> >> >> BR Monk >> >> >> >> >> -Original Message- >> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On >> Behalf Of Christian K?nig >> Sent: 2017年9月28日 23:01 >> To: Nicolai Hähnle &l

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Nicolai Hähnle
; amd-gfx@lists.freedesktop.org Cc: Haehnle, Nicolai <nicolai.haeh...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini Am 28.09.2017 um 16:55 schrieb Nicolai Hähnle: From: Nicolai Hähnle <nicolai.haeh...@amd.com> Highly concurrent Piglit ru

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Christian König
nle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Cc: Haehnle, Nicolai <nicolai.haeh...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini Am 28.09.2017 um 16:55 schrieb Nicolai Hähnle: From: Nicolai Hähnle <nicolai.haeh..

RE: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-09 Thread Liu, Monk
: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: 2017年9月28日 23:01 To: Nicolai Hähnle <nhaeh...@gmail.com>; amd-gfx@lists.freedesktop.org Cc: Haehnle, Nicolai <nicolai.haeh...@amd.com> Subject: Re: [PATCH 5/5] drm/amd/sched: signal and

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-10-02 Thread Tom St Denis
Hi Nicolai, Ping? :-) Tom On 28/09/17 11:01 AM, Christian König wrote: Am 28.09.2017 um 16:55 schrieb Nicolai Hähnle: From: Nicolai Hähnle Highly concurrent Piglit runs can trigger a race condition where a pending SDMA job on a buffer object is never executed

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-09-28 Thread Chunming Zhou
On 2017年09月28日 22:55, Nicolai Hähnle wrote: From: Nicolai Hähnle Highly concurrent Piglit runs can trigger a race condition where a pending SDMA job on a buffer object is never executed because the corresponding process is killed (perhaps due to a crash). Since the

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-09-28 Thread Marek Olšák
Thanks for this series. I can finally finish piglit on VI. Marek On Thu, Sep 28, 2017 at 4:55 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Highly concurrent Piglit runs can trigger a race condition where a pending > SDMA job on a buffer

Re: [PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-09-28 Thread Christian König
Am 28.09.2017 um 16:55 schrieb Nicolai Hähnle: From: Nicolai Hähnle Highly concurrent Piglit runs can trigger a race condition where a pending SDMA job on a buffer object is never executed because the corresponding process is killed (perhaps due to a crash). Since the

[PATCH 5/5] drm/amd/sched: signal and free remaining fences in amd_sched_entity_fini

2017-09-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Highly concurrent Piglit runs can trigger a race condition where a pending SDMA job on a buffer object is never executed because the corresponding process is killed (perhaps due to a crash). Since the job's fences were never signaled, the buffer