Page MenuHomeFreeBSD

Fix libdrm to accurately report if kms is available

Authored by rezny on Feb 15 2017, 9:36 PM.



For reasons unknown, we had a patch in libdrm that made it report kms is always available. That patch is the reason the Intel DDX is not loading the kms driver automatically; it thinks the driver is alreday loaded so it doesn't try. There is similar logic in the ATI driver, but we have a patch adding an unconditional kldload("radeonkms") to compensate, which should be possible to drop after this useless patch is dropped from libdrm.

Test Plan

Poudriere 10.3/11.0 amd64/i386 OK, run tested on 11 amd64 to verify Intel DXX now loads i915kms automatically as expected

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rezny retitled this revision from to Fix libdrm to accurately report if kms is available.
rezny updated this object.
rezny edited the test plan for this revision. (Show Details)
rezny added reviewers: x11, swills, feld.
swills edited edge metadata.


This revision is now accepted and ready to land.Feb 16 2017, 2:22 PM
This revision was automatically updated to reflect the committed changes.