mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
glamor: Invalidate cached GEM handle in radeon_set_pixmap_bo
We continued using the stale cached handle, causing issues e.g. when resizing the screen via RandR. Reported-by: iive on IRC Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
d9a139bc6d
commit
499d2f9d5d
@@ -735,6 +735,7 @@ static inline Bool radeon_set_pixmap_bo(PixmapPtr pPix, struct radeon_buffer *bo
|
||||
return TRUE;
|
||||
|
||||
radeon_buffer_unref(&priv->bo);
|
||||
priv->handle_valid = FALSE;
|
||||
}
|
||||
|
||||
drmmode_fb_reference(pRADEONEnt->fd, &priv->fb, NULL);
|
||||
|
||||
Reference in New Issue
Block a user