aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/util.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-02 13:41:40 +0100
committerAlexander Orzechowski <alex@ozal.ski>2023-02-28 14:44:02 +0000
commita1603042895e250f37961623f0fba17edd37031d (patch)
treeb8000136583ca2ebb5462f3a94fae5e0f99f2a45 /include/backend/drm/util.h
parent35da9970019be6580394d5d6234b8ede0b2f0d5a (diff)
backend/drm: use libdisplay-info for CVT mode generation
Diffstat (limited to 'include/backend/drm/util.h')
-rw-r--r--include/backend/drm/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h
index 12eec35c..254f774d 100644
--- a/include/backend/drm/util.h
+++ b/include/backend/drm/util.h
@@ -15,6 +15,8 @@ const char *get_pnp_manufacturer(const char code[static 3]);
// Populates the make/model/phys_{width,height} of output from the edid data
void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data);
const char *drm_connector_status_str(drmModeConnection status);
+void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
+ float vrefresh);
// Part of match_obj
enum {