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
F169459780: D59190.id.diff
Tue, Sep 1, 2:37 PM
F169407310: D59190.diff
Tue, Sep 1, 11:15 AM
Unknown Object (File)
Mon, Aug 31, 10:49 AM
Unknown Object (File)
Sun, Aug 30, 11:22 PM
Unknown Object (File)
Sun, Aug 30, 1:08 PM
Unknown Object (File)
Sun, Aug 30, 6:36 AM
Unknown Object (File)
Sun, Aug 30, 2:18 AM
Unknown Object (File)
Sat, Aug 29, 1:51 AM
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 76197
Build 73080: arc lint + arc unit