Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp5911lqh; Mon, 6 May 2024 09:31:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWAvHjuznd+owbKROKb9+Gaq/4X609kfSFUt1JpUcb1xyZkbP3q1Kled4VngMlJJTFjN2TFlh5EPC8j1PfDK/8lKmEh6+lg8atynWIgHg== X-Google-Smtp-Source: AGHT+IHi6fP8erC5cwAiH9Z7rvbtaWyqKq6AM8ddiQW5RqLEpJhNGXZrqfC4vxBg4a+yKPdHk/KK X-Received: by 2002:a0d:d413:0:b0:61a:e903:8d4f with SMTP id w19-20020a0dd413000000b0061ae9038d4fmr10307633ywd.37.1715013108064; Mon, 06 May 2024 09:31:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715013108; cv=pass; d=google.com; s=arc-20160816; b=TBZoM+K+Nd2IdQh3vRYcI6DKs8J1KfQ8EX0IVYJLF3rvBhJma0zhiLTXk/m+exyVam sS9ftut3AOiaAVYMdZlOpxj7ZnGy0aUl9wWA9M9m7WYReeRi5VUApMvfP6en826wrPZ5 qjus5AKpPYqQX47q3u4+IA6g5nXtWP6EkOQ1wYJfvXElL+OLgU73PhkmmiNYILG16OhI CYBIgNFn01K3DcN/7ZMJnTAnkA7VTAm2/0QcgiJNMcch39RZ10jETXSvze9709t0ZHJR a1E2BJmvYhlPi51Shxq8h4B4z1ZSP5KKQ1W8xggyrvfZ1mm/W5KCPuoDTgXvJxh+C7Fz mhhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=ZJvnUhoYVaLEMbb5XJ4Z0cczShzv6cS7cnn6aaXGa6Y=; fh=EfMihpsz6ZPSmSWfprDPx4aEbz6e4ZWgtIrs5zvKSUw=; b=C3LQmMoeQEleLLBxKBspX4EgncZwo8VH2dDtw3VT+kt1nVyXmCk898C0uOPuibEHU0 kne1/vBxO5BdLKc75ZhFwmqe8MywmZfv0P5Wugr3Cp24iaj93BvSC8fIroHN3lssvaeE dHixuZ9G6QWK50/o8fPeEHWOobeVrylmDLrdJy5NZB6RLV62BifTW9J7N++iK8Y6w+PI nR1rRXmn0HODYCpshAFopojoEbLgvF3SWxhDWXKQAi6P2kxxNxB3LJWtjdwP451fWpDw AcJiqdin7mr4BrMS/n/jXBDNC92s/qkTpmVFhHboaisa3VBY/+AQcTKAi9eFfCk9VaEh curQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-170179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j10-20020a056102334a00b0047bcba56bacsi1772514vse.251.2024.05.06.09.31.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:31:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-170179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A062D1C218C4 for ; Mon, 6 May 2024 16:31:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4151156C62; Mon, 6 May 2024 16:31:28 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0608156C52 for ; Mon, 6 May 2024 16:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715013088; cv=none; b=cTMVrJLUGsRt57uY5v5iqCJplNUGOU0339L7lGufuL2FgtigD7itm2mMrAupkG9j1TE8vrSAPM2iIzlrHjftfqy5Cf99nTHWTIug0lR+1DLs5UTgZcfbjjP5nYqFzjj7ak5k9CSjHK7STAR906AiXJKDnLto8zUfWQ6WWjZYhac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715013088; c=relaxed/simple; bh=ZJvnUhoYVaLEMbb5XJ4Z0cczShzv6cS7cnn6aaXGa6Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TQeQrl//K/32kokJBpTh3SqkXt+1eTx49X7UiItPV9yP+JHuC05kqFZ1z71mvcHAoUI3hI0qpcmTnBb7jkgvmlm587b2LpuaCPfnmDpSSTPMZPfNA3vxiGFdXhg554jGqkzMErCjfstei8t6O2+aUrtQbr/55bIU12bYWnHWJaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875b5d.versanet.de ([83.135.91.93] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s41FD-0007qV-Kd; Mon, 06 May 2024 18:31:15 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: dri-devel@lists.freedesktop.org, Maxime Ripard , Douglas Anderson Cc: Linus Walleij , Chris Morgan , Yuran Pereira , Neil Armstrong , Douglas Anderson , Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Sam Ravnborg , Thomas Zimmermann , linux-kernel@vger.kernel.org Subject: Re: [RFT PATCH v2 31/48] drm/panel: xinpeng-xpp055c272: Don't call unprepare+disable at shutdown/remove Date: Mon, 06 May 2024 18:31:14 +0200 Message-ID: <2236140.6tgchFWduM@diego> In-Reply-To: <20240503143327.RFT.v2.31.Ib97e67a9877070698afbec4f8ede091b2bf89a1f@changeid> References: <20240503213441.177109-1-dianders@chromium.org> <20240503143327.RFT.v2.31.Ib97e67a9877070698afbec4f8ede091b2bf89a1f@changeid> 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="iso-8859-1" Am Freitag, 3. Mai 2024, 23:33:12 CEST schrieb Douglas Anderson: > It's the responsibility of a correctly written DRM modeset driver to > call drm_atomic_helper_shutdown() at shutdown time and that should be > disabling / unpreparing the panel if needed. Panel drivers shouldn't > be calling these functions themselves. >=20 > A recent effort was made to fix as many DRM modeset drivers as > possible [1] [2] [3] and most drivers are fixed now. >=20 > A grep through mainline for compatible strings used by this driver > indicates that it is used by Rockchip boards. The Rockchip driver > appears to be correctly calling drm_atomic_helper_shutdown() so we can > remove the calls. >=20 > [1] https://lore.kernel.org/r/20230901234015.566018-1-dianders@chromium.o= rg > [2] https://lore.kernel.org/r/20230901234202.566951-1-dianders@chromium.o= rg > [3] https://lore.kernel.org/r/20230921192749.1542462-1-dianders@chromium.= org >=20 > Cc: "Heiko St=FCbner" > Signed-off-by: Douglas Anderson the underlying setup (rockchip-drm with dw-dsi) as well as the change itself is similar to the ltk050h3146w variant, so I don't see how this should behave differently ;-) Reviewed-by: Heiko Stuebner