[Intel-gfx] [PATCH igt] igt/kms_flip: Do igt_require_gem() just once

Arkadiusz Hiler arkadiusz.hiler at intel.com
Thu Jan 4 11:37:10 UTC 2018


On Wed, Jan 03, 2018 at 05:57:28PM +0000, Chris Wilson wrote:
> Since igt_spin_batch_new() will do a stalling GEM check, it is not
> advisable to use it within loops. Perform the igt_require_gem() upfront
> and then use __igt_spin_batch_new() inside the test loop.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

and pushed


More information about the Intel-gfx mailing list