[Intel-gfx] [PATCH] igt/gem_userptr_blits: Fix multi-threaded mm stress tester

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 24 10:32:01 CEST 2014


On Thu, Jul 24, 2014 at 08:19:19AM +0000, Gore, Tim wrote:
> 
> > -----Original Message-----
> > From: Tvrtko Ursulin [mailto:tvrtko.ursulin at linux.intel.com]
> > Sent: Tuesday, July 22, 2014 11:15 AM
> > To: Intel-gfx at lists.freedesktop.org
> > Cc: Tvrtko Ursulin; Ursulin, Tvrtko; Gore, Tim
> > Subject: [PATCH] igt/gem_userptr_blits: Fix multi-threaded mm stress tester
> > 
> > Two parts to the fix:
> >   1. Do not use pthread_cancel since not available on Android.
> >   2. Do not assert in the thread since that does not get propagated
> >      to the process. Rather pass out any failures so we know test
> >      did not work as expected.
> > 
> > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Cc: Tim Gore <tim.gore at intel.com>
> Reviewed-by: Tim Gore <tim.gore at intel.com>
Pushed.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list