From a1603042895e250f37961623f0fba17edd37031d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 2 Feb 2023 13:41:40 +0100 Subject: backend/drm: use libdisplay-info for CVT mode generation --- include/backend/drm/cvt.h | 13 ------------- include/backend/drm/util.h | 2 ++ 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 include/backend/drm/cvt.h (limited to 'include/backend/drm') diff --git a/include/backend/drm/cvt.h b/include/backend/drm/cvt.h deleted file mode 100644 index 34db5384..00000000 --- a/include/backend/drm/cvt.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef BACKEND_DRM_CVT_H -#define BACKEND_DRM_CVT_H - -#include -#include -#include -#include -#include - -void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay, - float vrefresh, bool reduced, bool interlaced); - -#endif 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 { -- cgit v1.2.3