diff options
author | 2010-03-09 10:56:52 +1000 | |
---|---|---|
committer | 2010-08-04 09:46:06 +1000 | |
commit | ba4420c224c2808f2661cf8428f43ceef7a73a4a (patch) | |
tree | 67b32498483c797c76e8f504a83746bdef35db7d /drivers/gpu/drm/drm_drv.c | |
parent | drm/radeon/kms: make sure HPD is set to NONE on analog-only connectors (diff) | |
download | linux-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.gz linux-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.bz2 linux-ba4420c224c2808f2661cf8428f43ceef7a73a4a.zip |
drm: move ttm global code to core drm
I wrote this for the prime sharing work, but I also noticed other external
non-upstream drivers from a large company carrying a similiar patch, so I
may as well ship it in master.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index b5a51686f492..d5b349d279f5 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -288,6 +288,7 @@ static int __init drm_core_init(void) { int ret = -ENOMEM; + drm_global_init(); idr_init(&drm_minors_idr); if (register_chrdev(DRM_MAJOR, "drm", &drm_stub_fops)) |