Page MenuHomeFreeBSD

linux: Exposes renderD nodes and chardev in sysfs
Needs ReviewPublic

Authored by aokblast on Wed, Aug 26, 7:08 AM.
Tags
None
Referenced Files
F171917795: D59190.diff
Mon, Sep 14, 2:05 PM
F171842024: D59190.diff
Sun, Sep 13, 11:54 PM
Unknown Object (File)
Sat, Sep 12, 8:32 PM
Unknown Object (File)
Sat, Sep 12, 8:32 PM
Unknown Object (File)
Fri, Sep 11, 6:01 PM
Unknown Object (File)
Fri, Sep 11, 9:08 AM
Unknown Object (File)
Fri, Sep 11, 4:15 AM
Unknown Object (File)
Thu, Sep 10, 9:47 PM
Subscribers

Details

Reviewers
khng
Group Reviewers
linuxkpi
Summary

To allow normal users to render through the render device, we expose the
renderD node. This enables Wayland applications to use hardware
acceleration when running under the Linux emulator.

Additionally, libdrm and Mesa need to look up
/sys/dev/char/<major>:<minor> to identify the corresponding renderer
device (e.g., a renderD device). We expose this path as well so that
libdrm can locate the renderer.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76184
Build 73067: arc lint + arc unit