[PATCH] vgacon: unconfuse vc_origin when using soft scrollback

2019-01-20 Thread Nicolas Pitre
When CONFIG_VGACON_SOFT_SCROLLBACK is selected, the VGA display memory index and vc_visible_origin don't change when scrollback is activated. The actual screen content is saved away and the scrollbackdata is copied over it. However the vt code, and /dev/vcs devices in particular, still expect vc_or

Re: [PATCH] vgacon: unconfuse vc_origin when using soft scrollback

2019-01-10 Thread Nicolas Pitre
sed patch to quiet a warning: And of course I forgot to commit and reposted the same patch with the missing cast. So here it is again: - >8 Subject: [PATCH] vgacon: unconfuse vc_origin when using soft scrollback When CONFIG_VGACON_SOFT_SCROLLBACK is selected, the VGA display memory inde

Re: [PATCH] vgacon: unconfuse vc_origin when using soft scrollback

2019-01-10 Thread Nicolas Pitre
vt code is just a frigging mess of integer variables and pointer variables referring to the same thing. It is therefore littered with casts all over the place. And of course I missed one in this patch. Here's a revised patch to quiet a warning: ----- >8 Subject: [PA

[PATCH] vgacon: unconfuse vc_origin when using soft scrollback

2019-01-10 Thread Nicolas Pitre
When CONFIG_VGACON_SOFT_SCROLLBACK is selected, the VGA display memory index and vc_visible_origin don't change when scrollback is activated. The actual screen content is saved away and the scrollbackdata is copied over it. However the vt code, and /dev/vcs devices in particular, still expect vc_or