Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1404475pxb; Wed, 2 Feb 2022 04:21:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/hThHjT032Zw8PY7+3WaO6Rpcggp7pru0L8b8s02vdESmrypCRtbYBtMmaLgkhLyzJqT3 X-Received: by 2002:a17:902:d109:: with SMTP id w9mr30284504plw.138.1643804461882; Wed, 02 Feb 2022 04:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643804461; cv=none; d=google.com; s=arc-20160816; b=AwzTRMME5Htl3kKXpDMo78CUkyRysDxMtMBlKo/j1EPoQOLON5qJnLQJ+JJV+xOWrW wH/BteH0kjcBMZiNcEatnYedTRTxIgAaOqVQ2ypxltfZuEz0vcCiEqwPI8IcsGPjTbKy lQPpExT4W1bLDS9dsfsxXOypJ968MSrRss4PUK2jgWCp09bSOc2QXf2a8Q+D1KqEEZpB v5vJDamXgsinWYnEPx6Ln0CBoEPLXrzkTaOLS3jA7T/SHxdgUU9eyQRCiKsaCRAxRcNa jusUC7loV18SrW7usjoNAj3lt6ENlTb/lnPK1iQXfzjfsmArlK791hZlUym8BsAXnZ5b TGsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=aDMiXkwi3BfC3SPPQ8t8xXhg90+eUFi719hnxoui15o=; b=L96xhScxV043oU/essIwrD1zwVuqB3yql4GC998P0YCh41mWDObd3w2adXgxD9stWr nhs9waUuUX1kcahfEIMXUE36XOJfrwSEgw+nNSx8F25f1Xsui7o6sbWkV6g+MiLRCvRS 67QZeA1JUrP8cSp1j1FjU+K2xCVIw7bjhLEKbHBl/xR0mghX9oA2XJbrKcDKOyAilCJ0 Q1zY67k46wSmp5/LMSWKfHjVOT4e3+T8IYOT5cB/EonS/GQassXLWF9yLfv8LbKar/xg dbJky78KoJK421XtIQA6Dllr95bLLznkYUBUmn9Tof5p15eXv3NQwJwH9gjR6gWTe6L4 Dx8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=AKYee4MO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x71si18288995pgd.441.2022.02.02.04.20.50; Wed, 02 Feb 2022 04:21:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=AKYee4MO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245544AbiBBJpu (ORCPT + 99 others); Wed, 2 Feb 2022 04:45:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbiBBJpt (ORCPT ); Wed, 2 Feb 2022 04:45:49 -0500 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1449CC061714; Wed, 2 Feb 2022 01:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202112; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aDMiXkwi3BfC3SPPQ8t8xXhg90+eUFi719hnxoui15o=; b=AKYee4MOwBLIxJGWS2Fd5t6CKY 5bUwgpmi90bHHfELNxvmRp9fT11t3EECIoR8gYj/7pN4CTYqzdoyLtEim8611KNh7YeWS9FVd2XYs jV55GZtHBN+qFeqZUbyCUOMho19C/+3xLp3waKRqvSxwh6APVoESDgt37zgg253fLHarycQNZ0Yx+ 9/xKBiwYbfIQLHleRjOPLrFnM1oy9Qw/ZgK9P+GvHPf0v7P4/PSzy7QjoE4ZZqZUuPNyAQrQQyKIv fhXd1tHCUsh0QUaU7KxEHcLtk52Gpu8od+e043gXijMYpkWd9/xDqabWGxgzJaoJD610KaClFOVc6 Cmj8mHRg==; Received: from [2a01:799:95e:a400:cca0:57ac:c55d:a485] (port=49944) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFCCw-00049C-ED; Wed, 02 Feb 2022 10:45:46 +0100 Message-ID: Date: Wed, 2 Feb 2022 10:45:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/4] drm: Add I2C connector type To: Thomas Zimmermann , Sam Ravnborg , Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Geert Uytterhoeven , Maxime Ripard , Andy Shevchenko , Emil Velikov References: <20220131201225.2324984-1-javierm@redhat.com> <20220131201225.2324984-2-javierm@redhat.com> <4d9a56a7-da25-b411-61cc-372c6fa9011d@tronnes.org> <4966d03e-ee0c-5130-3819-05a90a8f6d06@suse.de> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <4966d03e-ee0c-5130-3819-05a90a8f6d06@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 02.02.2022 10.14, skrev Thomas Zimmermann: > Hi Noralf, > > since you're here, I'll just hijack the discussion to ask something only > semi-related. > > IIRC the gud driver doesn't update the display immediately during atomic > commits. Instead, it instructs a helper thread to do the update. What's > the rational behind this design? Is that something we should adopt for > other drivers that operate over slow buses (USB, I2C, etc)? Would this > be relevant for the ssd1307 driver? > Async flushing is only necessary on multi display setups where there's only one rendering loop for all the displays. I saw what tiny/gm12u320.c did and Hans gave me the rationale. The SPI drivers run flushing inline. Info on the gud wiki: https://github.com/notro/gud/wiki/Linux-Host-Driver#asynchronous-flushing Noralf.