From 89dae63a0d2a084ff3f3efc933b79fb8dd715b75 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 27 Mar 2019 15:40:54 +0100 Subject: even more logind console switching --- drmtools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drmtools.c') diff --git a/drmtools.c b/drmtools.c index 1d2656a..4f9295c 100644 --- a/drmtools.c +++ b/drmtools.c @@ -224,6 +224,7 @@ static int drm_show_fb(struct drmfb *fb) { int rc; + fprintf(stderr, "%s: fb %d\n", __func__, fb->id); rc = drmModeSetCrtc(drm_fd, drm_enc->crtc_id, fb->id, 0, 0, &drm_conn->connector_id, 1, drm_mode); @@ -251,7 +252,6 @@ static void drm_resume_display(void) drm_init_fb(&fb1, drm_fmt, false); if (fb2.mem) drm_init_fb(&fb2, drm_fmt, false); - drm_show_fb(fbc); } static void drm_flush_display(bool second) -- cgit