[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: radeonkms kernel module are not loaded automatically



On 03/12/2013 14:24, Steven Chamberlain wrote:
> This is probably why Konstantin's sysctl checks are a good idea, and
> the radeonkms module should try to implement them.  Otherwise, there's
> no proper fallback.,

Well, this was simpler than I thought.

Please can you test?

-- 
Robert Millan
Index: radeon/radeon_drv.c
===================================================================
--- radeon/radeon_drv.c	(revision 258889)
+++ radeon/radeon_drv.c	(working copy)
@@ -367,6 +367,7 @@
 	.irq_postinstall = radeon_driver_irq_postinstall_kms,
 	.irq_uninstall = radeon_driver_irq_uninstall_kms,
 	.irq_handler = radeon_driver_irq_handler_kms,
+	.sysctl_init = drm_add_busid_modesetting,
 	.ioctls = radeon_ioctls_kms,
 	.gem_init_object = radeon_gem_object_init,
 	.gem_free_object = radeon_gem_object_free,

Reply to: