aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-07-15 09:48:29 -0400
committerSimon Ser <contact@emersion.fr>2021-09-08 11:09:07 +0200
commite5a949a9550ad2d6c5aca3c8d0997dbfdca086d5 (patch)
tree4dfba9096dc0380011b970c5d103ccd3bef4ccb8 /include/backend/drm/drm.h
parent42dba9dc906bc9abc248b8d0b834fc580db62ee8 (diff)
backend/drm: implement drm lease function
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index b4e95861..6d70d844 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -37,6 +37,7 @@ struct wlr_drm_plane {
struct wlr_drm_crtc {
uint32_t id;
+ uint32_t lessee_id;
// Atomic modesetting only
uint32_t mode_id;
@@ -119,6 +120,7 @@ struct wlr_drm_connector {
enum wlr_drm_connector_status status;
bool desired_enabled;
uint32_t id;
+ uint32_t lessee_id;
struct wlr_drm_crtc *crtc;
uint32_t possible_crtcs;