Bug#732514: [PATCH] fixes for Radeon KMS on kFreeBSD

Robert Millan rmh at debian.org
Wed Dec 18 12:40:21 PST 2013


reassign 732514 xserver-xorg-video-radeon
thanks

On 18/12/2013 13:31, Robert Millan wrote:
> Package: xserver-xorg-video-ati
> Version: 7.2.0-1
> Tags: patch
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
> 
> Hi,
> 
> Please consider this set of fixes for KMS support on kFreeBSD:
> 
> - Load "radeonkms" module instead of "radeon".

Actually, this was done at the wrong place. The first argument to
drmOpen() call is a red herring. It's supposed to load a kernel module,
but unless the module is already loaded this code is never reached
because drmCheckModesettingSupported() failure is treated as an
abort condition.

Please use this patch instead. This makes it load the module when
drmCheckModesettingSupported() fails, and then try the check again.

This is inspired by similar approach in intel driver (see
src/intel_device.c).

I'll submit it upstream as well.

-- 
Robert Millan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radeonkms.diff
Type: text/x-patch
Size: 1535 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20131218/5a13027e/attachment.bin>


More information about the xorg-driver-ati mailing list