From 0cabc83046474618b9ed619649b819dc7ef23d28 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 5 Sep 2022 16:56:47 +0200 Subject: backend/drm: pass through mode picture aspect ratio --- include/backend/drm/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h index fc632e12..0d4c3d74 100644 --- a/include/backend/drm/util.h +++ b/include/backend/drm/util.h @@ -9,6 +9,7 @@ struct wlr_drm_connector; // Calculates a more accurate refresh rate (mHz) than what mode itself provides int32_t calculate_refresh_rate(const drmModeModeInfo *mode); +enum wlr_output_mode_aspect_ratio get_picture_aspect_ratio(const drmModeModeInfo *mode); // 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); -- cgit v1.2.3