Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5691880rdb; Wed, 13 Dec 2023 17:07:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPxTpT0egTJ2yfOaMs4tgatsq9k4g3icRMLKsnod+naHAlWDkfG3p2FqfJUcL/mA3x0BFj X-Received: by 2002:a05:6e02:218b:b0:35f:8005:2edc with SMTP id j11-20020a056e02218b00b0035f80052edcmr46178ila.55.1702516033933; Wed, 13 Dec 2023 17:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702516033; cv=none; d=google.com; s=arc-20160816; b=QjO7iau1CBPIeBGaCN9M2TsvRKeePlHXDY9ECajMfqFktWddOJVT7pC6OiQ7bbxJVo tIRe/DEVf5qWGeHxDJbxoTehKkhrPee0z78eZAmsea0QNT/asjhkvB0i5QP4Ri/unqqg oCBKnRWX9+2q0luJ91/lHwug54nwlnZ1NN2MdZFlcZsE/37n5oGbQtXQHlXBH61dsL2T msLVaHu5GLn9DJbWloBo+hbnnRyjlr/RbXnqCUbdMl9YK+Uce+1PfRfcP+J/7ihqJqzL fLT2JT5Wa3QYtssKXgZvk5ZVcBvClsb8QEFq9+vlaq2DL8R3TnjDDly8jlwzkFfA2Pyp JcTA== 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:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=peKqQhahD9JRG6w67FwL0sZR7IqqMN+7cEJCPbXgpS8=; fh=+Nli6d1jLtKWrqbBvQtj6vFO2lFL7df5hE0AFbqlmTE=; b=FfvIBcDVNperAz5Zh0CJoxtpzCgZ8bk6erGU8esJGvqute5MW/h1mkbNHkD9QTCjmt ph8X9HvOFmOAA9RZI38mAsI0PgJZDcF93AK3VyVKxO1rmjjjzhwmYCDpS0gCrzzvmqBz cHO/YTCLlaONP0AtijM3n731YltEy2RlSKipcSivQSIpTQixglNLOUR2JqMXmKjWk54U MyP7RgPppSHlPTS+LijcRxRf2stEqC0MO4+4k6UXyim00KiqcyXRQOwlAR797WIf043C TwRn7E9dYFEUY86zz9Vv8CS2W+SwttXwvDS81FY9yV0fjIGB3LhP6zXU+i/twwjGtJmG IXXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="cw/Wz/qB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h7-20020a63e147000000b005c626c40a55si10283324pgk.134.2023.12.13.17.07.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 17:07:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="cw/Wz/qB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 205B480C8D42; Wed, 13 Dec 2023 17:06:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234262AbjLNBGe (ORCPT + 99 others); Wed, 13 Dec 2023 20:06:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234117AbjLNBGc (ORCPT ); Wed, 13 Dec 2023 20:06:32 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFDB7E8 for ; Wed, 13 Dec 2023 17:06:38 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2c9f84533beso87083851fa.1 for ; Wed, 13 Dec 2023 17:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702515996; x=1703120796; darn=vger.kernel.org; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=peKqQhahD9JRG6w67FwL0sZR7IqqMN+7cEJCPbXgpS8=; b=cw/Wz/qBmUDgWvZLY+mt8wuaD0gqN0/KuzCVbuYonRQULoYb6y6stZG5p5X1pukETH x8kD44ObrdpdQSS9gbw5DRGSheuDkfm++CnyjVR6KhDfeKIP4/k17QZlWEiw07eArlRX hwfHEvF3jnUWAb8NozrTA5cUbzZl1SxRupyJw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702515996; x=1703120796; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=peKqQhahD9JRG6w67FwL0sZR7IqqMN+7cEJCPbXgpS8=; b=n8ouClHhiTz4Mk91GhR6aLBOxnAoJuSGcy09CRuhErUJoENCVU0i6plCLRQEPLtD0B kMGrGxuvJt18QuN3hWaVcp0JH9YaYD1ae3Wv3bH+6taz0XefH3cDfnKwlbbN3GtlGkej eVyMjE1CjO2QO8joiLz8vOjVlcd8cCQUYe9s3BzRjkzHz/Iar5uFqN/41+f4hh+rTrWa o37WQMZbS41hBIazo0jSRA5dtFsdR6l3AM9WzNfO5dDznD6xfynsNywvKOLwN8IqnMJe ga53FP1iU+4hGlPiWkDbZDDLbrgcF07GR8eZD4HqVcvfsn8B5js7tdzGs5Ca61OHpBzW X7Ng== X-Gm-Message-State: AOJu0YzjwoFFlUeR21255BXGVVAseoWS8GvPuVxE6kLyYyS62HpNy5Ed 9DeqfjnQxv70CpsDxhWz/xWncYgMVdjHNAr/vjoJxA== X-Received: by 2002:a2e:a373:0:b0:2cc:2591:bcd3 with SMTP id i19-20020a2ea373000000b002cc2591bcd3mr2000691ljn.106.1702515996638; Wed, 13 Dec 2023 17:06:36 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Dec 2023 17:06:36 -0800 MIME-Version: 1.0 In-Reply-To: <20231213163501.1.I8c20f926d15c9ddc12e423e07df1e89db1105d93@changeid> References: <20231213163501.1.I8c20f926d15c9ddc12e423e07df1e89db1105d93@changeid> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 13 Dec 2023 17:06:36 -0800 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Switch pompom to the generic edp-panel To: Bjorn Andersson , Douglas Anderson Cc: Andy Gross , Conor Dooley , Hsin-Yi Wang , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 17:06:46 -0800 (PST) Quoting Douglas Anderson (2023-12-13 16:35:02) > Pompom has several sources for its panel. Let's switch it to the > generic edp-panel compatible string to account for this. > > This fixes a problem where the panel wouldn't come up on some pompon > devices after commit fb3f43d50d9b ("drm/panel-edp: Avoid adding > multiple preferred modes"). Specifically, some models of pompom have a > 1920x1080 panel which is _very_ different than the 1366x768 panel > specified in the dts. Before the recent panel-edp fix on Linux things > kinda/sorta worked because the panel-edp driver would include both the > hardcoded and probed mode, AKA: > > * #0 1920x1080 > 60.00 1920 1944 1960 2000 1080 1083 1088 1111 133320 > flags: nhsync, nvsync; type: preferred, driver > * #1 1366x768 > 60.00 1366 1406 1438 1500 768 773 778 900 81000 > flags: nhsync, nvsync; type: preferred, driver > > ...and, at least on ChromeOS, the userspace was consistently picking > the first mode even though both were marked as "preferred". Now that > the Linux driver is fixed we only get the hardcoded mode. That means > we end up trying to drive a 1920x1080 panel at 1366x768 and it doesn't > work so well. > > Let's switch over to the generic panel-edp. > > Fixes: fb3f43d50d9b ("drm/panel-edp: Avoid adding multiple preferred modes") > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd