aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm/util.h')
-rw-r--r--include/backend/drm/util.h1
1 files changed, 1 insertions, 0 deletions
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);