After calling drm_sman_cleanup, mark both heaps as uninitialized.
Since the heaps weren't marked as uninitialized, SG memory was never re-allocated. This prevented the X-server from being able to restart without re-loading the kernel module.main
parent
06e09842df
commit
20a0e5e429
|
@ -301,6 +301,9 @@ void xgi_driver_lastclose(struct drm_device * dev)
|
|||
if (info->fb_heap_initialized
|
||||
|| info->pcie_heap_initialized) {
|
||||
drm_sman_cleanup(&info->sman);
|
||||
|
||||
info->fb_heap_initialized = FALSE;
|
||||
info->pcie_heap_initialized = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue