Starting with RC2, another patch for drivers/video/fbdev/core/fbcon.h is necessary if soft scrollback code is to be kept
Manjaro reverts the removal of the soft scrollback code by patching drivers/video/fbdev/core/fbcon.c
- see 0303-revert-fbcon-remove-soft-scrollback-code.patch
.
Meanwhile, there was some more code related to this topic removed from the kernel sources which causes compilation of this Manjaro package to fail.
If you still consider it reasonable to add this soft scrollback code back into the kernel, you will have to additionally patch drivers/video/fbdev/core/fbcon.h
as follows:
--- a/drivers/video/fbdev/core/fbcon.h 2021-11-21 22:47:39.000000000 +0100
+++ b/drivers/video/fbdev/core/fbcon.h 2021-11-22 14:07:44.516247994 +0100
@@ -29,6 +29,7 @@
/* Filled in by the low-level console driver */
const u_char *fontdata;
int userfont; /* != 0 if fontdata kmalloc()ed */
+ u_short scrollmode; /* Scroll Method */
u_short inverse; /* != 0 text black on white as default */
short yscroll; /* Hardware scrolling */
int vrows; /* number of virtual rows */
@@ -51,6 +52,8 @@
};
struct fbcon_ops {
+ void (*bmove)(struct vc_data *vc, struct fb_info *info, int sy,
+ int sx, int dy, int dx, int height, int width);
void (*clear)(struct vc_data *vc, struct fb_info *info, int sy,
int sx, int height, int width);
void (*putcs)(struct vc_data *vc, struct fb_info *info,
@@ -149,6 +152,17 @@
#define attr_bgcol_ec(bgshift, vc, info) attr_col_ec(bgshift, vc, info, 0)
#define attr_fgcol_ec(fgshift, vc, info) attr_col_ec(fgshift, vc, info, 1)
+#define SCROLL_MOVE 0x001
+#define SCROLL_PAN_MOVE 0x002
+#define SCROLL_WRAP_MOVE 0x003
+#define SCROLL_REDRAW 0x004
+#define SCROLL_PAN_REDRAW 0x005
#ifdef CONFIG_FB_TILEBLITTING
extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
#endif