Re: [Intel-gfx] [PATCH] drm/i915/selftest: Synchronise with the GPU timestamp

2021-02-04 Thread Chang, Yu bruce
> Wait for the GPU to wake up from the semaphore before measuring the >time, so that we coordinate the sampling on both the CPU and GPU for > more accurate comparisons. > >Reported-by: Bruce Chang > Signed-off-by: Chris Wilson > Cc: CQ Tang > --- > drivers/gpu/drm/i915/gt/selftest_engine_pm.c

[Intel-gfx] [PATCH] drm/i915/selftest: Synchronise with the GPU timestamp

2021-02-04 Thread Chris Wilson
Wait for the GPU to wake up from the semaphore before measuring the time, so that we coordinate the sampling on both the CPU and GPU for more accurate comparisons. Reported-by: Bruce Chang Signed-off-by: Chris Wilson Cc: CQ Tang --- drivers/gpu/drm/i915/gt/selftest_engine_pm.c | 4 +++- 1