[igt-dev] [PATCH i-g-t 1/3] lib/i915: Return actual submission method from gem_submission_method

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Nov 2 22:48:53 UTC 2021


On Tue, 02 Nov 2021 12:18:01 -0700, Dixit, Ashutosh wrote:
>
> I think I am going to do this. Also, has_semaphores() calls here in i915:
>
>	int i915_getparam_ioctl()
>	{
>		...
>		case I915_PARAM_HAS_SEMAPHORES:
>			value = !!(i915->caps.scheduler & I915_SCHEDULER_CAP_SEMAPHORES);
>			break;
>
> But appears I915_SCHEDULER_CAP_SEMAPHORES bits are never set in
> caps.scheduler so has_semaphores() should always be returning zero.

Sorry I am wrong, I915_SCHEDULER_CAP_SEMAPHORES is set in i915
set_scheduler_caps() and gem_busy at semaphores tests run in CI.


More information about the igt-dev mailing list