Re: [RFC i-g-t] tests/drv_hangman: test for acthd increasing through invalid VM space

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

 



On Thu, Feb 18, 2016 at 05:34:50PM +0000, daniele.ceraolospurio@xxxxxxxxx wrote:
> +static void ppgtt_walking(void)
> +{
> +	memset(&execbuf, 0, sizeof(execbuf));
> +	execbuf.buffers_ptr = (uintptr_t)&gem_exec;
> +	execbuf.buffer_count = 1;
> +	execbuf.batch_len = 8;
> +
> +	gem_execbuf(fd, &execbuf);
> +
> +	while (gem_bo_busy(fd, handle) && timeout > 0) {
> +		igt_debug("decreasing timeout to %u\n", --timeout);
> +		sleep(1);
> +	}

See gem_wait()
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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