aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_drv.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-01 01:22:38 -0500
committerDave Airlie <airlied@redhat.com>2010-03-01 01:22:38 -0500
commit1c62233508ef7104f8a78e571fdf5c72d0dc0200 (patch)
tree31e19cbff5c1080d3015d20b24dd43ee95f4ed8c /drivers/gpu/drm/radeon/radeon_drv.c
parent6d9c13513661c1991bf5f4e6e1363c721292d819 (diff)
parent6a9ee8af344e3bd7dbd61e67037096cdf7f83289 (diff)
Merge branch 'gpu-switcher' of /ssd/git//linux-2.6 into drm-next-stage
* 'gpu-switcher' of /ssd/git//linux-2.6: vga_switcheroo: initial implementation (v15) fb: for framebuffer handover don't exit the loop early. Conflicts: drivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/radeon/Makefile drivers/gpu/drm/radeon/radeon.h
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index be99d4e55a3..f6456e02d1f 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -343,6 +343,7 @@ static int __init radeon_init(void)
343 driver = &kms_driver; 343 driver = &kms_driver;
344 driver->driver_features |= DRIVER_MODESET; 344 driver->driver_features |= DRIVER_MODESET;
345 driver->num_ioctls = radeon_max_kms_ioctl; 345 driver->num_ioctls = radeon_max_kms_ioctl;
346 radeon_register_atpx_handler();
346 } 347 }
347 /* if the vga console setting is enabled still 348 /* if the vga console setting is enabled still
348 * let modprobe override it */ 349 * let modprobe override it */
@@ -352,6 +353,7 @@ static int __init radeon_init(void)
352static void __exit radeon_exit(void) 353static void __exit radeon_exit(void)
353{ 354{
354 drm_exit(driver); 355 drm_exit(driver);
356 radeon_unregister_atpx_handler();
355} 357}
356 358
357module_init(radeon_init); 359module_init(radeon_init);