aboutsummaryrefslogtreecommitdiffstats
path: root/drmtools.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-27 12:43:04 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-27 12:43:04 +0100
commit437f8e7a66a36054862b2cca8cbe475796704303 (patch)
treee68e14f8a45a81762dd9dba12e904dc5c78b4f3b /drmtools.h
parent559ed303bd98f35bf46eb90958088bce90384c25 (diff)
downloaddrminfo-437f8e7a66a36054862b2cca8cbe475796704303.tar.gz
property and plane type bits
Diffstat (limited to 'drmtools.h')
-rw-r--r--drmtools.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drmtools.h b/drmtools.h
index 3934375..f95b4fa 100644
--- a/drmtools.h
+++ b/drmtools.h
@@ -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);