drm/docs: Fix todo.rst

I didnt' format the thing correctly :-(

Fixes: 39aead8373 ("fbcon: Disable accelerated scrolling")
Reviewed-by: Simon Ser <contact@emersion.fr>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201118073637.597206-1-daniel.vetter@ffwll.ch
This commit is contained in:
Daniel Vetter
2020-11-18 08:36:37 +01:00
parent 94ffd9b862
commit fa388231fe

View File

@@ -297,9 +297,12 @@ Garbage collect fbdev scrolling acceleration
Scroll acceleration is disabled in fbcon by hard-wiring p->scrollmode = 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_REDRAW. There's a ton of code this will allow us to remove:
- lots of code in fbcon.c - 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, maybe the remaining hooks could be called
directly instead of the function table (with a switch on p->rotate) 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 - fb_copyarea is unused after this, and can be deleted from all drivers
Note that not all acceleration code can be deleted, since clearing and cursor Note that not all acceleration code can be deleted, since clearing and cursor