aboutsummaryrefslogtreecommitdiffstats
path: root/drmtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-27 15:40:54 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-27 15:40:54 +0100
commit89dae63a0d2a084ff3f3efc933b79fb8dd715b75 (patch)
treec4f1e4ee68cb7f3dabd171b10b0929e16fc527ed /drmtools.c
parentcf6e8218bab44447c6916dfd924e41de30beb8cb (diff)
downloadfbida-89dae63a0d2a084ff3f3efc933b79fb8dd715b75.tar.gz
even more logind console switching
Diffstat (limited to 'drmtools.c')
-rw-r--r--drmtools.c2
1 files changed, 1 insertions, 1 deletions
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)