Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp918186rdd; Wed, 10 Jan 2024 03:37:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHJV8DocXGUOU1KSdZjpXTlFBoUDvVwVr77hpCxKCLxM95S8oYFYoxADC3Nzp7+/zd1h1O X-Received: by 2002:a17:902:a38e:b0:1d0:476f:b2ba with SMTP id x14-20020a170902a38e00b001d0476fb2bamr754928pla.50.1704886664855; Wed, 10 Jan 2024 03:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704886664; cv=none; d=google.com; s=arc-20160816; b=Hua0YoM/zLcCZYkZhxXPkCdNveqK65JvPQJquvxtRtmrh71OpugLyuJrfyBOx5YQMz ncc4MVdT2R8FhxXGB2pB9wJCQeo8rf43/bCoKChGbgFyzIwuMxrjAH/vun6CCss0NNNK jtfotDgFdl3XDZi5p8ao3JXOXmeog5+w+0W++syXq6sesRTkSDseMj/1N7Q3nslgnJ0a 7fLgWniocmYSKXS0m9FVhIyxL047Hjf8y5nS0vVsOBujeZh/gUWXO42xS2hI8u6QbnPl 8CWhA2++uRVwg2us/4BMr5TGv7PDyKUfp5arEv8qseGIaFPEdijO4fARCtvvqWeITjHb 3Kaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Wtz+7SKzz9hrXYk9v1Im5ZeLktUFRpb9DhH87gAT8QU=; fh=9Yp0bFrxA9+ffbW33YOTJLBBsLet3ASZFKGLyV0dE1w=; b=MRi4Y4ADLk+KYmUbN2a7Az+c9m7ncfs8n1fZ5EX1TPPLrbrXk5s2up8tdd520f6l3p 1SpHWKDDzHUtaSOd1rgjAhkAc1wbcSTveWGKx1rkXZxqrJn3Mobcoz1F3c+CQb30Ydho DKeICKLUnsJ0FGfuQrH167VjhPAgQijRr99kJRK70qhuDPe57b0PHTbqwQhUo+VIMCCe jHTSCz/VT9FecOXtfPv3pUJoUro3qWq36PwvrwZmuShFs5nzyYtl/+rQR86qa0Z/n6Mk A19J+XzgRDcgwy1deK5rtJc+wRuXCg70pNlp1elt/oiU2CLvfb/TvMCRVvFNiePwbXW+ iufw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=oa4UMU8f; spf=pass (google.com: domain of linux-kernel+bounces-22094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m7-20020a170902db0700b001d3c3b750f7si3613620plx.332.2024.01.10.03.37.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:37:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=oa4UMU8f; spf=pass (google.com: domain of linux-kernel+bounces-22094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 275C4B21E55 for ; Wed, 10 Jan 2024 11:30:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B7E847A6F; Wed, 10 Jan 2024 11:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="oa4UMU8f" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01C5C32C66 for ; Wed, 10 Jan 2024 11:30:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5572a9b3420so8511854a12.1 for ; Wed, 10 Jan 2024 03:30:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1704886238; x=1705491038; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Wtz+7SKzz9hrXYk9v1Im5ZeLktUFRpb9DhH87gAT8QU=; b=oa4UMU8f9mjsL1+9gLAnQGc7qlR2gvwXI9/2liENhu3hG/shWwOHGHJeoZZoVO3/OT /XfrHKnYvym70kLKh/tXF67jhJ3vflPY0FmhdnWQYZ34ok3Iz07vFLcR9n8sBxdXDiN0 QSZw/ACvCG94iRPlKJ0XmEishyC34ym2aJp+VPeFsd1+OcOSdeKE87xdFGo/46Hc25e4 +IVgNrsaD081SIBU2fSwifGJD5Ud8OjaHz1dEiCZABig8o3WO37nEFkwr+HkNlK8KXLZ MAthXvUbhbklKN/8XvWXlJrLj9N0mYPZpKNHejZ06m1NyDyXewJjBHRgKXW8TUyXnhbc tQGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704886238; x=1705491038; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Wtz+7SKzz9hrXYk9v1Im5ZeLktUFRpb9DhH87gAT8QU=; b=TJZBEWNjp7ZhtbBKyCUAIXSfH3+/n5VeuEp5zWmf+bGa7cruHImHr4i9jC5mV2JPt2 uHKUmgPLHxkMnZ84a8L9YTsKgN4V1uCmOFGx+C7HFNOPpR1h48D1/b5YB+XK6Z9W9cAS x93p48YyON17YmKm6uZ0Ey2l4tp4j79chEUV68FwwOK/6C0YCsbOOhPtVgszK81+pFPI Qyx1XbJC/P+IjnciK5+HnFckvKOYdT5HXWXuTCPqQPq+UoMHXCihYKVOxXf+VY+IMBDa Az344SlcavS0bHgeovzKXnd3Rxu0Uo3XY2kfpKlWucM8A1+fh+s61omP8Tg01wbNn70R HswA== X-Gm-Message-State: AOJu0Yyt8ZSqqgZTaCsSc1UWgTrwX3JTaTtx2IyizKG3pDXt8jW12mAp XeKsiCNl5Kwzi1OXNRX5pm+SBMukfsmGNw== X-Received: by 2002:a17:906:f82:b0:a28:26e9:a13d with SMTP id q2-20020a1709060f8200b00a2826e9a13dmr919135ejj.55.1704886238293; Wed, 10 Jan 2024 03:30:38 -0800 (PST) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id hb21-20020a170906b89500b00a28d438a1b0sm1992896ejb.83.2024.01.10.03.30.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 03:30:38 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 10 Jan 2024 12:30:37 +0100 Message-Id: Cc: "Konrad Dybcio" , "Neil Armstrong" , "Jessica Zhang" , "Sam Ravnborg" , "David Airlie" , "Daniel Vetter" , "Maarten Lankhorst" , "Thomas Zimmermann" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Bjorn Andersson" , <~postmarketos/upstreaming@lists.sr.ht>, , , , , Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU From: "Luca Weiss" To: "Maxime Ripard" X-Mailer: aerc 0.15.2 References: <20240105-fp4-panel-v1-0-1afbabc55276@fairphone.com> <20240105-fp4-panel-v1-3-1afbabc55276@fairphone.com> <3fdc6e74-d817-4341-bf64-9096608990d6@linaro.org> <2zkiop7xg7w4vkpjpol25qna5wwbq4ja5o6iwuqh25m34k6mgd@aemrbzqgx2oe> In-Reply-To: <2zkiop7xg7w4vkpjpol25qna5wwbq4ja5o6iwuqh25m34k6mgd@aemrbzqgx2oe> On Wed Jan 10, 2024 at 12:23 PM CET, Maxime Ripard wrote: > On Wed, Jan 10, 2024 at 12:00:23PM +0100, Luca Weiss wrote: > > On Wed Jan 10, 2024 at 11:58 AM CET, Konrad Dybcio wrote: > > > > > > > > > On 1/5/24 15:29, Luca Weiss wrote: > > > > Add the description for the display panel found on this phone and r= emove > > > > the simple-framebuffer that was in place until now > > > > > > Why? They should be able to coexist with a smooth-ish handoff > >=20 > > Does that work upstream? I'm aware that downstream can do this but > > thought this was still missing upstream. > > It depends what you call smooth-ish I guess, but KMS handles the > handover just fine. You're likely to get a flicker during the transition > though. Right, seems to work. Also visually looks okay. fairphone-fp4:~$ dmesg | grep "frame buffer device" [ 0.250511] Console: switching to colour frame buffer device 135x146 [ 0.284146] simple-framebuffer a0000000.framebuffer: [drm] fb0: simpledr= mdrmfb frame buffer device [ 2.576712] Console: switching to colour frame buffer device 135x146 [ 2.604907] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb fram= e buffer device I thought before that having two outputs like this would cause two different framebuffers/display devices to appear, but yeah as I said seems okay. Will change in v2. Regards Luca > > Either way, the DT isn't the right place to choose, you should enable > both, and the distro will choose its policy through configuration. > > Maxime