aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Claudio Suarez <cssk@net-c.es> 2021-09-30 17:10:26 +0200
committerGravatar Thomas Zimmermann <tzimmermann@suse.de> 2021-10-13 15:29:23 +0200
commitb3ec8cdf457e5e63d396fe1346cc788cf7c1b578 (patch)
treefc36618fefda6bbe47e46a59e20f2e1744fdf78e /Documentation
parentdrm/locking: add backtrace for locking contended locks without backoff (diff)
downloadlinux-b3ec8cdf457e5e63d396fe1346cc788cf7c1b578.tar.gz
linux-b3ec8cdf457e5e63d396fe1346cc788cf7c1b578.tar.bz2
linux-b3ec8cdf457e5e63d396fe1346cc788cf7c1b578.zip
fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)
Scroll acceleration is disabled in fbcon by hard-wiring p->scrollmode = SCROLL_REDRAW. Remove the obsolete code in fbcon.c and fbdev/core/ Signed-off-by: Claudio Suarez <cssk@net-c.es> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/YVXTYqszZix9TxjJ@gineta.localdomain
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gpu/todo.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 6613543955e9..60d1d7ee0719 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -314,16 +314,19 @@ Level: Advanced
Garbage collect fbdev scrolling acceleration
--------------------------------------------
-Scroll acceleration is disabled in fbcon by hard-wiring p->scrollmode =
-SCROLL_REDRAW. There's a ton of code this will allow us to remove:
+Scroll acceleration has been disabled in fbcon. Now it works as the old
+SCROLL_REDRAW mode. A ton of code was removed in fbcon.c and the hook bmove was
+removed from fbcon_ops.
+Remaining tasks:
-- lots of code in fbcon.c
-
-- a bunch of the hooks in fbcon_ops, maybe the remaining hooks could be called
+- a bunch of the hooks in fbcon_ops could be removed or simplified by calling
directly instead of the function table (with a switch on p->rotate)
- fb_copyarea is unused after this, and can be deleted from all drivers
+- after that, fb_copyarea can be deleted from fb_ops in include/linux/fb.h as
+ well as cfb_copyarea
+
Note that not all acceleration code can be deleted, since clearing and cursor
support is still accelerated, which might be good candidates for further
deletion projects.