mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-19 08:56:27 -05:00
DRM resource initalisation
This commit is contained in:
parent
601bbad5d8
commit
7b772e1a4b
5 changed files with 238 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
/*
|
||||
* These types contain the property ids for several DRM objects.
|
||||
* See https://01.org/linuxgraphics/gfx-docs/drm/drm-kms-properties.html
|
||||
* See https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-kms.html#kms-properties
|
||||
* for more details.
|
||||
*/
|
||||
|
||||
|
|
@ -56,4 +56,7 @@ bool wlr_drm_get_connector_props(int fd, uint32_t id, union wlr_drm_connector_pr
|
|||
bool wlr_drm_get_crtc_props(int fd, uint32_t id, union wlr_drm_crtc_props *out);
|
||||
bool wlr_drm_get_plane_props(int fd, uint32_t id, union wlr_drm_plane_props *out);
|
||||
|
||||
bool wlr_drm_get_prop(int fd, uint32_t obj, uint32_t prop, uint64_t *ret);
|
||||
void *wlr_drm_get_prop_blob(int fd, uint32_t obj, uint32_t prop, size_t *ret_len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue