Re: [Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Lionel Landwerlin
On 29/04/2020 18:26, Chris Wilson wrote: Quoting Lionel Landwerlin (2020-04-29 16:23:34) On 29/04/2020 18:05, Chris Wilson wrote: Wait until the GPU is idle before starting a fresh round of probing gen8-unprivileged-single-ctx-counter. This avoids building up a huge backlog of render copies,

Re: [Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Chris Wilson
Quoting Lionel Landwerlin (2020-04-29 16:23:34) > On 29/04/2020 18:05, Chris Wilson wrote: > > Wait until the GPU is idle before starting a fresh round of probing > > gen8-unprivileged-single-ctx-counter. This avoids building up a huge > > backlog of render copies, hogging buffers and stale

Re: [Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Lionel Landwerlin
On 29/04/2020 18:05, Chris Wilson wrote: Wait until the GPU is idle before starting a fresh round of probing gen8-unprivileged-single-ctx-counter. This avoids building up a huge backlog of render copies, hogging buffers and stale contexts, and invoking the oomkiller. v2: Release everything

[Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Chris Wilson
Wait until the GPU is idle before starting a fresh round of probing gen8-unprivileged-single-ctx-counter. This avoids building up a huge backlog of render copies, hogging buffers and stale contexts, and invoking the oomkiller. v2: Release everything before starting again. Signed-off-by: Chris

Re: [Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Lionel Landwerlin
Oh... Is that on a low end platform? Looks alright : Reviewed-by: Lionel Landwerlin Thanks, -Lionel On 29/04/2020 17:51, Chris Wilson wrote: Wait until the GPU is idle before starting a fresh round of probing gen8-unprivileged-single-ctx-counter. This avoids building up a huge backlog of

[Intel-gfx] [PATCH i-g-t] perf: Flush the work between rounds of gen8-unprivileged-single-ctx-counter

2020-04-29 Thread Chris Wilson
Wait until the GPU is idle before starting a fresh round of probing gen8-unprivileged-single-ctx-counter. This avoids building up a huge backlog of render copies, hogging buffers and stale contexts, and invoking the oomkiller. Signed-off-by: Chris Wilson Cc: Lionel Landwerlin --- tests/perf.c