mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
kms: flush cs on close screen.
this is needed for server recycle. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -543,6 +543,9 @@ static Bool RADEONCloseScreen_KMS(int scrnIndex, ScreenPtr pScreen)
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
|
||||
"RADEONCloseScreen\n");
|
||||
|
||||
if (info->cs)
|
||||
radeon_cs_flush_indirect(pScrn);
|
||||
|
||||
if (info->accel_state->exa) {
|
||||
exaDriverFini(pScreen);
|
||||
xfree(info->accel_state->exa);
|
||||
|
||||
Reference in New Issue
Block a user