aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-07 12:08:26 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-12 15:12:22 +0200
commit51bbf31742a9317f20148b0eeb886b7cad23b81b (patch)
tree572e94aa7ceea5024beada687b20638393ca3331 /backend/drm
parent9412d34e2dc1d8b034e117950ede1424dc0f243c (diff)
backend/drm: print error in set_plane_props
This makes it easier to understand which plane failed.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/atomic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c
index 189ad0a1..f58a5b72 100644
--- a/backend/drm/atomic.c
+++ b/backend/drm/atomic.c
@@ -142,6 +142,7 @@ static void set_plane_props(struct atomic *atom, struct wlr_drm_backend *drm,
return;
error:
+ wlr_log(WLR_ERROR, "Failed to set plane %"PRIu32" properties", plane->id);
atom->failed = true;
}