Re: [Intel-gfx] [PATCH 07/10] drm/i915/bdw: collect semaphore error state

2014-07-14 Thread Damien Lespiau
On Mon, Jun 30, 2014 at 09:53:41AM -0700, Rodrigo Vivi wrote: + for_each_ring(useless, dev_priv, i) { + u16 signal_offset = + (GEN8_SIGNAL_OFFSET(ring, i) PAGE_MASK) / 4; + u32 *tmp = error-semaphore_obj-pages[0]; + +

Re: [Intel-gfx] [PATCH 07/10] drm/i915/bdw: collect semaphore error state

2014-07-14 Thread Ben Widawsky
On Mon, Jul 14, 2014 at 11:04:22AM +0100, Damien Lespiau wrote: On Mon, Jun 30, 2014 at 09:53:41AM -0700, Rodrigo Vivi wrote: + for_each_ring(useless, dev_priv, i) { + u16 signal_offset = + (GEN8_SIGNAL_OFFSET(ring, i) PAGE_MASK) / 4; + u32 *tmp =

[Intel-gfx] [PATCH 07/10] drm/i915/bdw: collect semaphore error state

2014-06-30 Thread Rodrigo Vivi
From: Ben Widawsky b...@bwidawsk.net Since the semaphore information is in an object, just dump it, and let the user parse it later. NOTE: The page being used for the semaphores are incoherent with the CPU. No matter what I do, I cannot figure out a way to read anything but 0s. Note that the