Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp4629lqh; Mon, 6 May 2024 09:29:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWeL/Ffo5FEHCpkIFsCWnuctWOLf1Wv/O/skjBsfIj6TjmU2hU5080Ji79ruORZikxp6DZpQ6SWwb48syvvWrOJHHPs9OODJYCvuLzzHw== X-Google-Smtp-Source: AGHT+IECxw8Q7Z768/Fujz6hLNOTM8Rv6QZZLnMadfyWoTZmRhmqvtrKYFS3Vu76lg7ahieBHiC+ X-Received: by 2002:a50:d581:0:b0:56c:522f:53e1 with SMTP id v1-20020a50d581000000b0056c522f53e1mr8287808edi.17.1715012983906; Mon, 06 May 2024 09:29:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715012983; cv=pass; d=google.com; s=arc-20160816; b=rTd16xXJmZooMbeEW66ypp9Jt7tOYMu8JbO1kKI0nLf8rE8lxT2xSqKrvvA5h8WzyP Jl3/2uNPrucKJk4NlzWzSS1MP5uEQSAFEcv/94S8sWu8QKMHB9pvL2O9xgG2GA9RjM6k coaTp9IQ9jhRLtNPWEaE5Ca7czCRKplEobbVH10gKSFqIk8k4M0uEOYAM8r+USoGMchT g9Rns0gwc8G24yIE1FRt6cWzk99NpbqHa/qCUHCgx5Zz+jgA6k5NHflfxY665Z4wX727 MInzerLPnCIZFrlRfOT42VKw/dptXtUaFbSzfl1PTn4tZGN/Fr5kz223dDTmGwXkmLhB ZWag== 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=tlYatXkiJx90OMFzlk40cw50J+uMXHGkjhmqeYLvTS8=; fh=9Wc/gCGF4XHnQiTz+8kwABnhQyU+6ymghvD6l7oFRJk=; b=JkV5MikuevbDpXuNi4H6b7NLQ8tch5sUI5RoRMxs/6xyEkshOulLTE8C7R6l1kSKZ+ Ihztf0vuIou6/H01aKtHSWrnI9kSi8+wUgkRTyeHT7OObrlofeCld56xdPIvUwPD9rD1 Y4d03T4OlqrGPiLxXmhjo1Gt04kd5E5GtwvFAYAcxL7VKBzeLEE3vC8Rz/SwAA0HIyNm hgVt2q6f7yO9Rt/iodBqUvkHGW6moEGKggT0TVilHE3EO147nYdi5L0N2UEtarQDsPoC uLJ0eXrn1Xp0f/oOfBDdjUJxt43d3Tn9TYVVAU9ndR02mOs7IyqjMdREp5JCoBkzMadV sfYg==; 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-170169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170169-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g22-20020a0564021ed600b00572d69111f0si4111410edg.89.2024.05.06.09.29.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:29:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-170169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170169-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9F9E01F245A9 for ; Mon, 6 May 2024 16:29:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2369415665D; Mon, 6 May 2024 16:29:38 +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 3717015359F for ; Mon, 6 May 2024 16:29:35 +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=1715012977; cv=none; b=jfiFFb3CFY3xlgGaZcqbvyq0JCYCY5up+SOn1cwPY2U0e24dRbP89S2vXWDshRlREdWc6FuoV/ZAadCaBDjpMislgb0N8LY7QAyFltwwIBZqLH/d9ndAC2MvAsGY0unl3GYA4tYbVWgHETRoTJF/xiPaWgU2JL+rrRmKLm0M578= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012977; c=relaxed/simple; bh=tlYatXkiJx90OMFzlk40cw50J+uMXHGkjhmqeYLvTS8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=h/nBaFmi/5sL6Z692u36wEQQzeDjKmutNEJwCzGo0Hgmt1GYDBJ787NOowvoMZF36/UbMxfFIoC9PvCEswIS3+gOlU7ksfW0HxscqTYQS+wK/myru89eXnnhKwyIb+ovjBzMOiJEXiLkH4kwJQLzxEugs9nRAmiZ2lqfE7+/PsE= 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 1s41DP-0007nG-LU; Mon, 06 May 2024 18:29:23 +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 , Chris Zhong , Lin Huang , Brian Norris , Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Sam Ravnborg , Thomas Zimmermann , linux-kernel@vger.kernel.org Subject: Re: [RFT PATCH v2 09/48] drm/panel: innolux-p079zca: Don't call unprepare+disable at shutdown/remove Date: Mon, 06 May 2024 18:29:22 +0200 Message-ID: <39284559.10thIPus4b@diego> In-Reply-To: <20240503143327.RFT.v2.9.Iaddb8e0cab570e2f8066a4baf1d49239a820b799@changeid> References: <20240503213441.177109-1-dianders@chromium.org> <20240503143327.RFT.v2.9.Iaddb8e0cab570e2f8066a4baf1d49239a820b799@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:32:50 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: Chris Zhong > Cc: Lin Huang > Cc: Brian Norris > 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