Linux Framebuffer Layer development
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon
@ 2022-02-02 13:55 Helge Deller
  2022-02-02 13:55 ` [PATCH v4 1/3] Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)" Helge Deller
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Helge Deller @ 2022-02-02 13:55 UTC (permalink / raw)
  To: Daniel Vetter, linux-fbdev, DRI Development

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-02-04 17:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-02 13:55 [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon Helge Deller
2022-02-02 13:55 ` [PATCH v4 1/3] Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)" Helge Deller
2022-02-02 13:55 ` [PATCH v4 2/3] Revert "fbcon: Disable accelerated scrolling" Helge Deller
2022-02-02 13:55 ` [PATCH v4 3/3] fbcon: Add option to enable legacy hardware acceleration Helge Deller
2022-02-04  8:37   ` Geert Uytterhoeven
2022-02-04 10:17     ` Helge Deller
2022-02-04 10:24       ` Geert Uytterhoeven
2022-02-04 17:31         ` Helge Deller
2022-02-02 15:00 ` [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox