diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-07-20 20:51:59 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-08-06 15:49:02 +1200 |
commit | 7b772e1a4b8c7a06fbcf0ec57766af3a5384bf0c (patch) | |
tree | ae172598a5a8b8e20a61054475f0a16b02f28fa1 /backend/drm/drm-properties.h | |
parent | 601bbad5d83387336028c5a721e8e85fccbbf844 (diff) |
DRM resource initalisation
Diffstat (limited to 'backend/drm/drm-properties.h')
-rw-r--r-- | backend/drm/drm-properties.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/drm/drm-properties.h b/backend/drm/drm-properties.h index 99791958..287fc1e0 100644 --- a/backend/drm/drm-properties.h +++ b/backend/drm/drm-properties.h @@ -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 |