[RFC] non-root X

Jesse Barnes jbarnes at virtuousgeek.org
Wed Jul 1 14:01:40 PDT 2009


On Wed, 1 Jul 2009 13:15:03 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> So this small patch is all that's necessary on the X side (the DRM
> patch is trivial, and half of it has already been posted to
> dri-devel). It's a big hackish, so I'm just requesting comments at
> this point.  I'd like to do the -nohwaccess part better, but think
> doing it well will require a driver ABI change (maybe just a new
> flags field that indicates whether the driver needs I/O ports
> enabled, or we can push the xf86EnableIO call into drivers as needed).

Dave brought up a couple of good points:
  - there's an early driver call, GET_REQUIRED_HW_INTERFACES, that
    could be used to indicate that I/O space isn't needed (saw this but
    forgot about it when I wrote the mail); it means messing with some
    early driver code, but that should be ok
  - a new KMS bus type might be a good idea, allowing KMS aware drivers
    to be probed early


-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the xorg-devel mailing list