Page MenuHomeFreeBSD

drm(old): Remove i915 and radeon drivers
ClosedPublic

Authored by dumbbell on Mar 11 2016, 9:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 7:16 AM
Unknown Object (File)
Thu, Oct 31, 3:15 PM
Unknown Object (File)
Thu, Oct 31, 2:54 PM
Unknown Object (File)
Oct 21 2024, 9:09 AM
Unknown Object (File)
Oct 3 2024, 4:23 PM
Unknown Object (File)
Oct 2 2024, 8:01 AM
Unknown Object (File)
Oct 1 2024, 7:27 PM
Unknown Object (File)
Sep 29 2024, 11:02 PM
Subscribers

Details

Summary

They cannot be used anymore with the userland bits we provide. Furthermore, their KMS versions support the same hardware.

I have no idea if the other old DRM drivers can be used, so I don't touch them.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2865
Build 2889: arc lint + arc unit

Event Timeline

dumbbell retitled this revision from to drm(old): Remove i915 and radeon drivers.
dumbbell updated this object.
dumbbell edited the test plan for this revision. (Show Details)
dumbbell added reviewers: emaste, kib, kwm, zeising.
emaste edited edge metadata.

This is fine with me. We can consider the other "old drm" drivers separately but I don't see any value in keeping two copies of i915 and radeon.

This revision is now accepted and ready to land.Mar 11 2016, 9:33 PM

As I pointed out in some other mail, that drivers allow to execute (quite) old userspace X on recent versions. E.g. gen2/gen3 Intel GPUs are untested on drm2, I saw some users doing something with Thinkpads T60 still.

This is not an objection against removing the dev/drm completely, since I believe that e.g. pre-radeon ATI cards (Mach etc) or Sis or whatever else of PCI/AGP kind are already physically decayed.

The intel dri1 drm driver can go, it would need an older DDX to be of any use afaik. drm2/intelkms work well enough on Gen3, it's the newest Intel platform I have access to for testing Mesa and Xorg updates and I expect Gen2 would be the same. It is just Gen1 that still has UMS support in the current DDX and that is unaccelerated on current Xorg because it relies on XAA.

Removal of the radeon dri1 driver may be a bit premature at this time given we do not yet have radeonkms working on any tier2, although someone mentions getting close in a recent ML thread. I have been trying to get the old ati-ums driver working with current Xorg for the benefit of tier2s until radeonkms is working on more than just x86. Even if we can get radeonkms running on powerpc64, there is still a use for old radeon on powerpc(32) as it lacks 64bit atomics that are needed by radeonkms.

The rest of the dri1 drivers should stay to support the video hardware from other than the Big3. To make actual use of them requires userland drivers not present since Mesa 8. I intend to provide the older drivers from Mesa 7.11 in a port (mesa-drivers-legacy/dri1) that co-exists with current drivers and uses same libs. Some of the hardware that has dri1 drivers does not have 2D acceleration in Xorg > 1.12 due to the removal of XAA, so a legacy Xorg would be required to have both 2D and 3D acceleration. Unfortunately, my previous offer for a xorg-server-legacy was turned down due to concerns over dependency handling until such time we have provide/requires or some other mechanism to allow xorg-server-legacy provide xorg-server. Ultimately, I would like to update the dri1 drivers such that we can use a single current shared drm for the old dri1 drivers and the new kms drivers, but I jave more work to do in userland before I stick my nose in the kernel.

P.S. I have a collection of video cards with dri1 support and the hardware has not physically decayed. On the contrary, they have held up quite well while some of the more recent cards have cooked themselves (popped caps, bad solder joints, etc).

This revision was automatically updated to reflect the committed changes.