projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2716a02
)
drm: move drm_mem_init to proper place in startup sequence
author
Dave Airlie
<airlied@linux.ie>
Thu, 22 Nov 2007 08:43:46 +0000
(18:43 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 7 Feb 2008 05:09:39 +0000
(15:09 +1000)
For TTM this needs to be called later.
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_drv.c
patch
|
blob
|
history
diff --git
a/drivers/char/drm/drm_drv.c
b/drivers/char/drm/drm_drv.c
index fc6e7646cd61c06d63b914b4a262a7fd975e8915..d29d7ed91bdd8d62702d61b69e216cb475352107 100644
(file)
--- a/
drivers/char/drm/drm_drv.c
+++ b/
drivers/char/drm/drm_drv.c
@@
-255,8
+255,6
@@
int drm_init(struct drm_driver *driver)
DRM_DEBUG("\n");
- drm_mem_init();
-
for (i = 0; driver->pci_driver.id_table[i].vendor != 0; i++) {
pid = (struct pci_device_id *)&driver->pci_driver.id_table[i];
@@
-383,6
+381,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);
return 0;