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
Unknown Object (File)
Dec 27 2024, 10:32 AM
Unknown Object (File)
Dec 13 2024, 10:14 PM
Unknown Object (File)
Dec 1 2024, 12:41 PM
Unknown Object (File)
Nov 19 2024, 3:06 AM
Unknown Object (File)
Nov 18 2024, 2:38 AM
Unknown Object (File)
Nov 18 2024, 1:49 AM
Unknown Object (File)
Oct 28 2024, 7:05 AM
Unknown Object (File)
Oct 23 2024, 9:05 PM

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
Lint Not Applicable
Unit
Tests Not Applicable