Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3754679pxk; Tue, 22 Sep 2020 01:27:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiPpE8U/aSHTZRKNshepbejcFhveU5qUwwVqq6oU5KVLxzoB/e2LFTuTlWy+7DntYT3VDP X-Received: by 2002:a17:906:4e82:: with SMTP id v2mr3862082eju.218.1600763233983; Tue, 22 Sep 2020 01:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600763233; cv=none; d=google.com; s=arc-20160816; b=Opwq2EEIgQ8skYhl8Y9TanYp4qcKiBkaHw6/LQwmE4UuqtBtkN7QRE+n3llDXe5DF1 l5c+Prd4MJJoSl/n9JnfeKkSbpdZe3jOGm8GA8GHvTCoi5FrcyIdWPY0pdd9D6PSuFcz GY1Q6I78bwT7aJvc2q9TdrTIP5uJc/rm6p1f7ozowV1QT3iA016z9ph4RUk3bf26lu58 Vnz9xzu/g4iub4hd+4xw0R7rxhL/9MiifoZJlvzyQ+/FcpKfxmT1114vbBPGdiJwGlYm SUB+tqzZWsfviK0hpucHaeoOM1MF23zr3XWrysRjIL56FPJ9enkiH3GhD5CmwQ/s9tTg 2xxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qdzC9XQ5oHcVmDEz2EB+t6PbSVH1+3Rthrl8jp5Eg5U=; b=ZS5E9KdqC+rDHXma7hJtN3q5OJ6Y4vXkNFD1oD9nvPyXdbVvpV7xyI/pOz+uMR/e5M homdgnV+lQPeVTDBMm87N2Omqp+K6NBya3htcc+E+3pIaCOKdREDYZ7lWFXDyhAElQ8T kGC6fwPJoboHyD3I2oo9lnLT9UALM+sIbEfGl9EQgXGBcB9OEL3STjDtaH464BqUJqgQ htCdgtXXNumQ5RR1GY2tHn2MWetxY6cDNyhhO238sOaya1HvYoaZiphY/Gtb0rOkjrVD NCOXJSCpG3TIA+6CM4rDyEKBnZtD7elz0oF2UjXWpWkvD9LJT/Bk2NIqfnDXcH+o/g1I rHQg== ARC-Authentication-Results: i=1; mx.google.com; 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 dp1si10684778ejc.662.2020.09.22.01.26.51; Tue, 22 Sep 2020 01:27:13 -0700 (PDT) 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; 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 S1728786AbgIVFgy (ORCPT + 99 others); Tue, 22 Sep 2020 01:36:54 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:42064 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726495AbgIVFgv (ORCPT ); Tue, 22 Sep 2020 01:36:51 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 08M5MRpj016410; Tue, 22 Sep 2020 07:22:27 +0200 Date: Tue, 22 Sep 2020 07:22:27 +0200 From: Willy Tarreau To: poeschel@lemonage.de Cc: Miguel Ojeda Sandonis , open list Subject: Re: [PATCH v2 28/32] auxdisplay: hd44780: Remove clear_fast Message-ID: <20200922052227.GA16386@1wt.eu> References: <20191016082430.5955-1-poeschel@lemonage.de> <20200921144645.2061313-1-poeschel@lemonage.de> <20200921144645.2061313-29-poeschel@lemonage.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200921144645.2061313-29-poeschel@lemonage.de> User-Agent: Mutt/1.6.1 (2016-04-27) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lars, On Mon, Sep 21, 2020 at 04:46:40PM +0200, poeschel@lemonage.de wrote: > From: Lars Poeschel > > We remove the hd44780_clear_fast (display) clear implementation. charlcd > will fall back to use hd44780_common_clear_display then, which is much > much faster. I might have got confused, but it looks to me like patches 27 and 28 basically undo patch 26: in 26 you moved code to hd44780 and wrote a fallback, just to later delete that code. I seem to remember that the reason for the clear_fast() implementation is that the default clear_display() is quite slow for small displays, compared to what can be achieved by just filling the display with spaces (in the order of tens of milliseconds vs hundreds of microseconds). But I could be mistaken given how old this is, so please take my comment with a grain of salt. Willy