diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-15 13:35:10 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-15 13:35:10 +0200 |
commit | b682cc8ce12204a94891c5efc3265ee3c15ec966 (patch) | |
tree | 631155c7cdfaf2c9d1f970daf19e0d6db12bb434 /drmtools.h | |
parent | cb0ab87935c13c6d3e642b7ce0dc8d9a1f739b8e (diff) | |
download | drminfo-b682cc8ce12204a94891c5efc3265ee3c15ec966.tar.gz |
move code to drmtools.c
Diffstat (limited to 'drmtools.h')
-rw-r--r-- | drmtools.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -22,3 +22,15 @@ bool drm_probe_format(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); + +/* ------------------------------------------------------------------ */ + +extern int fd; +extern uint32_t fb_id; +extern drmModeConnector *conn; +extern drmModeModeInfo *mode; + +void drm_init_dev(int devnr, const char *output, + const char *modename, bool need_dumb); +void drm_fini_dev(void); +void drm_show_fb(void); |