From 8ccb4bbb5f6e196f14e3da275e310ebd7e2942e3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 6 Apr 2021 18:11:18 +0200 Subject: 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. --- backend/drm/drm.c | 3 --- 1 file changed, 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"); -- cgit v1.2.3