All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Helge Deller <deller@gmx.de>
Cc: Thomas Zimmermann <tzimmermann@suse.de>,
	linux-fbdev@vger.kernel.org, Sven Schnelle <svens@stackframe.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Javier Martinez Canillas <javierm@redhat.com>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Ilia Mirkin <imirkin@alum.mit.edu>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	dri-devel@lists.freedesktop.org,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Pavel Machek <pavel@ucw.cz>,
	linux-kernel@vger.kernel.org, Gerd Hoffmann <kraxel@redhat.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Sam Ravnborg <sam@ravnborg.org>, Claudio Suarez <cssk@net-c.es>
Subject: Re: [PATCH 2/2] Revert "fbcon: Disable accelerated scrolling"
Date: Wed, 19 Jan 2022 12:28:38 +0100	[thread overview]
Message-ID: <Yef15k2GtC40aJEu@kroah.com> (raw)
In-Reply-To: <Yef0j8+DBbwC7Kjv@kroah.com>

On Wed, Jan 19, 2022 at 12:22:55PM +0100, Greg Kroah-Hartman wrote:
> On Wed, Jan 19, 2022 at 12:08:39PM +0100, Helge Deller wrote:
> > This reverts commit 39aead8373b3c20bb5965c024dfb51a94e526151.
> > 
> > Revert this patch.  This patch started to introduce the regression that
> > all hardware acceleration of more than 35 existing fbdev drivers were
> > bypassed and thus fbcon console output for those was dramatically slowed
> > down by factor of 10 and more.
> > 
> > Reverting this commit has no impact on DRM, since none of the DRM drivers are
> > tagged with the acceleration flags FBINFO_HWACCEL_COPYAREA,
> > FBINFO_HWACCEL_FILLRECT or others.
> > 
> > Signed-off-by: Helge Deller <deller@gmx.de>
> > Cc: stable@vger.kernel.org # v5.16
> 
> Why just 5.16?  This commit came in on 5.11 and was backported to
> 5.10.5.
> 
> As for "why", I think there was a number of private bugs that were
> reported in this code, which is why it was removed.  I do not think it
> can be safely added back in without addressing them first.  Let me go
> dig through my email to see if I can find them...

Ah, no, that was just the soft scrollback code I was thinking of, which
was a different revert and is still gone, thankfully :)

This one was just removed because Daniel noticed that only 3 drivers
used this (nouveau, omapdrm, and gma600), so this shouldn't have caused
any regressions in any other drivers like you are reporting here.

So perhaps this regression is caused by something else?

thanks,

greg k-h

WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org, Pavel Machek <pavel@ucw.cz>,
	Sam Ravnborg <sam@ravnborg.org>,
	Sven Schnelle <svens@stackframe.org>,
	Javier Martinez Canillas <javierm@redhat.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Claudio Suarez <cssk@net-c.es>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [PATCH 2/2] Revert "fbcon: Disable accelerated scrolling"
Date: Wed, 19 Jan 2022 12:28:38 +0100	[thread overview]
Message-ID: <Yef15k2GtC40aJEu@kroah.com> (raw)
In-Reply-To: <Yef0j8+DBbwC7Kjv@kroah.com>

On Wed, Jan 19, 2022 at 12:22:55PM +0100, Greg Kroah-Hartman wrote:
> On Wed, Jan 19, 2022 at 12:08:39PM +0100, Helge Deller wrote:
> > This reverts commit 39aead8373b3c20bb5965c024dfb51a94e526151.
> > 
> > Revert this patch.  This patch started to introduce the regression that
> > all hardware acceleration of more than 35 existing fbdev drivers were
> > bypassed and thus fbcon console output for those was dramatically slowed
> > down by factor of 10 and more.
> > 
> > Reverting this commit has no impact on DRM, since none of the DRM drivers are
> > tagged with the acceleration flags FBINFO_HWACCEL_COPYAREA,
> > FBINFO_HWACCEL_FILLRECT or others.
> > 
> > Signed-off-by: Helge Deller <deller@gmx.de>
> > Cc: stable@vger.kernel.org # v5.16
> 
> Why just 5.16?  This commit came in on 5.11 and was backported to
> 5.10.5.
> 
> As for "why", I think there was a number of private bugs that were
> reported in this code, which is why it was removed.  I do not think it
> can be safely added back in without addressing them first.  Let me go
> dig through my email to see if I can find them...

Ah, no, that was just the soft scrollback code I was thinking of, which
was a different revert and is still gone, thankfully :)

This one was just removed because Daniel noticed that only 3 drivers
used this (nouveau, omapdrm, and gma600), so this shouldn't have caused
any regressions in any other drivers like you are reporting here.

So perhaps this regression is caused by something else?

thanks,

greg k-h

  reply	other threads:[~2022-01-19 11:28 UTC|newest]

Thread overview: 66+ 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:22     ` Greg Kroah-Hartman
2022-01-19 11:28     ` Greg Kroah-Hartman [this message]
2022-01-19 11:28       ` Greg Kroah-Hartman
2022-01-19 11:47       ` Geert Uytterhoeven
2022-01-19 11:47         ` Geert Uytterhoeven
2022-01-19 12:28         ` Helge Deller
2022-01-19 12:28           ` Helge Deller
2022-01-19 14:01           ` Linus Torvalds
2022-01-19 14:01             ` Linus Torvalds
2022-01-19 14:11             ` Helge Deller
2022-01-19 14:11               ` Helge Deller
2022-01-19 14:34             ` Daniel Vetter
2022-01-19 14:34               ` Daniel Vetter
2022-01-19 15:05               ` Sven Schnelle
2022-01-19 15:05                 ` Sven Schnelle
2022-01-19 15:37                 ` Thomas Zimmermann
2022-01-19 15:37                   ` Thomas Zimmermann
2022-01-19 16:55                   ` Helge Deller
2022-01-19 16:55                     ` Helge Deller
2022-01-19 15:42                 ` Daniel Vetter
2022-01-19 15:42                   ` Daniel Vetter
2022-01-19 15:54                   ` Helge Deller
2022-01-19 15:54                     ` Helge Deller
2022-01-19 16:13                     ` Jani Nikula
2022-01-19 16:13                       ` Jani Nikula
2022-01-19 16:31                       ` Daniel Vetter
2022-01-19 16:31                         ` Daniel Vetter
2022-01-19 15:18               ` Helge Deller
2022-01-19 15:18                 ` Helge Deller
2022-01-19 13:01       ` Sven Schnelle
2022-01-19 13:01         ` Sven Schnelle
2022-01-19 13:35         ` Greg Kroah-Hartman
2022-01-19 13:35           ` Greg Kroah-Hartman
2022-01-20 14:30   ` Daniel Vetter
2022-01-20 14:30     ` Daniel Vetter
2022-01-20 17:01     ` Helge Deller
2022-01-21  7:20       ` Gerd Hoffmann
2022-01-21  7:20         ` Gerd Hoffmann
2022-01-24 11:10         ` Helge Deller
2022-01-24 11:10           ` Helge Deller
2022-01-24 11:28           ` Javier Martinez Canillas
2022-01-24 11:28             ` Javier Martinez Canillas
2022-01-24 11:33           ` Thomas Zimmermann
2022-01-24 11:33             ` Thomas Zimmermann
2022-01-24 11:50             ` Javier Martinez Canillas
2022-01-24 11:50               ` Javier Martinez Canillas
2022-01-24 15:29               ` Helge Deller
2022-01-24 15:29                 ` Helge Deller
2022-01-24 15:45                 ` Thomas Zimmermann
2022-01-24 15:45                   ` Thomas Zimmermann
2022-01-24 15:50                 ` Geert Uytterhoeven
2022-01-24 15:50                   ` Geert Uytterhoeven
2022-01-24 15:58                 ` Daniel Vetter
2022-01-24 15:58                   ` Daniel Vetter
2022-01-24 15:50             ` Geert Uytterhoeven
2022-01-24 15:50               ` Geert Uytterhoeven
2022-01-24 16:11               ` Thomas Zimmermann
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 12:45   ` Geert Uytterhoeven
2022-01-19 13:02 ` Sven Schnelle
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=Yef15k2GtC40aJEu@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --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=imirkin@alum.mit.edu \
    --cc=jani.nikula@linux.intel.com \
    --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 \
    --cc=tzimmermann@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.