[Intel-gfx] [RFC 0/2] Reduce the time for which 'struct_mutex' is held

Chris Wilson chris at chris-wilson.co.uk
Sun May 4 13:41:45 CEST 2014


On Sun, May 04, 2014 at 04:48:23PM +0530, akash.goel at intel.com wrote:
> From: Akash Goel <akash.goel at intel.com>
> 
> We are trying to reduce the time for which the global 'struct_mutex'
> is locked. Execbuffer ioctl is one place where it is generally held
> for the longest time. And sometimes because of this occasional 
> glitches/flickers are being observed in 60 fps playback (due to miss of
> V-blank intervals) as page flip call is getting delayed because the
> 'struct_mutex' is already locked.

Once again, both of these make me wonder just what you are doing so
badly wrong in userspace.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list