summaryrefslogtreecommitdiff
path: root/hw/xwin/winwndproc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-10-16 14:09:08 +0100
committerKeith Packard <keithp@keithp.com>2014-10-27 15:33:48 -0700
commit9b29fa957a397664463c7c78fbcc2f34d1993271 (patch)
treec5f1e01701326a17f6c9542157c0eced6974278f /hw/xwin/winwndproc.c
parent5adc20179e9818d51e1cd79bfc8a8271786c3949 (diff)
Xext/shm: Detach SHM segment after Pixmap is released
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. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85058 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reported-and-tested-by: gedgon@gmail.com Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwin/winwndproc.c')
0 files changed, 0 insertions, 0 deletions