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

Goel, Akash akash.goel at intel.com
Sun May 4 19:00:00 CEST 2014


There could be something amiss on the User space side, but this is a very sporadic issue.
It mainly comes to the fore, when some huge buffers (30 MB) are being processed.

Best Regards
Akash

-----Original Message-----
From: Chris Wilson [mailto:chris at chris-wilson.co.uk] 
Sent: Sunday, May 04, 2014 5:12 PM
To: Goel, Akash
Cc: intel-gfx at lists.freedesktop.org; Gupta, Sourab
Subject: Re: [Intel-gfx] [RFC 0/2] Reduce the time for which 'struct_mutex' is held

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