aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 3340d424..6b6e49a6 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -630,10 +630,14 @@ static bool drm_connector_export_dmabuf(struct wlr_output *output,
struct wlr_drm_backend *drm = conn->backend;
struct wlr_drm_crtc *crtc = conn->crtc;
+ if (drm->parent) {
+ // We don't keep track of the original buffer on the parent GPU when
+ // using multi-GPU.
+ return false;
+ }
if (!drm->session->active) {
return false;
}
-
if (!crtc) {
return false;
}