Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19672032rwd; Wed, 28 Jun 2023 12:30:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7LqNO1Hgslu89grxmKYSmFC7RUTnTK4A/iC4dvHLDaJg4lz31rwTGfBBKdmWYNLrARAGX6 X-Received: by 2002:a05:6a20:6a24:b0:103:d538:5ea6 with SMTP id p36-20020a056a206a2400b00103d5385ea6mr29577679pzk.48.1687980636945; Wed, 28 Jun 2023 12:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687980636; cv=none; d=google.com; s=arc-20160816; b=kQ8tS/iBsjqUnfq5UiwQF617qWYGtACB2c/gGYGLEZb/T2XBzMG2C9DSn5rGwVnji1 3IqgoGXE4ItppCdH9NpLIqYS6/zY4qHe/FCV8AcTH1ssD/4IUBILylH25cW1ubIzmy6y qlGC2CC2a/gH1LbdeTsCRhXjB4FlWnHB2IKmWORVD2faR16FBMcDODDWCSXkeZ8QVGKi GrvwHYFjNZpiKVKMFTs2sIglahdW+EupAHM/rGQ0cX23GuwilrYWiVrR3ksZPR5FDmXK mY0lx2yg7MlpREr/WWsGEXpP7lwqkg9B4fQgSHZz35zocwbsUXcOggJxSNDtz143ohZh M7Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7DUD/shWe46KMvA0LBMlGn2qbYD6iSa8fQ8POxlPlXM=; fh=VzEEJb5JQ413zgd7rIBqTVfFHwB3RkXk78jRGEqFXP8=; b=wNzLb3kL5zpUAhHLLSkCCaKVZj4+MbWCqmxqoQHIIxQVJ/CHo3zevs3PY4TKGX0XvJ KNIJmcnn8GieqpAzH6Kfc6rb6I/fNYzC3zcFiJ8UXkiFhZAI72JHik9zGp1Um7yyYNkg 9VrS/ZA3hS+nd0mNUuy/dNDfWHfNX9N8jP0A+Syvfs7w6nkpmem3d05AWtYxFYqVvBOD DsnMxUOxl8Bk+cbEoGiiS0mW4UHI3W2dUZFUxwTgzQEB1/TmLImZN8F87tafvdpabRLW OC4IrrGZAn9NVRbxzhvCS2gkQk3ZkbOxuTfWflqjZFaVml2elo/XfXBxEBrKVXLO9NuZ Mjbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bwFjvvNc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs190-20020a6328c7000000b00553213cebd2si2822014pgb.180.2023.06.28.12.30.21; Wed, 28 Jun 2023 12:30:36 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=bwFjvvNc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230216AbjF1TTC (ORCPT + 99 others); Wed, 28 Jun 2023 15:19:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231379AbjF1TSw (ORCPT ); Wed, 28 Jun 2023 15:18:52 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 954B61FF1 for ; Wed, 28 Jun 2023 12:18:50 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5702116762fso1842407b3.3 for ; Wed, 28 Jun 2023 12:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687979930; x=1690571930; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7DUD/shWe46KMvA0LBMlGn2qbYD6iSa8fQ8POxlPlXM=; b=bwFjvvNcUJo7//TF8Jp1vEu1xBV6qJmdrgeX0/ANiiVkekDwHHURXv+DV88cWYT6jW RbHZEIn3r9PtHYcU4fIMjie5zJI6IS0zU0Yq+6jHzzBqH1S+8mbos0IDAI3y4O1YxynU imdW1P2optY818M2gbNF5hU4q2ZU/cpterMPuJEU5VtKZ63vv5BOPOYpaOXFEVDcJCZe njEyQ1uoFmFpp8jWN7ztedU+45WHoCMjLCJHxIZUoYY3yo0OHqUkekyUbJVC4tKKMOka OguEhhd/Ez61qhzCh0w6nIJMbVWfYEit5vhI4og1FaIZ6NwTsVbGXZoQEAU8iEt/P0Zs bmkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687979930; x=1690571930; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7DUD/shWe46KMvA0LBMlGn2qbYD6iSa8fQ8POxlPlXM=; b=G7d1v8or+FyiJ5fTFEv60LczoxzN8MsSYXHNJCWO+rh6EpO3BfewZJvUHArf6KGjow /3uL8+25FvTWTIcgXC389KzOiI3vHDthfaG6O+LwUkpGXeg/l+I3l1bG+mzXdWSy18+6 nfgxi7D8IDAWKboKO7akcVrnFTrbyNl/bf84VroGsrrTlhmqG9+kUbdDB3VM30DVUEcr j22adUPnRBvgqmPHO21qVM9bpc0z3gDTQi3e3XOKOuinbXDTstpwNI4f2meDEJ2KN5zR mrMO8zESjOUED6hCqYksoaRUf3yJvoWRHFe5G4H2Gm1m0D4CEfbejTF07w6HLXPzSrlq u4rA== X-Gm-Message-State: AC+VfDzjkL3IQRv3DXFZ/Qk+K9nKOqnT1boEsvEaVMnIkpF5k/R3l8Dx Aa0jtOQt1UIHnRoD6pBrQ3zaFeXxgl3yEAaZ1YNfKA== X-Received: by 2002:a05:6902:91:b0:bb8:4cc6:9d09 with SMTP id h17-20020a056902009100b00bb84cc69d09mr28026725ybs.29.1687979929795; Wed, 28 Jun 2023 12:18:49 -0700 (PDT) MIME-Version: 1.0 References: <20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org> <20230521-drm-panels-sony-v1-10-541c341d6bee@somainline.org> In-Reply-To: From: Linus Walleij Date: Wed, 28 Jun 2023 21:18:38 +0200 Message-ID: Subject: Re: [PATCH RFC 10/10] drm/panel/sony-griffin-samsung: Add panel driver for Sony Xperia 1 To: Marijn Suijten Cc: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Caleb Connolly , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Jami Kettunen , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Abhinav Kumar , Konrad Dybcio , Martin Botka , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Dmitry Baryshkov , Jessica Zhang , Kuogee Hsieh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On Wed, Jun 28, 2023 at 4:20=E2=80=AFPM Marijn Suijten wrote: > But for now we might already create a step-up version of that by having > a "Samsung panel driver library" to deduplicate generic commands, which > drivers can freely call into? Yeah something like that is likely what we want. > On the other hand of the spectrum we currently have 4 downstream panels > for Sony devices that all declare to be using the sofef01 controller, > but with vastly different command sets. And even if we "accidentally" > send the wrong set for the wrong device, the panel works anyway with no > noticeable color shifts or otherwise... Yeah that is typically the case :/ We should try to group the similar code together and expect that sooner or later we will figure out what display controller(s) it is and name it af= ter that rather than after the panel (which I define as the combination of a display controller and an actual panel). Yours, Linus Walleij