From 8442144fe582ab38985378cf21ca88de1594b5df Mon Sep 17 00:00:00 2001 From: Jann Horn Date: Sun, 8 Mar 2020 18:15:11 +0100 Subject: [PATCH] FOR TESTING ONLY: tell us which fbcon implementation is used --- drivers/tty/vt/vt.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 0cfbb7182b5a..b3dd44802208 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -4590,7 +4590,7 @@ static int con_font_copy(struct vc_data *vc, struct console_font_op *op) { int con = op->height; int rc; - + static void *LAST; console_lock(); if (vc->vc_mode != KD_TEXT) @@ -4601,8 +4601,14 @@ static int con_font_copy(struct vc_data *vc, struct console_font_op *op) rc = -ENOTTY; else if (con == vc->vc_num) /* nothing to do */ rc = 0; - else + else { + if (LAST != vc->vc_sw) { + pr_warn("con_font_copy(): vc_sw=%pS, vc_sw->con_font_copy=%pS\n", + vc->vc_sw, vc->vc_sw->con_font_copy); + LAST = vc->vc_sw; + } rc = vc->vc_sw->con_font_copy(vc, con); + } console_unlock(); return rc; } base-commit: 63623fd44972d1ed2bfb6e0fb631dfcf547fd1e7 -- 2.25.1.481.gfbce0eb801-goog