Hi all,

please review:
http://freedesktop.org/~airlied/drm_pci_mods.diff

This patch starts importing some of Jon Smirls work to the DRM tree, it is
2.6 only at the moment, I'll fix 2.4 for checkin...

It makes the DRM use the Linux PCI code, and is a first step on the way to
hotplug support...

differences between what Jon submitted and this are:
a) Jon's code was horribly broken with respect to the fb drivers
especially over repeated loading/unloading cycles, it would ooops a lot,
I've fixed it up to check if a driver is registered for the devices before
registering one, if a driver is registered it falls back to the old
methods, if not it registers one,
b) proper old style cleanup code
c) couple of checks for fb_loaded to avoid breaking the fb driver...

I've only tested this with my radeon 7500 so far but it seems to work,
I'll give it some more testing and 2.4 attempts later..

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to