mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
lib/gt: api polish for igt_can_hang_ring
Align with common igt library style: - Push the igt_require into the function. - Push the intel_gen into the function. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
@@ -474,7 +474,7 @@ static struct igt_hang_ring rcs_hang(void)
|
||||
|
||||
static void hang_require(void)
|
||||
{
|
||||
igt_require(igt_can_hang_ring(fd, gen, -1));
|
||||
igt_require_hang_ring(fd, -1);
|
||||
}
|
||||
|
||||
static void do_overwrite_source(const struct access_mode *mode,
|
||||
|
||||
Reference in New Issue
Block a user