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

Keith Packard keithp at keithp.com
Mon Oct 27 15:34:30 PDT 2014


Adam Jackson <ajax at nwnk.net> writes:

> On Thu, 2014-10-16 at 16:22 +0100, Chris Wilson wrote:
>> 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
>
> Reviewed-by: Adam Jackson <ajax at redhat.com>

Merged.
   5adc201..9b29fa9  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141027/c08bb87c/attachment.sig>


More information about the xorg-devel mailing list