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)
Wed, Aug 26, 6:36 PM
Unknown Object (File)
Wed, Aug 26, 6:24 PM
Unknown Object (File)
Wed, Aug 26, 6:21 PM
Unknown Object (File)
Fri, Aug 21, 10:51 AM
Unknown Object (File)
Mon, Aug 10, 9:49 AM
Unknown Object (File)
Mon, Aug 10, 9:49 AM
Unknown Object (File)
Mon, Aug 10, 7:53 AM
Unknown Object (File)
Tue, Aug 4, 7:49 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
Lint Not Applicable
Unit
Tests Not Applicable