Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
VDISPLAY::card_broker::card_t Struct Reference

A card the broker created, and the device nodes it was given. More...

#include <src/platform/linux/card_broker.h>

Public Attributes

std::string name
 configfs group name, needed to remove it again.
std::string card_path
 /dev/dri/cardN, root-only and reached through the seat broker.
std::string render_node_path
 /dev/dri/renderDN, owned by this user once udev has run.

Detailed Description

A card the broker created, and the device nodes it was given.

The paths come from the driver rather than from udev, so they are known before any rule has run. The render node is not necessarily openable yet: 92-hermes-kms-access.rules turns the card's access_uid into ownership of that node, and that happens on udev's schedule.

Definition at line 22 of file card_broker.h.

Member Data Documentation

◆ card_path

std::string VDISPLAY::card_broker::card_t::card_path

/dev/dri/cardN, root-only and reached through the seat broker.

Definition at line 24 of file card_broker.h.

◆ name

std::string VDISPLAY::card_broker::card_t::name

configfs group name, needed to remove it again.

Definition at line 23 of file card_broker.h.

◆ render_node_path

std::string VDISPLAY::card_broker::card_t::render_node_path

/dev/dri/renderDN, owned by this user once udev has run.

Definition at line 25 of file card_broker.h.


The documentation for this struct was generated from the following file: