Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [riastradh-drm2] src/sys



   Date: Thu, 30 Jan 2014 15:29:31 +1100
   from: matthew green <mrg%eterna.com.au@localhost>

   > The drm2 `drm' device is now called `drmkms' (likewise `i915drmkms',
   > &c.) so that it can coexist with the old drm code to reduce diffs
   > from HEAD.  (Can't call a device `drm2'.)

   there's probably a way to do this -- see how the current drm code
   used to co-exist with the previous drm code (from sys/dev/drm).

   you couldn't build them into the same kernel, but they were able
   to share the name 'drm' and the major number.

Good point.  I didn't realize that the device-major names are totally
unrelated to the autoconf names.  I don't think there's any harm in
calling the new autoconf device drmkmsN, though, which will help to
distinguish it from the old regime, both in the config files and in
dmesg output.

I will shortly commit some changes to reuse the drm major number and
get rid of the drmkms one.  I think while I'm shuffling this around
I'd also like to take the opportunity to split off the PCI support
properly to make it easier to bring in non-PCI drivers (e.g., omap or
exynos).


Home | Main Index | Thread Index | Old Index