From: Thomas Zimmermann <tzimmermann@suse.de>
To: Helge Deller <deller@gmx.de>,
Javier Martinez Canillas <javierm@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>
Cc: linux-fbdev@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sven Schnelle <svens@stackframe.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Tomi Valkeinen <tomi.valkeinen@ti.com>,
Claudio Suarez <cssk@net-c.es>, Pavel Machek <pavel@ucw.cz>,
Daniel Vetter <daniel.vetter@intel.com>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH 2/2] Revert "fbcon: Disable accelerated scrolling"
Date: Mon, 24 Jan 2022 16:45:06 +0100 [thread overview]
Message-ID: <6b41c8cf-8ab6-7224-8af2-c8c77a6f5d3b@suse.de> (raw)
In-Reply-To: <de6e06e1-f293-1c98-7898-b5d52c400b59@gmx.de>
[-- Attachment #1.1: Type: text/plain, Size: 1782 bytes --]
Hi
Am 24.01.22 um 16:29 schrieb Helge Deller:
> On 1/24/22 12:50, Javier Martinez Canillas wrote:
>> On 1/24/22 12:33, Thomas Zimmermann wrote:
>>
>> [snip]
>>
>>>> Thoughts?
>>>
>>> I can't say I approve keeping fbdev alive, but...
>>>
>>> With fbdev emulation, every DRM driver is an fbdev driver too. So
>>> CONFIG_FB_DRIVER is somewhat misleading. Better add an option like
>>> CONFIG_FBCON_HW_SCROLLING and have it selected by the fbdev drivers that
>>> absolutely need HW acceleration. That option would then protect the rsp
>>> code.
>
> I'm not a fan of something like CONFIG_FBCON_HW_SCROLLING, but I'm not
> against it either.
> For me it sounds that this is not the real direction you want to go,
> which is to prevent that any other drivers take the framebuffer before
> you take it with simpledrm or similiar.
> CONFIG_FBCON_HW_SCROLLING IMHO just disables the (from your POV) neglectable accleration part.
> With an option like CONFIG_FB_DRIVER (maybe better: CONFIG_FB_LEGACY_DRIVERS)
> it's an easy option for distros to disable all of the legacy drivers
> from being built & shipped.
These drivers have been disabled by most distros a long time ago. Those
that still remain are the generic, soon to be replaced, ones; and
drivers for niche architectures where no DRM-based replacement exists.
If I run DRM with fbdev emulation, HW scrolling is unused, possibly
buggy, and I'd want to not built it if possible. I guess that's what
most distros would want as well. That's the use case for FBCON_HW_SCROLLING.
Best regards
Thomas
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2022-01-24 15:45 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 11:08 [PATCH 0/2] Fix regression introduced by disabling accelerated scrolling in fbcon Helge Deller
2022-01-19 11:08 ` [PATCH 1/2] Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)" Helge Deller
2022-01-19 11:08 ` [PATCH 2/2] Revert "fbcon: Disable accelerated scrolling" Helge Deller
2022-01-19 11:22 ` Greg Kroah-Hartman
2022-01-19 11:28 ` Greg Kroah-Hartman
2022-01-19 11:47 ` Geert Uytterhoeven
2022-01-19 12:28 ` Helge Deller
2022-01-19 14:01 ` Linus Torvalds
2022-01-19 14:11 ` Helge Deller
2022-01-19 14:34 ` Daniel Vetter
2022-01-19 15:05 ` Sven Schnelle
2022-01-19 15:37 ` Thomas Zimmermann
2022-01-19 16:55 ` Helge Deller
2022-01-19 15:42 ` Daniel Vetter
2022-01-19 15:54 ` Helge Deller
2022-01-19 16:13 ` Jani Nikula
2022-01-19 16:31 ` Daniel Vetter
2022-01-19 15:18 ` Helge Deller
2022-01-19 13:01 ` Sven Schnelle
2022-01-19 13:35 ` Greg Kroah-Hartman
2022-01-20 14:30 ` Daniel Vetter
2022-01-20 17:01 ` Helge Deller
2022-01-21 7:20 ` Gerd Hoffmann
2022-01-24 11:10 ` Helge Deller
2022-01-24 11:28 ` Javier Martinez Canillas
2022-01-24 11:33 ` Thomas Zimmermann
2022-01-24 11:50 ` Javier Martinez Canillas
2022-01-24 15:29 ` Helge Deller
2022-01-24 15:45 ` Thomas Zimmermann [this message]
2022-01-24 15:50 ` Geert Uytterhoeven
2022-01-24 15:58 ` Daniel Vetter
2022-01-24 15:50 ` Geert Uytterhoeven
2022-01-24 16:11 ` Thomas Zimmermann
2022-01-19 12:45 ` [PATCH 0/2] Fix regression introduced by disabling accelerated scrolling in fbcon Geert Uytterhoeven
2022-01-19 13:02 ` Sven Schnelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6b41c8cf-8ab6-7224-8af2-c8c77a6f5d3b@suse.de \
--to=tzimmermann@suse.de \
--cc=cssk@net-c.es \
--cc=daniel.vetter@intel.com \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=javierm@redhat.com \
--cc=kraxel@redhat.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=sam@ravnborg.org \
--cc=svens@stackframe.org \
--cc=tomi.valkeinen@ti.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®