Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECF44C433F5 for ; Wed, 2 Feb 2022 15:00:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 129B810E24F; Wed, 2 Feb 2022 15:00:59 +0000 (UTC) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 106C810E24F for ; Wed, 2 Feb 2022 15:00:58 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id m26so9214301wms.0 for ; Wed, 02 Feb 2022 07:00:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UJke/v7BookoKPmUftKhzlH99saDDZec7hBQIKAqw5U=; b=d8I1PbMJHfr4TJxDxSAz34w6Oci/V59mn0RqiiInIaIu9ctRblniRaeWAVJ5zCCCma /LeNLsZ8Jeq0x/wx1FO52r3w79G34zfbWmHoT8k7jj87dYibpGuiK5AIiLEUWTbHyeR4 ogeFP/U6orewfwdjNmudD/2TN3mYhsyyS3WWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UJke/v7BookoKPmUftKhzlH99saDDZec7hBQIKAqw5U=; b=RU7UuPmUlc7VJrSPse/pRyE37YyJELcWqt+SSlpaD3bByB7UBx+TkrUY7jGP6UhuzO Z01n7/BuedB7WunpbPgVJYq5dl3k7Du3XN4K7zFEFQmBAM1SoJrYiwi+XgYBxwf3yb6T y2jGvQln9M2IA7htLSQiPtD7MmPuszdfOfM6YkewAZ9NoEftOknSEV0awXaF1cqQZB+3 oPuG640EZrvdLh95f18pEI1dMa2FemghIHLcUETNbt0mI2CBFihPYH97Y68ckgvPdvsM oimhVdFyYoCTMv6yGo7dN03ACqVW/XWpJUBO1DNm2YOhkeesp3v1ulsEpJWZc43nsciU +A3w== X-Gm-Message-State: AOAM5306zeDOA0YU8Ng5KXgo9Th3Hk/rFP2l5KJm4rgc5hyYU2NdZmY0 eTTqFTirU4AX0TZNdSMFJLFqYQ== X-Google-Smtp-Source: ABdhPJxzsXob9MfZd84+Frg9QRyH4CTfDv8r32BhiPca6etLb34+hmE2I/kw7LE1AM7L2ncRsuZg8w== X-Received: by 2002:a1c:1f54:: with SMTP id f81mr6505147wmf.22.1643814056525; Wed, 02 Feb 2022 07:00:56 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id p42sm4859278wms.28.2022.02.02.07.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:00:56 -0800 (PST) Date: Wed, 2 Feb 2022 16:00:54 +0100 From: Daniel Vetter To: Helge Deller Subject: Re: [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon Message-ID: References: <20220202135531.92183-1-deller@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220202135531.92183-1-deller@gmx.de> X-Operating-System: Linux phenom 5.10.0-8-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , linux-fbdev@vger.kernel.org, DRI Development Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Feb 02, 2022 at 02:55:28PM +0100, Helge Deller wrote: > This series reverts two patches which disabled scrolling acceleration in > fbcon/fbdev. Those patches introduced a regression for fbdev-supported graphic > cards because of the performance penalty by doing screen scrolling by software > instead of using existing 2D hardware acceleration. > > The third patch introduces a new config option > CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION, which -if enabled- switches > fbcon to utilize the bitblt and fillrect hardware acceleration in the > framebuffer console. If disabled, such acceleration will not be used, even if > it is supported by the graphics hardware driver. > > This series is being discussed on linux-fbdev and dri-devel mailing lists. > > Updates in v3: > - respin with fixes to build rotation code > > Updates in v4: > - changed the Kconfig option and Kconfig help text > > Helge Deller (3): > Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 > (from TODO list)" > Revert "fbcon: Disable accelerated scrolling" > fbcon: Add option to enable legacy hardware acceleration Applied to drm-misc-fixes, thanks for the patches. Cheers, Daniel > > Documentation/gpu/todo.rst | 24 - > drivers/video/console/Kconfig | 20 + > drivers/video/fbdev/core/bitblit.c | 16 + > drivers/video/fbdev/core/fbcon.c | 557 +++++++++++++++++++++++- > drivers/video/fbdev/core/fbcon.h | 72 +++ > drivers/video/fbdev/core/fbcon_ccw.c | 28 +- > drivers/video/fbdev/core/fbcon_cw.c | 28 +- > drivers/video/fbdev/core/fbcon_rotate.h | 9 + > drivers/video/fbdev/core/fbcon_ud.c | 37 +- > drivers/video/fbdev/core/tileblit.c | 16 + > drivers/video/fbdev/skeletonfb.c | 12 +- > include/linux/fb.h | 2 +- > 12 files changed, 753 insertions(+), 68 deletions(-) > > -- > 2.34.1 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch