From mboxrd@z Thu Jan 1 00:00:00 1970 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 20EEAC4332F for ; Wed, 2 Nov 2022 09:05:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D9CA10E45E; Wed, 2 Nov 2022 09:05:18 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id B047A10E456 for ; Wed, 2 Nov 2022 09:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667379908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LpYqcUNkPgIA1fAPwB+EiO+Z9dq0ENSiM+RajxMrldI=; b=fJ+CH4yDVJb5VHIHufGUmN/EauV7GJJt2NyEPGm0+UHCTfz60qK5/mzgNpNO9EH6bHtAU6 GrR1pOjyIp+oYUPZfvGqAan9b59yzvSeIJWeXp9MeZPm5Zb9B+FkazMdI/Mgd1DNvYMQyB WjVA3U/3yWf1WmG6XIJBtPLh1v9+SYQ= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-614-sYla8jeVPFufmah8uf29Pw-1; Wed, 02 Nov 2022 05:05:06 -0400 X-MC-Unique: sYla8jeVPFufmah8uf29Pw-1 Received: by mail-wm1-f71.google.com with SMTP id l1-20020a7bc341000000b003bfe1273d6cso245919wmj.4 for ; Wed, 02 Nov 2022 02:05:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LpYqcUNkPgIA1fAPwB+EiO+Z9dq0ENSiM+RajxMrldI=; b=3W6Ytokm67dNKuZryL7lvynlAXp6QCfgeaBCQ395mo9YULMG01Qe410gIzBC3R8juZ VqBLXJaUm5yNvQs3HCFiFxQIPX1yAme3r5ggKYLRoAAwugGCoOkUqWmb3BFTAb4OgaRh GLJ4+Itklw2Z6yt5JA177nLQtHHMhi8IPcgDtQNrW7mZPBxtW/1ngUhZKJFmiTyxzGa5 jIKQhQxVeDAP0+Y/PA9k6vBxORQriPuIZF9oq1MRlZTVWx2VFekK0VxZ21lzSNLfayJI rWxvjycOTVMWak8DSyMIBQdPzLNgnu402rBPL2AfvZMFScAgmNGXeMZy1K8Mpdszrvfi vCCw== X-Gm-Message-State: ACrzQf0yWrEiDPhLLNld8W1nWnaGiTTT0iBGULfs7T4SaEbdT6TSkZfD ANrVXpEqDbByFCiIi5v6VUdyD1wppIQ4QVubni7/yCbhxUQH8xMAHCLJy1YVYWEQoj57eJwo3Hi ObMd7QGulXKcGAbutS3H8x9d7jKAC X-Received: by 2002:a5d:6488:0:b0:22b:3b0b:5e72 with SMTP id o8-20020a5d6488000000b0022b3b0b5e72mr14464152wri.138.1667379904740; Wed, 02 Nov 2022 02:05:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Ug/7BR+PMLuqwC0wiYVRKEgerXkzKho5yFNKIDT0bC26SnYKpkqpAn1quqQ9FNF9E1JGkLg== X-Received: by 2002:a5d:6488:0:b0:22b:3b0b:5e72 with SMTP id o8-20020a5d6488000000b0022b3b0b5e72mr14464139wri.138.1667379904487; Wed, 02 Nov 2022 02:05:04 -0700 (PDT) Received: from [192.168.1.130] (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id p2-20020a5d4582000000b00228d52b935asm12402687wrq.71.2022.11.02.02.05.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Nov 2022 02:05:04 -0700 (PDT) Message-ID: Date: Wed, 2 Nov 2022 10:05:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 To: Thomas Zimmermann , daniel@ffwll.ch, airlied@gmail.com, sam@ravnborg.org, mripard@kernel.org, maarten.lankhorst@linux.intel.com References: <20221024111953.24307-1-tzimmermann@suse.de> <20221024111953.24307-17-tzimmermann@suse.de> From: Javier Martinez Canillas In-Reply-To: <20221024111953.24307-17-tzimmermann@suse.de> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Intel-gfx] [PATCH v2 16/21] drm/fb-helper: Call fb_sync in I/O functions X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, linux-aspeed@lists.ozlabs.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-stm32@st-md-mailman.stormreply.com, linux-samsung-soc@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-rockchip@lists.infradead.org, xen-devel@lists.xenproject.org, linux-sunxi@lists.linux.dev, linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, etnaviv@lists.freedesktop.org, linux-mediatek@lists.infradead.org, spice-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-renesas-soc@vger.kernel.org, freedreno@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 10/24/22 13:19, Thomas Zimmermann wrote: > Call struct fb_ops.fb_sync in drm_fbdev_{read,write}() to mimic the > behavior of fbdev. Fbdev implementations of fb_read and fb_write in > struct fb_ops invoke fb_sync to synchronize with outstanding operations > before I/O. Doing the same in DRM implementations will allow us to use > them throughout DRM drivers. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat