Skip to content

Fix regression introduced by disabling accelerated scrolling in fbcon

Helge Deller dri-devel linux-fbdev 4 versions – Applied

Status from this message: Applied to drm-misc-fixes, thanks for the patches.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesApplied
  2. v33 patches 4 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches32 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)"Documentation/gpu/todo.rst drivers/video/fbdev/core/bitblit.c drivers/video/fbdev/core/fbcon.c +8 more+678 -510 replies
2/3Revert "fbcon: Disable accelerated scrolling"Documentation/gpu/todo.rst drivers/video/fbdev/core/fbcon.c+37 -290 replies
3/3fbcon: Add option to enable legacy hardware accelerationdrivers/video/console/Kconfig drivers/video/fbdev/core/fbcon.c drivers/video/fbdev/core/fbcon.h +4 more+84 -344 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchGeert UytterhoevenSven Schnelle
1/3A-b A-b
2/3A-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon

This series reverts two patches which disabled scrolling acceleration in fbcon/fbdev. Those patches introduced a regression for fbdev-supported graphic cards because of the performance penalty by doing screen scrolling by software instead of using existing 2D hardware acceleration.

The third patch introduces a new config option CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION, which -if enabled- switches fbcon to utilize the bitblt and fillrect hardware acceleration in the framebuffer console. If disabled, such acceleration will not be used, even if it is supported by the graphics hardware driver.

This series is being discussed on linux-fbdev and dri-devel mailing lists.

Updates in v3:
- respin with fixes to build rotation code

Updates in v4:
- changed the Kconfig option and Kconfig help text

Helge Deller (3):
Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1
(from TODO list)"
Revert "fbcon: Disable accelerated scrolling"
fbcon: Add option to enable legacy hardware acceleration

 Documentation/gpu/todo.rst              |  24 -
 drivers/video/console/Kconfig           |  20 +
 drivers/video/fbdev/core/bitblit.c      |  16 +
 drivers/video/fbdev/core/fbcon.c        | 557 +++++++++++++++++++++++-
 drivers/video/fbdev/core/fbcon.h        |  72 +++
 drivers/video/fbdev/core/fbcon_ccw.c    |  28 +-
 drivers/video/fbdev/core/fbcon_cw.c     |  28 +-
 drivers/video/fbdev/core/fbcon_rotate.h |   9 +
 drivers/video/fbdev/core/fbcon_ud.c     |  37 +-
 drivers/video/fbdev/core/tileblit.c     |  16 +
 drivers/video/fbdev/skeletonfb.c        |  12 +-
 include/linux/fb.h                      |   2 +-
 12 files changed, 753 insertions(+), 68 deletions(-)
Signature · 1 line
2.34.1