mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: use libdisplay-info for CVT mode generation
This commit is contained in:
parent
35da997001
commit
a160304289
6 changed files with 38 additions and 285 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#ifndef BACKEND_DRM_CVT_H
|
||||
#define BACKEND_DRM_CVT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <xf86drmMode.h>
|
||||
|
||||
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
|
||||
float vrefresh, bool reduced, bool interlaced);
|
||||
|
||||
#endif
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue