Page MenuHomeFreeBSD

Fix libdrm to accurately report if kms is available
ClosedPublic

Authored by rezny on Feb 15 2017, 9:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 13 2024, 3:51 AM
Unknown Object (File)
Feb 2 2024, 5:22 PM
Unknown Object (File)
Dec 28 2023, 5:20 PM
Unknown Object (File)
Dec 20 2023, 2:32 AM
Unknown Object (File)
Nov 27 2023, 1:18 AM
Unknown Object (File)
Nov 5 2023, 7:47 PM
Unknown Object (File)
Nov 3 2023, 4:02 AM
Unknown Object (File)
Sep 5 2023, 10:29 PM
Subscribers

Details

Summary

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

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
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.

Approved

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.