Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3655730rdb; Wed, 13 Sep 2023 20:46:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGV9VsaNFJ4qR32xGtRvDrEiu0vjzdLnI1LOc+SsW4G032Oy4Z72U8jbE1KRLM+cFu3zdA9 X-Received: by 2002:a05:6a21:32a9:b0:136:f3ef:4d2 with SMTP id yt41-20020a056a2132a900b00136f3ef04d2mr4449982pzb.3.1694663192232; Wed, 13 Sep 2023 20:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694663192; cv=none; d=google.com; s=arc-20160816; b=MO+8d2aweG+BfuYUtEdQwdWwltWtarVughOQ5AaHf3l6tH69URmfFT6UrnYZR8DCKY X4IzFEZs352EfFq1jjiSArojRect2P26l9wBekFPBoU/lHBAqBhxb9q86jIQ6kB7o6P1 RNpqaMSG9lPP14IQ5ea+CBrBB9TG7l1Hn338Ugry7rQPtatn3L6qq5F2TqDfy3Kg40Yf FIdDJF/pWdpacWwunaqFLHdJxtpZXBoecJpmMuhWRAhE0mfKnRv7b/UXw33Qej1g6Ynz mqJKbDu38MOvT6vkCrBDwc53pkTV3VjUnLYlzKsCiz8qVdlgdJ0PBFAxSe9sPtHrW3gg Xkpg== 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=wB9rIbKtdC8vvE0Z9iK8mxaspRNseaVhibM5IMYjY18=; fh=SuAE3+bz+CbhrLu0eznVwi5L0Z6iUOS/4o0AWK1a5jc=; b=saqTyM2YOQoupTAI5RCRXcPvY41JSNIlTGVEwoE905LIJr1Qpy47QcRo3YwG/sZlZc 3ESAhaqi1ioUAjcMfRpAucllIKASg8OJqBUGRzJZLjednEYnwfhKS++oSRvlHvgL2qMI CW3XBdPbRLthVkRG9GV/29PkJYLGJKu4z3uZkYo6c+oUC5JtR8VPPcpmLxOT7WepCdAs WFevp0VjZFYHiAwEiV3Csk1c/mYZTvmZp22HF1+S+R7XEQvsqipeDeEE1oV6cl7kFqlY V7nHceoSyYA79CdKTuWZ0iS9er/pkTrO5u2OLG2K912ghDDzrLJPCjeOO3To5ZbnlsvI 8hxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h1NRyJRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id z14-20020a17090ad78e00b0026f4996a23bsi3001056pju.171.2023.09.13.20.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 20:46:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h1NRyJRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 071B8842AD03; Wed, 13 Sep 2023 11:20:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231843AbjIMSUx (ORCPT + 99 others); Wed, 13 Sep 2023 14:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjIMSUw (ORCPT ); Wed, 13 Sep 2023 14:20:52 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A21F1BC6 for ; Wed, 13 Sep 2023 11:20:48 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso68982a12.0 for ; Wed, 13 Sep 2023 11:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1694629245; x=1695234045; darn=vger.kernel.org; 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=wB9rIbKtdC8vvE0Z9iK8mxaspRNseaVhibM5IMYjY18=; b=h1NRyJRynTMchvi16Y2qIDINC5tmSgi0Vew7VXt7U7/ZLYRHzahACFf9iM6aIZyJv5 V8yyZZtFI/vuXxq4g8IfC+Rjpp+OajQjt3uHOvz0jB6Uct2Pnd1xuyS4GGH+2kmsnNp/ RJ2na2akmEK78sSTez6huS/ujLUD6iHmwxRb0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694629245; x=1695234045; 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=wB9rIbKtdC8vvE0Z9iK8mxaspRNseaVhibM5IMYjY18=; b=N9QvbUOP9qxw+wXouOxz6VVnsJ0LErPQbtDQXaW4/LTTdHO14SYmMIUB4c1ZtEKw3P Ou2eB8g1dPc/CMPuCRBA7GRhqLGLCogQzoSE53DOQbsyokuYKRqEvIyXjT4xiz7VJ8ZA TLqPiASF2xoEBqtc73mMqyzC11k4fMbOJYL13dB7xEB7Q5WX8bcMsrVwjEWflkOeNgEs mkC+Beazon6iMEZzxApd8Lo96Bnbv3RMxWs4fAZbhTTxmv3do1jdqq6D7KMSe3MKJ0cE EoZRexQgkQFGeM8OCfMxHLb+rlRblYfGzxzGKb++oWZXVjC4mZ7L8oowow5VFS2gnXRZ RfXg== X-Gm-Message-State: AOJu0Yy00mSbO/101rhP3XhtwXDONx+bhqOX9qegFMMPmfwsVEkVQFMV 4qkMAqpUrNXx5Q7yhciPTM1lrWkO5+lOBAhTHGI/LHH1 X-Received: by 2002:aa7:cd46:0:b0:52c:9ce1:f117 with SMTP id v6-20020aa7cd46000000b0052c9ce1f117mr2369347edw.40.1694629245683; Wed, 13 Sep 2023 11:20:45 -0700 (PDT) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com. [209.85.128.43]) by smtp.gmail.com with ESMTPSA id m14-20020aa7d34e000000b0052a1a623267sm7627902edr.62.2023.09.13.11.20.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Sep 2023 11:20:45 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4005f0a6c2bso9345e9.1 for ; Wed, 13 Sep 2023 11:20:45 -0700 (PDT) X-Received: by 2002:a7b:c3c8:0:b0:400:fffe:edf6 with SMTP id t8-20020a7bc3c8000000b00400fffeedf6mr157674wmj.1.1694629244702; Wed, 13 Sep 2023 11:20:44 -0700 (PDT) MIME-Version: 1.0 References: <20230804210644.1862287-1-dianders@chromium.org> <20230804140605.RFC.2.Iabafd062e70f6b6b554cf23eeb75f57a80f7e985@changeid> In-Reply-To: <20230804140605.RFC.2.Iabafd062e70f6b6b554cf23eeb75f57a80f7e985@changeid> From: Doug Anderson Date: Wed, 13 Sep 2023 11:20:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 02/10] drm/panel: s6e63m0: Don't store+check prepared/enabled To: dri-devel@lists.freedesktop.org, Maxime Ripard Cc: Linus Walleij , Daniel Vetter , David Airlie , Neil Armstrong , Sam Ravnborg , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 11:20:59 -0700 (PDT) Hi, On Fri, Aug 4, 2023 at 2:07=E2=80=AFPM Douglas Anderson wrote: > > As talked about in commit d2aacaf07395 ("drm/panel: Check for already > prepared/enabled in drm_panel"), we want to remove needless code from > panel drivers that was storing and double-checking the > prepared/enabled state. Even if someone was relying on the > double-check before, that double-check is now in the core and not > needed in individual drivers. > > For the s6e63m0 panel driver, this actually fixes a subtle/minor error > handling bug in s6e63m0_prepare(). In one error case s6e63m0_prepare() > called s6e63m0_unprepare() directly if there was an error. This call > to s6e63m0_unprepare() would have been a no-op since ctx->prepared > wasn't set yet. > > Signed-off-by: Douglas Anderson > --- > > drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 25 ------------------- > 1 file changed, 25 deletions(-) In response to the cover letter [1], I proposed landing patches #1-#3 directly from here while we resolve the issues talked about in response to patch #4 [2]. I didn't hear any complaints, so I took Linus W's review tag from the cover letter and pushed this to drm-misc-next. d43f0fe153dc drm/panel: s6e63m0: Don't store+check prepared/enabled [1] https://lore.kernel.org/r/CAD=3DFV=3DUFuUsrrZmkL8_RL5WLvkJryDwRSAy_PWTa= -hX_p0dF+Q@mail.gmail.com [2] https://lore.kernel.org/r/20230804140605.RFC.4.I930069a32baab6faf46d6b2= 34f89613b5cec0f14@changeid/