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
F171445894: D59190.id185176.diff
Fri, Sep 11, 4:15 AM
F171394740: D59190.diff
Thu, Sep 10, 9:47 PM
Unknown Object (File)
Wed, Sep 9, 9:29 PM
Unknown Object (File)
Wed, Sep 9, 1:55 PM
Unknown Object (File)
Wed, Sep 9, 10:38 AM
Unknown Object (File)
Tue, Sep 8, 12:35 PM
Unknown Object (File)
Tue, Sep 8, 4:35 AM
Unknown Object (File)
Tue, Sep 8, 1:39 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