[Bug 222375] [linux][linsysfs] Support for libdrm/Mesa

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 16 19:56:45 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222375

            Bug ID: 222375
           Summary: [linux][linsysfs] Support for libdrm/Mesa
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: greg at unrelenting.technology

Created attachment 186436
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186436&action=edit
linsysfs_drm.patch

This patch exposes more information about PCI devices (and GPUs in particular)
via linsysfs (and linux_common).

This allows unmodified modern 64-bit Linux libdrm to work, which allows modern
Linux Mesa to work. Tested with an Ubuntu 16.04 chroot + amdgpu from
graphics/drm-next-kmod.

libdrm code that reads these files:
https://cgit.freedesktop.org/mesa/drm/tree/xf86drm.c?id=libdrm-2.4.83

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list