Page MenuHomeFreeBSD

Change libdrm to not check device major ID, it is not always zero
ClosedPublic

Authored by rezny on Mar 14 2017, 2:15 PM.
Tags
None
Referenced Files
F82849981: D10000.diff
Fri, May 3, 4:44 AM
Unknown Object (File)
Fri, Apr 19, 10:58 AM
Unknown Object (File)
Mar 3 2024, 7:33 AM
Unknown Object (File)
Mar 3 2024, 7:31 AM
Unknown Object (File)
Mar 3 2024, 7:31 AM
Unknown Object (File)
Mar 3 2024, 7:05 AM
Unknown Object (File)
Dec 19 2023, 2:02 PM
Unknown Object (File)
Nov 27 2023, 4:07 AM

Details

Summary

Problems some users have had after updating Mesa to v13 have been traced back to libdrm which is responsible for hardware detection. libdrm was patched to use libdevq and assumed the device major ID is 0, but that is apparently not always the case. Credit goes to hps for determining the major ID check as the culprit.

Test Plan

Poudriere 10.3/11.0 amd64/i386 OK, run verified on 11-STABLE amd64, awaiting final confirmation on drm-next kernel

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 8047
Build 8234: arc lint + arc unit