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 X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDE01C4727E for ; Wed, 30 Sep 2020 09:42:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67B9E2076E for ; Wed, 30 Sep 2020 09:42:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lJ/aFuTS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="fG7q4eP2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67B9E2076E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AhME4+rstQfiOtE6w/xBUUdTbPN2QZ04mwfSpAbU8JQ=; b=lJ/aFuTSi600SntiChZWwkwnf QWNhEY1mweQRiAuXFvRSGihSAAd6vULJIXKELN0DQGxo4pTrGKlC4aWZ3mSkXFbppW+kOit7y6TeY QLLBGxSk92WBPc+TsSMbqWp6a930cbSCATkkzy25iHqKBLFAR6tZgZmbXEfAhXOPgK18QIKnAWkSg URjJlTbB4U2H++C9s7YBYE07u3vubMg4rU+8KTt+hXaBhN3D7HbvfnhERLWP4U9o+yuHbcexh12km J2PzrBM4phiTBlp1irr5rCVUvYLJCLB16PIVmjH7piaI/B9sGmh0RaDP/dUYAOIqFd3bd/js7Gryg 4hYj2hnyw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNYbQ-0008MB-GX; Wed, 30 Sep 2020 09:40:48 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNYbM-0008KD-SQ for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 09:40:46 +0000 Received: by mail-wm1-x343.google.com with SMTP id x23so961877wmi.3 for ; Wed, 30 Sep 2020 02:40:43 -0700 (PDT) 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=YB7AakyQd7CL2zmCeAUBvGEPuC69+hG9+Pe2SkWFFNM=; b=fG7q4eP2Tl4eo04zP6qjfsjx5voOrFQeegCnPhv/Yji9l+so9t4XoTMLHz7iA7WfIN MeCuen9wnPRbU8MsR/u8NS5Ij8uHIDTSJE1h2HA/lfnNt8lGBJU26N+SqSrfRsG9fFQ7 ldqBC0olVDT3kLwIZgack9xQ9XbstFNq36Gn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YB7AakyQd7CL2zmCeAUBvGEPuC69+hG9+Pe2SkWFFNM=; b=e6i6Ks+HG4NTJ8HDTZCX3XeBobmvkkE8cdNSXOfbba//lmJzrLZSMY/HeUMlkwwlvg qdxbmUY8oRir+fpuoFwVP3v9aiHCKt9y/2c7qfc9QrYrvmg96Wg0/BQg57sHyoleqUzG IDcAelY+dbcDyTspVkR8bA//YZYJdl/me0mxcNYAmXozAHHaMGg5WHBc8iHh/ku0jZz1 I4rhqJMhaCuowzflTBlagjtAq/wilkWHqDpSBIVOvVZJihhDvBY528AeOStnKlKCjgCj ccaiebI1bN2IrZs6KhjcTh8MrY4WlHuZIw1WrZJz9708xcJt4Ly6nvEtw4GV+yBxSzRY 4N8A== X-Gm-Message-State: AOAM531/LJ/gwXpKywUtVoMtKgboVbaHD/q3MiiBtsvGNHVYs4I9t4gd OEHyrlgFFQogEDakWVE+mqaQfg== X-Google-Smtp-Source: ABdhPJzK2umvAHdCdHgriUhGB3rMUgsGmxl++CvBC69+cgoRXAU/LmXQyrtnigPQ34g5q0S1VU+YJQ== X-Received: by 2002:a7b:c753:: with SMTP id w19mr1955747wmk.157.1601458842462; Wed, 30 Sep 2020 02:40:42 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id k15sm2004760wrv.90.2020.09.30.02.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 02:40:41 -0700 (PDT) Date: Wed, 30 Sep 2020 11:40:39 +0200 From: Daniel Vetter To: Linus Walleij Subject: Re: [PATCH] Revert "video: fbdev: amba-clcd: Retire elder CLCD driver" Message-ID: <20200930094039.GU438822@phenom.ffwll.local> References: <20200928200856.1897023-1-pcc@google.com> <0dc9f36b-417d-bfad-9eb7-858c3041ff0c@baylibre.com> <20200929093201.GL438822@phenom.ffwll.local> <20200929164828.GP438822@phenom.ffwll.local> <20200929165206.GQ438822@phenom.ffwll.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_054044_976581_70126908 X-CRM114-Status: GOOD ( 17.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Sean Paul , Kevin Brodsky , Russell King , ML dri-devel , Eric Anholt , Daniel Vetter , Peter Collingbourne , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 29, 2020 at 10:29:22PM +0200, Linus Walleij wrote: > On Tue, Sep 29, 2020 at 8:44 PM Daniel Vetter wrote: > > On Tue, Sep 29, 2020 at 7:49 PM Peter Collingbourne wrote: > > > But aside from all this, why is this blocking the migration from fbdev > > to drm? With fbdev you don't have buffer allocations, nor dma-buf > > support, and somehow android can boot. > > I do not know how Android does things these days but back in the > days it would request a virtual framebuffer twice the height of the > physical framebuffer and then pan that up/down between composing > frames, thus achieving a type of double-buffering from userspace. > > Given the type of bugs Peter is seeing this seems to still be the > case, Peter can you confirm? We have the overallocate option for the fbdev emulation to support this use case of flipping buffers. So this part should work I think, but maybe some other parts of our check_var/set_par implementation don't work in a way to make surface flinger happy. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4C61C4727F for ; Wed, 30 Sep 2020 09:40:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 567BC207C3 for ; Wed, 30 Sep 2020 09:40:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="fG7q4eP2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 567BC207C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 68EBB89C82; Wed, 30 Sep 2020 09:40:45 +0000 (UTC) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id B4C0989C82 for ; Wed, 30 Sep 2020 09:40:43 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id v12so987397wmh.3 for ; Wed, 30 Sep 2020 02:40:43 -0700 (PDT) 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=YB7AakyQd7CL2zmCeAUBvGEPuC69+hG9+Pe2SkWFFNM=; b=fG7q4eP2Tl4eo04zP6qjfsjx5voOrFQeegCnPhv/Yji9l+so9t4XoTMLHz7iA7WfIN MeCuen9wnPRbU8MsR/u8NS5Ij8uHIDTSJE1h2HA/lfnNt8lGBJU26N+SqSrfRsG9fFQ7 ldqBC0olVDT3kLwIZgack9xQ9XbstFNq36Gn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YB7AakyQd7CL2zmCeAUBvGEPuC69+hG9+Pe2SkWFFNM=; b=cKU9e+fXRDThK6hjHV6HCzvejqNGYyBM7ASsnEECtYwy4l7pUkeLB0gIwHi7Z66VAH cIS/RRZffgRJAQU8GNCC1308oeQyrYTEQ7TVXBkg1p0Jm8n6/k1a+0NBSBg7x0rYaDGt N+FWQuPOZcb69gREn+YldHe9HWEftJygK7VQo9OkPfFtiUtthiFVraaqQ6DhksJTfr2S UVzQOQaIHTR7OM6gcRWme4/b10Qh0Cof3liXjqxBqSIBJ1XyT759FyY9VUkZVR0fAqBT qS4WSMSoqbt2juemhMawOE1TQ5Xw1O2iyPSXpUG3Yh6p5VICPYvydDz4Pz5k/7JmDeck 3gOQ== X-Gm-Message-State: AOAM5326+wYXojSsETLTxYs8gDMy3QCTxNzZAwv36becckYVNrmsoerL 7zpSMI6lK/GQw6/4BHD5Okz6YA== X-Google-Smtp-Source: ABdhPJzK2umvAHdCdHgriUhGB3rMUgsGmxl++CvBC69+cgoRXAU/LmXQyrtnigPQ34g5q0S1VU+YJQ== X-Received: by 2002:a7b:c753:: with SMTP id w19mr1955747wmk.157.1601458842462; Wed, 30 Sep 2020 02:40:42 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id k15sm2004760wrv.90.2020.09.30.02.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 02:40:41 -0700 (PDT) Date: Wed, 30 Sep 2020 11:40:39 +0200 From: Daniel Vetter To: Linus Walleij Subject: Re: [PATCH] Revert "video: fbdev: amba-clcd: Retire elder CLCD driver" Message-ID: <20200930094039.GU438822@phenom.ffwll.local> References: <20200928200856.1897023-1-pcc@google.com> <0dc9f36b-417d-bfad-9eb7-858c3041ff0c@baylibre.com> <20200929093201.GL438822@phenom.ffwll.local> <20200929164828.GP438822@phenom.ffwll.local> <20200929165206.GQ438822@phenom.ffwll.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-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: Neil Armstrong , Sean Paul , Kevin Brodsky , Russell King , ML dri-devel , Peter Collingbourne , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Sep 29, 2020 at 10:29:22PM +0200, Linus Walleij wrote: > On Tue, Sep 29, 2020 at 8:44 PM Daniel Vetter wrote: > > On Tue, Sep 29, 2020 at 7:49 PM Peter Collingbourne wrote: > > > But aside from all this, why is this blocking the migration from fbdev > > to drm? With fbdev you don't have buffer allocations, nor dma-buf > > support, and somehow android can boot. > > I do not know how Android does things these days but back in the > days it would request a virtual framebuffer twice the height of the > physical framebuffer and then pan that up/down between composing > frames, thus achieving a type of double-buffering from userspace. > > Given the type of bugs Peter is seeing this seems to still be the > case, Peter can you confirm? We have the overallocate option for the fbdev emulation to support this use case of flipping buffers. So this part should work I think, but maybe some other parts of our check_var/set_par implementation don't work in a way to make surface flinger happy. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel