RE: [PATCH xf86-video-amdgpu] Simplify tracking of PRIME scanout pixmap

2017-05-23 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Friday, May 12, 2017 6:11 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-amdgpu] Simplify tracking of PRIME scanout > pix

[PATCH xf86-video-amdgpu] Simplify tracking of PRIME scanout pixmap

2017-05-12 Thread Michel Dänzer
From: Michel Dänzer Remember the shared pixmap passed to drmmode_set_scanout_pixmap for each CRTC, and just compare against that. Fixes leaving stale entries in ScreenRec::pixmap_dirty_list under some circumstances, which would usually result in use-after-free and a