[Intel-gfx] [PATCH 11/13] drm/i915/bdw: collect semaphore error state

2014-04-29 Thread Ben Widawsky
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 semaphore waits are indeed working. v2: D

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

2014-02-11 Thread Ben Widawsky
On Thu, Jan 30, 2014 at 04:53:32PM +0200, Ville Syrjälä wrote: > On Wed, Jan 29, 2014 at 11:55:31AM -0800, Ben Widawsky wrote: > > 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

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

2014-02-11 Thread Ben Widawsky
On Thu, Jan 30, 2014 at 02:58:09PM +, Chris Wilson wrote: > On Thu, Jan 30, 2014 at 04:53:32PM +0200, Ville Syrjälä wrote: > > On Wed, Jan 29, 2014 at 11:55:31AM -0800, Ben Widawsky wrote: > > > + obj = error->semaphore_obj; > > > + if (obj) { > > > > Chris will come along and change this to >

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

2014-01-30 Thread Chris Wilson
On Thu, Jan 30, 2014 at 04:53:32PM +0200, Ville Syrjälä wrote: > On Wed, Jan 29, 2014 at 11:55:31AM -0800, Ben Widawsky wrote: > > + obj = error->semaphore_obj; > > + if (obj) { > > Chris will come along and change this to > > if ((obj = error->semaphore_obj)) I was merely keeping in style w

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

2014-01-30 Thread Ville Syrjälä
On Wed, Jan 29, 2014 at 11:55:31AM -0800, Ben Widawsky wrote: > 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 a

[Intel-gfx] [PATCH 11/13] drm/i915/bdw: collect semaphore error state

2014-01-29 Thread Ben Widawsky
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 semaphore waits are indeed working. v2: D