Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5551286pxb; Wed, 19 Jan 2022 22:47:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWlLJF7lL7pzSgUW3MVTRR3a3Pb/aMz+q7tIhhVUJC2oOsJuTaIjX7Q3mKexCMbZ8829IH X-Received: by 2002:a63:6f4d:: with SMTP id k74mr31115471pgc.208.1642661240845; Wed, 19 Jan 2022 22:47:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642661240; cv=pass; d=google.com; s=arc-20160816; b=Ig+SHpY0iXCPHkhheLSWmY09ZubXatW+svlAP7omdsrN/DGLvExCDA1B7EoXwQr/JB dVf7S9pBR7n4eA4jFXMeqj8RoMTiY3RPel4Bl35FW7PJHx+DYQcZ4g4Mw6s2xtnapSx3 HqETgMTyqDPg//tBKHo5t+tXR3rIkQe32tRp+rkpkadKpjpXSOwO/MyS/ta4CH2IWuQI bA4hsdd7ONcBSMtGf4iXFgE+YCnlQDxKAlWI92NPMNYLg1J0Ijf6AkMCtvIEfcust8rH IMS3TdIW8olIavws34G3FQ11sn7csCDSqKRuVfSPilEtuyWZRrxlVn4zDOOEQ2VztV+S Vz4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:in-reply-to:date:references:subject:cc:to:from :dkim-signature:dkim-signature; bh=+nnzxvvQj7+bvjQcSTQPnIo0ojYxhfwmrLpYQ8reS7o=; b=LJrQY/OXHbnHYVfMxfRTznfRAej1eie6IWn+fNpBwZfQQit8N6p5BVl4plT9ibvegH cj+1mgL+RxVZYRFjXX7Ed7HrXrEFqxpHvV5PgZs8loU/eg2DxCCKz2iOfSU/AWtat3q+ xnraHvbmnnR/VRkjfp1va/6KusobPwVDFvgEUzy+UIRcCIzfasWZHJM9tnGmDX3gq0sy 1HPFyugfcfVrvg+M+hJuwUCP/TBxFz9gbqP5CaC8omrOpRP23HpV/2+fQCiF39O0WAnY l1jakxNPd8RK4Ofar2eC4Ml+fUq/8SafN/y80E/CQM88XrG6l4eWcEocjIvybfD2KIJf 0tOQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stackframe.org header.s=duo-1634547266507-560c42ae header.b=bxHvMxbl; dkim=pass header.i=@outbound.mailhop.org header.s=dkim-high header.b=pWEf8Rqo; arc=pass (i=1 spf=pass spfdomain=stackframe.org); 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 be11si2119225plb.94.2022.01.19.22.47.08; Wed, 19 Jan 2022 22:47:20 -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=@stackframe.org header.s=duo-1634547266507-560c42ae header.b=bxHvMxbl; dkim=pass header.i=@outbound.mailhop.org header.s=dkim-high header.b=pWEf8Rqo; arc=pass (i=1 spf=pass spfdomain=stackframe.org); 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 S238060AbiARKvW (ORCPT + 99 others); Tue, 18 Jan 2022 05:51:22 -0500 Received: from outbound3.eu.mailhop.org ([52.29.21.168]:11614 "EHLO outbound3.eu.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231760AbiARKvV (ORCPT ); Tue, 18 Jan 2022 05:51:21 -0500 X-Greylist: delayed 2703 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Jan 2022 05:51:21 EST ARC-Seal: i=1; a=rsa-sha256; t=1642500316; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=ZSC/JHdGSdlVsTfvheO4aaKm3UqmMr5Sbf13dV35vdP0mGemrJjVv9zRplK9BIk1BV23LN1t9aw7S jonpEtO5Io+UUMRXUck6co67m8O/1tn5g/pLG07evXlS6B4vXM6Ksbj/v+L22CPMW/5N3WmGUfEEaQ pnsBuPakTKH20KlKG75Lo4lsVNgge+jUnEhQwC3EaYz3q0Rh/AITEvFMWtHIqWRfULbuHBfJzlFdkE Pvz1zmKcramuaT/lfTX+GglyjiZTURGySs3mTyLDLTJzQcbGv45X9Piy8IskWr1sxQF+sDMFLhj4io /VFwmKorfBHWQhth8N93BIBCIIPu0qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:mime-version:message-id:in-reply-to: date:references:subject:cc:to:from:dkim-signature:dkim-signature:from; bh=+nnzxvvQj7+bvjQcSTQPnIo0ojYxhfwmrLpYQ8reS7o=; b=QEjX+HUTpBwhrngljwl9WJG7EVkw80G6K/hfqUXEbm7LC4qR7PwMmbLUfYewushFcT2hF8MCLu9mD hKOye5Bh/tNCzbQe13G755vq2I8+He2yPSv9SqS0C+6Sus/Loz9F07CeTsGMEi38Sasyof+B50IrQr hpQW8Mv+/dY/+6jqmUSJAeVUPDWk68IpayDJbrQdmHPR4BZlHzG+7H1d+4cvOEQqflCZiQ7gU9cV2r 13GjMVV+N7jGd1WOnjiMKhNz1fgYyrWqndd9Flck788+NgJfNggq52PaILkxswwC67kds3a41iuD8Q gmuFWYer4mOYfiPxUzWVli5VLGEXSJA== ARC-Authentication-Results: i=1; outbound3.eu.mailhop.org; spf=pass smtp.mailfrom=stackframe.org smtp.remote-ip=91.207.61.48; dmarc=none header.from=stackframe.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stackframe.org; s=duo-1634547266507-560c42ae; h=content-transfer-encoding:content-type:mime-version:message-id:in-reply-to: date:references:subject:cc:to:from:from; bh=+nnzxvvQj7+bvjQcSTQPnIo0ojYxhfwmrLpYQ8reS7o=; b=bxHvMxbl5ntdEp+6XLmItF/hxD10ToBwYre08e+FlQmA74fF/ccBqQiMIcYe+d+Lyj4ybM4t0sQBt I/pNyEqVO9xn5rYE+naazMJ3LcX0m3EO7UTH6I5PIjuZ+opPjdXRxSaZfHAUvEJTer4SzxBwbs/VDZ gX0C1QKizq7goO3k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:content-type:mime-version:message-id:in-reply-to: date:references:subject:cc:to:from:from; bh=+nnzxvvQj7+bvjQcSTQPnIo0ojYxhfwmrLpYQ8reS7o=; b=pWEf8RqoSlJW6MG02oIJd0fcFPHtwGSAqcs+K0FqJVn1OTouF/8AYmJXZDeODEpQ0OxQPtX3HOhhc kfOrFkl/C+a2cw+jsgHoUOO9xxHAxJgpCn5wRTT7mv0U2mf7ybuOslv82HITN++NnrrKyNIQxYLImh x5EGL9mhemxmCX/sdBEBfQEkJdvvPkCSpHkZU2GHyQA2J3LgGmJFXrSt1hE19P+EAS3xcxvWyit6bA gxKPPfII/I6DwX2T6wx6I3u1ikBPqW6qno+I4tOBTCfE2HcCrERowc4UwXzn23Gl1Tomjmtf1l0S/z QA2/AwM9485CylFlf/1pf/bPk5TPWyA== X-Originating-IP: 91.207.61.48 X-MHO-RoutePath: dG9ta2lzdG5lcm51 X-MHO-User: 1f77ca2d-7846-11ec-92ec-95b64d6800c5 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from mail.duncanthrax.net (propper.duncanthrax.net [91.207.61.48]) by outbound3.eu.mailhop.org (Halon) with ESMTPSA id 1f77ca2d-7846-11ec-92ec-95b64d6800c5; Tue, 18 Jan 2022 10:05:12 +0000 (UTC) Received: from hsi-kbw-109-193-149-228.hsi7.kabel-badenwuerttemberg.de ([109.193.149.228] helo=x1.stackframe.org.stackframe.org) by mail.duncanthrax.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1n9lMU-004ylN-Hg; Tue, 18 Jan 2022 12:05:10 +0200 From: Sven Schnelle To: Michel =?utf-8?Q?D=C3=A4nzer?= Cc: Thomas Zimmermann , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer References: <87bl0amc6s.fsf@x1.stackframe.org> Date: Tue, 18 Jan 2022 11:05:08 +0100 In-Reply-To: ("Michel =?utf-8?Q?D=C3=A4nzer=22's?= message of "Tue, 18 Jan 2022 09:58:13 +0100") Message-ID: <87h7a1l5pn.fsf@x1.stackframe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michel, Michel D=C3=A4nzer writes: > On 2022-01-17 19:47, Sven Schnelle wrote: >>=20 >>> * There's no new development in fbdev and there are no new >>> drivers. Everyone works on DRM, which is better in most >>> regards. The consequence is that userspace is slowly loosing the >>> ability to use fbdev. >>=20 >> That might be caused by the fact that no new drivers are accepted for >> fbdev. I wrote a driver for the HP Visualize FX5/10 cards end of last >> year which was rejected for inclusion into fbdev[1]. >>=20 >> Based on your recommendation i re-wrote the whole thing in DRM. This >> works but has several drawbacks: >>=20 >> - no modesetting. With fbdev, i can nicely switch resolutions with >> fbset. That doesn't work, and i've been told that this is not supporte= d[2] >>=20 >> - It is *much* slower than fbset with hardware blitting. I would have to >> dig out the numbers, but it's in the ratio of 1:15. The nice thing >> with fbdev blitting is that i get an array of pixels and the >> foreground/background colors all of these these pixels should have. >> With the help of the hardware blitting, i can write 32 pixels at once >> with every 32-bit transfer. >>=20 >> With DRM, the closest i could find was DRM_FORMAT_C8, which means one >> byte per pixel. So i can put 4 pixels into one 32-bit transfer. >>=20 >> fbdev also clears the lines with hardware blitting, which is much >> faster than clearing it with memcpy. >>=20 >> Based on your recommendation i also verified that pci coalescing is >> enabled. >>=20 >> These numbers are with DRM's unnatural scrolling behaviour - it seems >> to scroll several (text)lines at once if it takes to much time. I >> guess if DRM would scroll line by line it would be even slower. >>=20 >> If DRM would add those things - hardware clearing of memory regions, >> hw blitting for text with a FG/BG color and modesetting i wouldn't >> care about fbdev at all. But right now, it's working way faster for me. > > A DRM driver can implement the same fbdev acceleration hooks as an fbdev = driver. But i guess i can still only use the DRM_FORMAT_* encodings with that? What i need is a pixel bitmap with separate FG/BG colors. Is that possible? /Sven