All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	Helge Deller <deller@gmx.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Sven Schnelle <svens@stackframe.org>
Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer
Date: Thu, 20 Jan 2022 13:46:13 +0100	[thread overview]
Message-ID: <CAMuHMdXboG=DxpO9WN-e0c-Zoet-fWwiwYATGb6TZYQd9Ajg6Q@mail.gmail.com> (raw)
In-Reply-To: <CAKMK7uEwDdaR7kDVi9Oah0w8qFEoAywp_wj2eH7DtttVD2L00A@mail.gmail.com>

Hi Daniel,

On Thu, Jan 20, 2022 at 1:33 PM Daniel Vetter <daniel@ffwll.ch> wrote:
> On Thu, Jan 20, 2022 at 1:13 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Thu, Jan 20, 2022 at 12:33 PM Daniel Vetter <daniel@ffwll.ch> wrote:
> > > On Thu, Jan 20, 2022 at 10:06 AM Geert Uytterhoeven
> > > <geert@linux-m68k.org> wrote:
> > > > On Thu, Jan 20, 2022 at 4:29 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
> > > > > On Tue, Jan 18, 2022 at 10:33:23AM +0200, Pekka Paalanen wrote:
> > > > > > On Mon, 17 Jan 2022 19:47:39 +0100
> > > > > > Sven Schnelle <svens@stackframe.org> wrote:
> > > > > > > I also tested the speed on my Thinkpad X1 with Intel graphics, and there
> > > > > > > a dmesg with 919 lines one the text console took about 2s to display. In
> > > > > > > x11, i measure 22ms. This might be unfair because encoding might be
> > > > > > > different, but i cannot confirm the 'memcpy' is faster than hardware
> > > > > > > blitting' point. I think if that would be the case, no-one would care
> > > > > > > about 2D acceleration.
> > > > > >
> > > > > > I think that is an extremely unfair comparison, because a graphical
> > > > > > terminal app is not going to render every line of text streamed to it.
> > > > > > It probably renders only the final view alone if you simply run
> > > > > > 'dmesg', skipping the first 800-900 lines completely.
> > > > >
> > > > > Probably more like "render on every vblank", but yes, unlike fbcon it
> > > > > surely wouldn't render every single character sent to the terminal.
> > > > >
> > > > > Also acceleration on modern hardware is more like "compose window
> > > > > content using the 3d engine" than "use 2d blitter to scroll the window".
> > > > >
> > > > > > Maybe fbcon should do the same when presented with a flood of text,
> > > > > > but I don't know how or why it works like it works.
> > > > >
> > > > > fbcon could do the same, i.e. render to fbdev in a 60Hz timer instead of
> > > > > doing it synchronously.
> > > >
> > > > Hopefully only the parts of the screen which need a redraw?
> > > >
> > > > Not all displays can be updated that fast. For a "modern" example, see
> > > > https://patchwork.freedesktop.org/series/93070/.
> > >
> > > drm does damage tracking throughout the stack, e.g.
> > >
> > > https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#damage-tracking-properties
> > >
> > > And unlike fbdev, it's explicit (so less overhead since userspace
> > > generally knows what it's drawn) and doesn't rely on page fault
> > > intercepting and fun stuff like that.
> >
> > My reply was to a paragraph about rendering text by fbcon, not about
> > userspace rendering graphics.
>
> Yeah, and ofc when I say "throughout the stack" this also includes the
> fbdev emulation, including the mmap intercepting with fbdev_defio and
> all that. They all get remapped to that damage tracking property,
> which drivers can then inspect using a bunch of helpers.

And I really meant the text rendering part, not the copy of the shadow
buffer after the rendering.

> But reading code&docs is too hard I guess, safer to assume it's just
> broken and not supported.

Don't worry, I'm actually writing a larger rebuttal _and_ code...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	Helge Deller <deller@gmx.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Sven Schnelle <svens@stackframe.org>
Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer
Date: Thu, 20 Jan 2022 13:46:13 +0100	[thread overview]
Message-ID: <CAMuHMdXboG=DxpO9WN-e0c-Zoet-fWwiwYATGb6TZYQd9Ajg6Q@mail.gmail.com> (raw)
In-Reply-To: <CAKMK7uEwDdaR7kDVi9Oah0w8qFEoAywp_wj2eH7DtttVD2L00A@mail.gmail.com>

Hi Daniel,

On Thu, Jan 20, 2022 at 1:33 PM Daniel Vetter <daniel@ffwll.ch> wrote:
> On Thu, Jan 20, 2022 at 1:13 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Thu, Jan 20, 2022 at 12:33 PM Daniel Vetter <daniel@ffwll.ch> wrote:
> > > On Thu, Jan 20, 2022 at 10:06 AM Geert Uytterhoeven
> > > <geert@linux-m68k.org> wrote:
> > > > On Thu, Jan 20, 2022 at 4:29 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
> > > > > On Tue, Jan 18, 2022 at 10:33:23AM +0200, Pekka Paalanen wrote:
> > > > > > On Mon, 17 Jan 2022 19:47:39 +0100
> > > > > > Sven Schnelle <svens@stackframe.org> wrote:
> > > > > > > I also tested the speed on my Thinkpad X1 with Intel graphics, and there
> > > > > > > a dmesg with 919 lines one the text console took about 2s to display. In
> > > > > > > x11, i measure 22ms. This might be unfair because encoding might be
> > > > > > > different, but i cannot confirm the 'memcpy' is faster than hardware
> > > > > > > blitting' point. I think if that would be the case, no-one would care
> > > > > > > about 2D acceleration.
> > > > > >
> > > > > > I think that is an extremely unfair comparison, because a graphical
> > > > > > terminal app is not going to render every line of text streamed to it.
> > > > > > It probably renders only the final view alone if you simply run
> > > > > > 'dmesg', skipping the first 800-900 lines completely.
> > > > >
> > > > > Probably more like "render on every vblank", but yes, unlike fbcon it
> > > > > surely wouldn't render every single character sent to the terminal.
> > > > >
> > > > > Also acceleration on modern hardware is more like "compose window
> > > > > content using the 3d engine" than "use 2d blitter to scroll the window".
> > > > >
> > > > > > Maybe fbcon should do the same when presented with a flood of text,
> > > > > > but I don't know how or why it works like it works.
> > > > >
> > > > > fbcon could do the same, i.e. render to fbdev in a 60Hz timer instead of
> > > > > doing it synchronously.
> > > >
> > > > Hopefully only the parts of the screen which need a redraw?
> > > >
> > > > Not all displays can be updated that fast. For a "modern" example, see
> > > > https://patchwork.freedesktop.org/series/93070/.
> > >
> > > drm does damage tracking throughout the stack, e.g.
> > >
> > > https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#damage-tracking-properties
> > >
> > > And unlike fbdev, it's explicit (so less overhead since userspace
> > > generally knows what it's drawn) and doesn't rely on page fault
> > > intercepting and fun stuff like that.
> >
> > My reply was to a paragraph about rendering text by fbcon, not about
> > userspace rendering graphics.
>
> Yeah, and ofc when I say "throughout the stack" this also includes the
> fbdev emulation, including the mmap intercepting with fbdev_defio and
> all that. They all get remapped to that damage tracking property,
> which drivers can then inspect using a bunch of helpers.

And I really meant the text rendering part, not the copy of the shadow
buffer after the rendering.

> But reading code&docs is too hard I guess, safer to assume it's just
> broken and not supported.

Don't worry, I'm actually writing a larger rebuttal _and_ code...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2022-01-20 12:46 UTC|newest]

Thread overview: 149+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 18:11 [PATCH] MAINTAINERS: Add Helge as fbdev maintainer Helge Deller
2022-01-14 18:31 ` Geert Uytterhoeven
2022-01-14 18:31   ` Geert Uytterhoeven
2022-01-17  9:48 ` Daniel Vetter
2022-01-17  9:48   ` Daniel Vetter
2022-01-17 10:02 ` Daniel Vetter
2022-01-17 10:02   ` Daniel Vetter
2022-01-17 10:19   ` Javier Martinez Canillas
2022-01-17 10:19     ` Javier Martinez Canillas
2022-01-17 10:49   ` Jani Nikula
2022-01-17 10:57     ` Helge Deller
2022-01-17 12:15   ` Helge Deller
2022-01-17 12:15     ` Helge Deller
2022-01-17 12:57     ` Gerd Hoffmann
2022-01-17 12:57       ` Gerd Hoffmann
2022-01-17 13:29       ` Geert Uytterhoeven
2022-01-17 13:29         ` Geert Uytterhoeven
2022-01-17 13:51         ` Thomas Zimmermann
2022-01-17 13:51           ` Thomas Zimmermann
2022-01-17 14:10           ` Geert Uytterhoeven
2022-01-17 14:10             ` Geert Uytterhoeven
2022-01-17 14:47             ` Helge Deller
2022-01-17 14:47               ` Helge Deller
2022-01-17 15:03               ` Daniel Vetter
2022-01-17 15:03                 ` Daniel Vetter
2022-01-17 20:17                 ` Helge Deller
2022-01-17 20:17                   ` Helge Deller
2022-01-18  6:29                   ` Gerd Hoffmann
2022-01-18  6:29                     ` Gerd Hoffmann
2022-01-18  8:10                     ` Geert Uytterhoeven
2022-01-18  8:10                       ` Geert Uytterhoeven
2022-01-18 11:44                       ` Daniel Vetter
2022-01-18 11:44                         ` Daniel Vetter
2022-01-18 14:23                       ` Thomas Zimmermann
2022-01-18 14:23                         ` Thomas Zimmermann
2022-01-18 14:39                         ` Simon Ser
2022-01-18 14:39                           ` Simon Ser
2022-01-20 12:50                         ` Gerd Hoffmann
2022-01-20 12:50                           ` Gerd Hoffmann
2022-01-21  8:55                           ` Daniel Vetter
2022-01-21  8:55                             ` Daniel Vetter
2022-01-24 18:38                             ` Geert Uytterhoeven
2022-01-24 18:38                               ` Geert Uytterhoeven
2022-01-24 18:50                               ` Daniel Vetter
2022-01-24 18:50                                 ` Daniel Vetter
2022-01-24 19:05                               ` Thomas Zimmermann
2022-01-24 19:05                                 ` Thomas Zimmermann
2022-01-18  8:20                     ` Helge Deller
2022-01-18  8:20                       ` Helge Deller
2022-01-18  9:16                       ` Gerd Hoffmann
2022-01-18  9:16                         ` Gerd Hoffmann
2022-01-18 10:13                         ` Helge Deller
2022-01-18 10:13                           ` Helge Deller
2022-01-18 10:44                           ` Helge Deller
2022-01-18 10:44                             ` Helge Deller
2022-01-18 12:48                           ` Gerd Hoffmann
2022-01-18 12:48                             ` Gerd Hoffmann
2022-01-17 15:05               ` Thomas Zimmermann
2022-01-17 15:05                 ` Thomas Zimmermann
2022-01-17 16:05                 ` Helge Deller
2022-01-17 16:05                   ` Helge Deller
2022-01-17 14:53             ` Thomas Zimmermann
2022-01-17 14:53               ` Thomas Zimmermann
2022-01-18  6:11         ` Gerd Hoffmann
2022-01-18  6:11           ` Gerd Hoffmann
2022-01-18  8:09           ` Helge Deller
2022-01-18  8:09             ` Helge Deller
2022-01-17 15:00     ` Daniel Vetter
2022-01-17 15:00       ` Daniel Vetter
2022-01-17 15:42       ` Helge Deller
2022-01-17 15:42         ` Helge Deller
2022-01-17 15:56         ` Daniel Vetter
2022-01-17 15:56           ` Daniel Vetter
2022-01-17 15:58         ` Thomas Zimmermann
2022-01-17 15:58           ` Thomas Zimmermann
2022-01-17 16:21           ` Helge Deller
2022-01-17 16:21             ` Helge Deller
2022-01-17 16:38             ` Daniel Vetter
2022-01-17 16:38               ` Daniel Vetter
2022-01-17 17:19               ` Helge Deller
2022-01-17 17:19                 ` Helge Deller
2022-01-17 19:45             ` Helge Deller
2022-01-17 19:45               ` Helge Deller
2022-01-17 21:55               ` Ilia Mirkin
2022-01-17 21:55                 ` Ilia Mirkin
2022-01-18 11:14                 ` Daniel Vetter
2022-01-18 11:14                   ` Daniel Vetter
2022-01-18 14:14             ` Thomas Zimmermann
2022-01-18 14:14               ` Thomas Zimmermann
2022-01-17 21:40           ` Jani Nikula
2022-01-17 21:40             ` Jani Nikula
2022-01-17 21:44             ` Helge Deller
2022-01-17 21:44               ` Helge Deller
2022-01-18  8:38               ` Jani Nikula
2022-01-18  8:38                 ` Jani Nikula
2022-01-18  8:41                 ` Geert Uytterhoeven
2022-01-18  8:41                   ` Geert Uytterhoeven
2022-01-18 11:41                   ` Daniel Vetter
2022-01-18 11:41                     ` Daniel Vetter
2022-01-18 12:11                     ` Simon Ser
2022-01-18 12:11                       ` Simon Ser
2022-01-18  8:54                 ` Helge Deller
2022-01-18  8:54                   ` Helge Deller
2022-01-18  9:33                   ` Javier Martinez Canillas
2022-01-18  9:33                     ` Javier Martinez Canillas
2022-01-18  9:45                     ` Geert Uytterhoeven
2022-01-18  9:45                       ` Geert Uytterhoeven
2022-01-18 11:18                   ` Daniel Vetter
2022-01-18 11:18                     ` Daniel Vetter
2022-01-18 11:42                     ` Helge Deller
2022-01-18 11:42                       ` Helge Deller
2022-01-18  8:41       ` Helge Deller
2022-01-18  8:41         ` Helge Deller
2022-01-18  9:12         ` Helge Deller
2022-01-18  9:12           ` Helge Deller
2022-01-17 11:16 ` Thomas Zimmermann
2022-01-17 11:33   ` Helge Deller
2022-01-17 12:13     ` Thomas Zimmermann
2022-01-17 18:47   ` Sven Schnelle
2022-01-18  8:33     ` Pekka Paalanen
2022-01-18  8:33       ` Pekka Paalanen
2022-01-18  9:53       ` Gerd Hoffmann
2022-01-18  9:53         ` Gerd Hoffmann
2022-01-18 11:22         ` Daniel Vetter
2022-01-18 11:22           ` Daniel Vetter
2022-01-18 12:07           ` Gerd Hoffmann
2022-01-18 12:07             ` Gerd Hoffmann
2022-01-19  8:39         ` Pekka Paalanen
2022-01-19  8:39           ` Pekka Paalanen
2022-01-20  9:06         ` Geert Uytterhoeven
2022-01-20  9:06           ` Geert Uytterhoeven
2022-01-20 11:32           ` Daniel Vetter
2022-01-20 11:32             ` Daniel Vetter
2022-01-20 12:13             ` Geert Uytterhoeven
2022-01-20 12:13               ` Geert Uytterhoeven
2022-01-20 12:33               ` Daniel Vetter
2022-01-20 12:33                 ` Daniel Vetter
2022-01-20 12:46                 ` Geert Uytterhoeven [this message]
2022-01-20 12:46                   ` Geert Uytterhoeven
2022-01-24 18:50                 ` Geert Uytterhoeven
2022-01-24 18:50                   ` Geert Uytterhoeven
2022-01-24 19:37                   ` Daniel Vetter
2022-01-24 19:37                     ` Daniel Vetter
2022-01-20 11:51           ` Gerd Hoffmann
2022-01-20 11:51             ` Gerd Hoffmann
2022-01-18  8:58     ` Michel Dänzer
2022-01-18 10:05       ` Sven Schnelle
2022-01-18 10:05         ` Sven Schnelle
2022-01-18 14:06     ` Thomas Zimmermann

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='CAMuHMdXboG=DxpO9WN-e0c-Zoet-fWwiwYATGb6TZYQd9Ajg6Q@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=daniel@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kraxel@redhat.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=svens@stackframe.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.