drm/i915/selftests: Use less in contexts steal guc id test
authorMatthew Brost <matthew.brost@intel.com>
Sat, 22 Jan 2022 00:08:22 +0000 (16:08 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 26 Jan 2022 00:28:48 +0000 (16:28 -0800)
commit29c52ab2711f0e8ce506c120fbecb30e83f83339
treedb910079c38203008e56ee8d2fba68a9b8f92a74
parent85e97b1dd5d29b66a249406624734843b71c0a0c
drm/i915/selftests: Use less in contexts steal guc id test

Using more guc_ids in the stealing guc id test has no real benefit.
Tearing down lots of contexts all at the same time takes a bit of time
due to the H2G / G2H ping-pong with the GuC. On some slower platforms
this can cause timeous when flushing the test as the GT isn't idle when
this ping-pong is happening. Reduce the number of guc ids to speed up
the flushing of the test.

Link: https://gitlab.freedesktop.org/drm/intel/-/issues/4821
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220122000822.25616-1-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/selftest_guc.c