mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
radeon_kms.c: do not flush glamor operations for a closed screen
The function radeon_cs_flus_indirect() attempts to flush radeon operations, which have already been flushed by glamor_close_screen(). This results in a segfault. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
This commit is contained in:
committed by
Enrico Weigelt
parent
1fa0787cd4
commit
aefc66b389
@@ -107,7 +107,7 @@ void radeon_cs_flush_indirect(ScrnInfoPtr pScrn)
|
||||
|
||||
#ifdef USE_GLAMOR
|
||||
if (info->use_glamor) {
|
||||
glamor_block_handler(pScrn->pScreen);
|
||||
/* Pending operations have already been flushed in glamor_close_screen() */
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user