aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/util.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-05-26 17:38:35 +0300
committerDrew DeVault <sir@cmpwn.com>2019-06-07 09:06:11 -0400
commite8057bb60c4666d73ec776fa8f37ef4858c18fbe (patch)
tree9991222b4ad312ccaaf0a702788d188869ebe871 /include/backend/drm/util.h
parente07ffaa2493eb205d4ff3b3f042c43420e2012fe (diff)
backend/drm: fallback to drmModeAddFB2
Diffstat (limited to 'include/backend/drm/util.h')
-rw-r--r--include/backend/drm/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h
index 2491e703..2d9d11f4 100644
--- a/include/backend/drm/util.h
+++ b/include/backend/drm/util.h
@@ -14,7 +14,8 @@ void parse_edid(struct wlr_output *restrict output, size_t len,
// Returns the string representation of a DRM output type
const char *conn_get_name(uint32_t type_id);
// Returns the DRM framebuffer id for a gbm_bo
-uint32_t get_fb_for_bo(struct gbm_bo *bo, uint32_t drm_format);
+uint32_t get_fb_for_bo(struct gbm_bo *bo, uint32_t drm_format,
+ bool with_modifiers);
// Part of match_obj
enum {