aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-06 18:11:18 +0200
committerSimon Ser <contact@emersion.fr>2021-04-06 20:35:15 +0200
commit8ccb4bbb5f6e196f14e3da275e310ebd7e2942e3 (patch)
tree3a21948f1c0a26012c010a0507d4201286f4a74b /backend
parentd0bf750916099d89b94bf09c2b2c980aa9b0faef (diff)
backend/drm: stop testing for buffer in drm_connector_commit_buffer
We now do the test in drm_connector_test, called from drm_connector_commit.
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index b1be7c8c..cc6fccaa 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -467,9 +467,6 @@ static bool drm_connector_commit_buffer(struct wlr_output *output) {
break;
case WLR_OUTPUT_STATE_BUFFER_SCANOUT:;
struct wlr_buffer *buffer = output->pending.buffer;
- if (!test_buffer(conn, output->pending.buffer)) {
- return false;
- }
if (!drm_fb_import(&plane->pending_fb, drm, buffer,
&crtc->primary->formats)) {
wlr_log(WLR_ERROR, "Failed to import buffer");