drm_mem_init should be done at core load, not driver init

main
Jon Smirl 2005-06-09 13:22:12 +00:00
parent 9f2f010763
commit 1252890ff1
1 changed files with 2 additions and 2 deletions

View File

@ -314,8 +314,6 @@ int drm_init(struct drm_driver *driver,
DRM_DEBUG("\n");
drm_mem_init();
for (i = 0; (pciidlist[i].vendor != 0) && !drm_fb_loaded; i++) {
pid = &pciidlist[i];
@ -518,6 +516,8 @@ static int __init drm_core_init(void)
goto err_p3;
}
drm_mem_init();
DRM_INFO("Initialized %s %d.%d.%d %s\n",
CORE_NAME,
CORE_MAJOR, CORE_MINOR, CORE_PATCHLEVEL, CORE_DATE);