commit | 52bc6baebec178cf1447090000befd6263fa39b3 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jan 03 17:57:28 2018 +0000 |
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | Thu Jan 04 13:36:34 2018 +0200 |
tree | 942898633ba39504a313b35bb67d85b2d330e92c | |
parent | 58bd37d347d1369ecd272ff778057ee8004d6b15 [diff] |
igt/kms_flip: Do igt_require_gem() just once 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@chris-wilson.co.uk> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>