Doug Buxton wrote:
I'm a new to the XFree86 sources, so I was hoping someone could give some suggestions as to where to start looking. Is there an existing mechanism for changing drm drivers, or restarting drm without restarting X entirely? I'm trying to find a way to make X gracefully handle changing the drm module. Right now when I disable the kernel module X either hangs (until I reactivate the module) or crashes, depending on whether I'm using the distrubution version of XFree86 or the one that I downloaded and compiled.

There was once (is still?) a patch around for the Radeon / R200 driver that allowed this. The mechanism was that the user could switch to a virtual terminal, rmmod the kernel driver, copy an different driver /lib/modules/..., insmod the new driver (this step may not have been required), and return back to X. Like I said, the Radeon & R200 were the *only* drivers that supported this.


In principle, it should be possible to do this with most of the drivers, but there are a few corner cases where you have to be careful. As 3D on XFree86 becomes more ubiquitous, having drivers that can do this will be a better and better idea.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to