[PATCH] Xext/shm: Detach SHM segment after Pixmap is released

Chris Wilson chris at chris-wilson.co.uk
Thu Oct 16 08:22:14 PDT 2014


On Thu, Oct 16, 2014 at 02:09:08PM +0100, Chris Wilson wrote:
> The GPU may still have a reference to the SHM segment which would only
> be finally released when the Pixmap is destroy. So we can only detach
> the SHM segment (and thereby making the memory unaccessible) after the
> backend has had a chance to flush any remaining references.
 
Reported-and-tested-by: gedgon at gmail.com
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85058
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list