Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4326597pxv; Tue, 20 Jul 2021 00:37:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaU8FT2jmDYyvOaIGtEoYYSCooH9k09RMbpvY7YHA/dnRO2p32uSvsN2/BTP6W3Thp37vg X-Received: by 2002:a05:6402:1809:: with SMTP id g9mr38845647edy.42.1626766626507; Tue, 20 Jul 2021 00:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626766626; cv=none; d=google.com; s=arc-20160816; b=An1dIi8hU4j1DRVDJisC0RvLUceQna73aY/2u7H8FDZqAiOhV/ii8w64lonhw5jtzR +2jpcpBfqhThxIQe2tHUyIv9rjUG83GQmMHjMPK3D/+iT0hWQqArZRxsL6JwTV0Ns5H1 uS4ZupllwfQ3YB21qqXakFQK/Kvrlk8SA6t0bVEiEeUwhFPxEP/oc7AEo5ndK+JYfV5z VwjShB3MgVeAtsiUB88benDwTZ4m8DhCa/hhDla9EnWFTPp2M7gBHpgL6fP2Am+ypRLA 7tuC1f35DUvba5TeZoLpLuj5oeJYJ2cd5JORvO/WlgkrxhDLbOjOsWhQMQAUEE8DFo+e 0RmQ== 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; bh=lcwwIKXkcen+cASiKX8dxRt5ZT8ziwWwN38CXX7LydU=; b=JRwwrBB6GCn0z/uRCloarzOsTxWomMx5jxOJZPBsx8cjD2Lw8XUUETM2pGd4gW+ElA goVrTwlFBUSuVu2+BoecyZ+PocMBGowiJwMLgHWocgrw/+jsASajU0TWiyLLdRdJ38R3 fi8tz/sl+DjHAvm8D7CtlPQQIPJ0AtzgdMpfm8fRt/76csHhQhqmwr1GsK3wt7F0VUPF Q3m7RbLrx1FbSs0OyCKy7e+dUErzyOjwb2ykit5aZUUkLQca+vULr/RlmGPXjeFMXS2n 7stzgSchjk4BRLg0MtKMcEfzz6wKLAaQyZU+ttz5dmONOiLF08mfqu423qi9PApi06a1 6k7w== 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 q21si23902842edw.595.2021.07.20.00.36.43; Tue, 20 Jul 2021 00:37:06 -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 S235221AbhGTGwq (ORCPT + 99 others); Tue, 20 Jul 2021 02:52:46 -0400 Received: from mail-ua1-f42.google.com ([209.85.222.42]:37447 "EHLO mail-ua1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234908AbhGTGwo (ORCPT ); Tue, 20 Jul 2021 02:52:44 -0400 Received: by mail-ua1-f42.google.com with SMTP id w6so7770829uaq.4; Tue, 20 Jul 2021 00:33:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lcwwIKXkcen+cASiKX8dxRt5ZT8ziwWwN38CXX7LydU=; b=dTHtdYxMC99ojL9KB6M8ky4NXxZPfUZc33CcpVXyJWvmpMuYN7iw+nInCfh/a86opD /f6FPCPsQwvshIdQTK9DymGaz9PK0c7o0UNI+tKQVV4SsmMosbzL+xjicVzy7t8Ovjon eyf8kVxDiFxeb32E+tcU3dnf0I/hJxM534aMvM4T3HjCRFvExHlqcANuu8aZbwZTy7UI OWbYXXE2fGVmKuFgoiXzho1axvwIJbYbtjIx2diPFDlUrtg9wlUl96av1EjbCAf5ChA6 YKcVw4pe8lbysryrQKxCB5ZcHsFEe7o7h4kknttjOTozZNKyhEbt6XcK5lcwBEW+f6WN SEgA== X-Gm-Message-State: AOAM532X4WmHahO/+aG+xwAr496sngMm+PblkJOjvRb8NBIog6arCbZ8 tXEobtEjcNzV0Q5aqxpu/LaGgqdie/A0s5huydUYlfMc X-Received: by 2002:ab0:6710:: with SMTP id q16mr6956039uam.106.1626766402335; Tue, 20 Jul 2021 00:33:22 -0700 (PDT) MIME-Version: 1.0 References: <20210714145804.2530727-1-geert@linux-m68k.org> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 20 Jul 2021 09:33:11 +0200 Message-ID: Subject: Re: [PATCH resend 0/5] video: fbdev: ssd1307fb: Optimizations and improvements To: Sam Ravnborg Cc: David Airlie , Daniel Vetter , Maxime Ripard , Linux Fbdev development list , Linux Kernel Mailing List , DRI Development Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, On Mon, Jul 19, 2021 at 9:23 PM Sam Ravnborg wrote: > On Wed, Jul 14, 2021 at 04:57:59PM +0200, Geert Uytterhoeven wrote: > > This patch series optimizes console operations on ssd1307fb, after the > > customary fixes and cleanups. > > > > Currently, each screen update triggers an I2C transfer of all screen > > data, up to 1 KiB of data for a 128x64 display, which takes at least 20 > > ms in Fast mode. While many displays are smaller, and thus require less > > data to be transferred, 20 ms is still an optimistic value, as the > > actual data transfer may be much slower, especially on bitbanged I2C > > drivers. After this series, the amount of data transfer is reduced, as > > fillrect, copyarea, and imageblit only update the rectangle that > > changed. > > > > This has been tested on an Adafruit FeatherWing OLED with an SSD1306 > > controller and a 128x32 OLED, connected to an OrangeCrab ECP5 FPGA board > > running a 64 MHz VexRiscv RISC-V softcore, where it reduced the CPU > > usage for blinking the cursor from more than 70% to ca. 10%. > > > > Thanks for your comments! > > > > Geert Uytterhoeven (5): > > video: fbdev: ssd1307fb: Propagate errors via > > ssd1307fb_update_display() > > video: fbdev: ssd1307fb: Simplify ssd1307fb_update_display() > > video: fbdev: ssd1307fb: Extract ssd1307fb_set_address_range() > > video: fbdev: ssd1307fb: Optimize screen updates > > video: fbdev: ssd1307fb: Cache address ranges > > A few comments left for a couple of patches. > The remaining patches are: > Acked-by: Sam Ravnborg Thank you! > Do you have commit rights to drm-misc-next? No I have not (and I don't think I should). 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