Re: [PATCH i-g-t] tests/gem_exec_basic: don't use gem_require_ring to check ring availability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 29, 2016 at 09:21:33AM +0000, daniele.ceraolospurio@xxxxxxxxx wrote:
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
> 
> gem_require_ring will submit an execbuf using the provided flags and
> skip the test if the ioctl fails. This test is however designed to catch
> issues with the ioctl, so it should fail if the ioctl fails on a ring
> that the HW possesses.
> 
> Instead of using gem_require_ring we can use the getparam ioctl. The new
> checker has been added to the test file and not to the commmon library
> because this test is the only special case where we want to not use
> gem_has_ring

That would be gem_exec_param.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux