Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1270917pxb; Fri, 21 Jan 2022 13:59:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgauhIuD4nZ6kTK3Fa4007MXdJeqxI5rLl+Y2/AZVF1oR/HHa/Cb70uS2r8phfiCH9jBb5 X-Received: by 2002:a17:90b:38ca:: with SMTP id nn10mr2625756pjb.136.1642802372195; Fri, 21 Jan 2022 13:59:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642802372; cv=none; d=google.com; s=arc-20160816; b=T0JwXucQwvH5LcQYkuqyiBgbdXdjo+hXnx+8HYTB9Rc0xiryUig/oYJRiENp33AauP dM+lBMT4syP+MkV+bgfmOg0Jy7hVtnNWt9onS7LqSbu2pqL6dZgVACI1K/7fES4UUYrV WsVpXDEMacs1mtJTTdCPn+ERh8hE/eOlyRq7+PbEGOEHRUvjGKmUUs52++24NPgBCiY6 jB/EgST26G9JQP9h/pgCCWUvY/FlQLQdFdwf9Ji4lfOKBl3Ju+74+rtMg/sIoIQVoiP0 /iNXuAqc3t//E5bX3hrEuHf50AeRZsBsbD/eY1bnfaDj/shxxlTybjjAai0HtXY0PSeS omSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xAsS+cBzF1az+dLK774y0Ar/SOQiJ4SGoUpXhk8OsjE=; b=AYoR78ahMRase2+lA5noi106EH2CUa+J1GTkCPEN/6lcDQ6fWwuvo4bSG8hY+z7jlf VoC3WiDtdoCKsNjhCxgQlxNXXBVhtFhmz/OgOnjpJX4x0Eb46n9XTjln5GxL+5bcrxi5 0Qw1ZwKwLrQDwB+AEYNf2RcpHSHsINq1DcTdiespOCaEeHv4UqApziGmo1GSMPihfJ8m RbMZMPtscqW1cUgoGhxDacQD0u6GhK1mYYhP7OBgNqSKyn7Vq6Rpo6Tl4/7JlO6LP0r9 AX/hRfaXM6wA+RrIvZRWjD5FU1yNusNse0Y9yLa6zkIipOP8jms10j/wDgXUWsa3bzzA b3Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=eT3fPkZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si6825239pgb.838.2022.01.21.13.59.20; Fri, 21 Jan 2022 13:59:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=eT3fPkZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242634AbiATMd0 (ORCPT + 99 others); Thu, 20 Jan 2022 07:33:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237223AbiATMdZ (ORCPT ); Thu, 20 Jan 2022 07:33:25 -0500 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E4ADC06173F for ; Thu, 20 Jan 2022 04:33:25 -0800 (PST) Received: by mail-oi1-x22d.google.com with SMTP id s127so8667379oig.2 for ; Thu, 20 Jan 2022 04:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xAsS+cBzF1az+dLK774y0Ar/SOQiJ4SGoUpXhk8OsjE=; b=eT3fPkZamZBAgri7MjujHXrtsEzey4T9Zp6+0Cluzpnx1SyMzVpg06GRTyJgcvICa9 pb8YGVe+v+GWqVHcwACSERnXfhc+mo7smFyFiWFiZx28LivZTYJimDIaFtua/c0fs2T8 Xf/lQVv+Lqbs6hnDXpzjjyf5bDR9T3dGvCeOI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xAsS+cBzF1az+dLK774y0Ar/SOQiJ4SGoUpXhk8OsjE=; b=3VAbZhC1Z/9tlzEzlIKS5pIGWK1cKq5u6GrvmLv0p5/WWFFszih+j9dsAkuwprsEvT 0UABZfNAwJE97kT58HGWLcqeVAkIgh8BeeWZ/opJKTWVR9hej47HajrgMBb4CkOAdO1C opskC0d1lomEclOoYtbmUPnFD2mqfghuuuXchz6fkByZCaadE5IFdUxEfHtD3fLHiq9a QU4ytcS/3wZhirHDOksfupOve6j7qqdbe6KwWNh/gVEZanGnjO8g2lcbHqkydOPQfEP9 nyijWP6l6SFqEGuNBjHSHvLUUGhqUzAmcp5u+f2tkuLyX4xbtpWKavH0XeiigVnMcJaA jTpg== X-Gm-Message-State: AOAM532MOvTsxRhO8IfFHdykzSXhJCn3vls6x9Z7nXKX7eHfXPRPjFyk KmMZjZBPuwX09TIifDbc6PUHIBxcnrLIxRBHU9zgpg== X-Received: by 2002:a05:6808:3a3:: with SMTP id n3mr7484746oie.128.1642682004640; Thu, 20 Jan 2022 04:33:24 -0800 (PST) MIME-Version: 1.0 References: <87bl0amc6s.fsf@x1.stackframe.org> <20220118103323.4bae3a7d@eldfell> <20220118095352.xsb6fqacw4p276c5@sirius.home.kraxel.org> In-Reply-To: From: Daniel Vetter Date: Thu, 20 Jan 2022 13:33:13 +0100 Message-ID: Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer To: Geert Uytterhoeven Cc: Gerd Hoffmann , Linux Fbdev development list , Helge Deller , Linux Kernel Mailing List , DRI Development , Thomas Zimmermann , Sven Schnelle Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022 at 1:13 PM Geert Uytterhoeven wrote: > > Hi Daniel, > > On Thu, Jan 20, 2022 at 12:33 PM Daniel Vetter wrote: > > On Thu, Jan 20, 2022 at 10:06 AM Geert Uytterhoeven > > wrote: > > > On Thu, Jan 20, 2022 at 4:29 AM Gerd Hoffmann 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 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. But reading code&docs is too hard I guess, safer to assume it's just broken and not supported. -Daniel > > Like do people actually know what drm can and cannot do, or would that > > take out all the fun? > > ;-) > > 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 -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch