diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-27 12:43:04 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-27 12:43:04 +0100 |
commit | 437f8e7a66a36054862b2cca8cbe475796704303 (patch) | |
tree | e68e14f8a45a81762dd9dba12e904dc5c78b4f3b /drmtools.h | |
parent | 559ed303bd98f35bf46eb90958088bce90384c25 (diff) | |
download | drminfo-437f8e7a66a36054862b2cca8cbe475796704303.tar.gz |
property and plane type bits
Diffstat (limited to 'drmtools.h')
-rw-r--r-- | drmtools.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -19,7 +19,14 @@ const char *drm_connector_type_name(int nr); const char *drm_connector_mode_name(int nr); const char *drm_encoder_type_name(int nr); void drm_conn_name(drmModeConnector *conn, char *dest, int dlen); -bool drm_probe_format(int fd, const struct fbformat *fmt); + +uint64_t drm_get_property_value(int fd, uint32_t id, uint32_t objtype, + const char *name); +bool drm_probe_format_primary(const struct fbformat *fmt); +bool drm_probe_format_cursor(const struct fbformat *fmt); +void drm_plane_init(int fd); + +bool drm_probe_format_fb(int fd, const struct fbformat *fmt); void drm_print_format(FILE *fp, const struct fbformat *fmt, int indent, bool libs); void drm_print_format_hdr(FILE *fp, int indent, bool libs); |