aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm')
-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 52aacf39..42680d74 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -20,7 +20,9 @@ struct wlr_drm_plane {
uint32_t type;
uint32_t id;
+ /* Local if this isn't a multi-GPU setup, on the parent otherwise. */
struct wlr_drm_surface surf;
+ /* Local, only initialized on multi-GPU setups. */
struct wlr_drm_surface mgpu_surf;
/* Buffer to be submitted to the kernel on the next page-flip */