Bug 72852 - [PATCH] restore automated load of radeon kernel module
Summary: [PATCH] restore automated load of radeon kernel module
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-18 22:39 UTC by Robert Millan
Modified: 2013-12-24 02:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (808 bytes, text/plain)
2013-12-18 22:39 UTC, Robert Millan
no flags Details

Description Robert Millan 2013-12-18 22:39:49 UTC
Created attachment 90952 [details]
patch

It seems that current xf86-video-radeon doesn't automatically load the kernel module anymore. This probably happened during the addition of KMS support, which caused drmOpen() call to stop doing this task. More details on that in:

https://bugs.freedesktop.org/show_bug.cgi?id=72849

AFAIK this isn't a big problem on GNU/Linux, because on that platform you expect the kernel module to be loaded much earlier anyway. However on other platforms (such as GNU/kFreeBSD and probably FreeBSD as well), X is expected to load the modules it needs (i.e. noone else will do it for her).

I'm attaching a patch that restores the intended behaviour, however using fallback method like the intel driver does (i.e. if drmCheckModesettingSupported() fails, then try load the module, and then try drmCheckModesettingSupported() again).
Comment 1 Michel Dänzer 2013-12-24 02:14:25 UTC
commit bfbff3b246db509c820df17b8fcf5899882ffcfa
Author: Robert Millan <rmh@freebsd.org>
Date:   Fri Dec 20 11:03:14 2013 +0000

    radeon: Restore kernel module load on FreeBSD.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.