Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp5403lqh; Mon, 6 May 2024 09:30:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrSarJoja0AZvTGaQfamlnabS50/zw2MLCogsu5g43hTDLxwOmSAZ+7ObJoBpHjQ3Zg9nhbeBY9Qo/qLpEfY0lJFX1tiauEhUA1gQSQA== X-Google-Smtp-Source: AGHT+IHTXw5t9ADch9mtbqMnRR9rk+xzbNa+6H6Xc8b8FCrHzntinZd1GJuNzKLsve7QBtrNkrz0 X-Received: by 2002:a05:620a:1372:b0:792:92ab:4e70 with SMTP id d18-20020a05620a137200b0079292ab4e70mr6249102qkl.66.1715013059554; Mon, 06 May 2024 09:30:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715013059; cv=pass; d=google.com; s=arc-20160816; b=gfud/DE5sJkkY/+LNNoMhOkrZk7TDviGD4Jrcdo0woRor9eloSUfCxr0nijGToiPyr EAGs9ua84T0cgyUGK2o5FwL2BHkKOuhfoS9HUsGOBZ+b4GigmXnWp+xltGuDbb3biTPF 56Nngh9/gtFqVajGOIbOQhddc4Oarer+d/Ti2g71p2fjNATVI9TQvdwdSUOwI8hM22/4 U5HrwogkSJuc03jnAts7oL3aEeNrzvO3hVMcv0kwy1eXNidVmPDuJBH1cC4ONGtK87oP 30iZ8Jg6eWSIwqjIRw9GCqsEmECQ/pCqRTo16UIVqGB52AAV2Un8Q6PBJoJXo+UZVJfa iamA== 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=nQnd4aY/pG+UZoMQ241wAudPeJm5NS6R61L+eHJ1yk0=; fh=EfMihpsz6ZPSmSWfprDPx4aEbz6e4ZWgtIrs5zvKSUw=; b=eOKhu4P4UumNb4JQhm8smNvnQySCJI1iDy7M92XEXweuPpD3DE0vjHZybtOgmbqD25 +P8dbtokQAbL4UwkxhLYCRo0+2ivilqeYXv9gAnNFlPk+t/Uw10CCpcxlg4Xq0b94xvE buADnYhHLQWm3qEqQM09rOM9Ovms1Jbac95NPMsbROGu1t2HYM9L4mh7X6FG7QpaKy9h J4716EppV2rD4dp4R+/ec9fUsAAxvGZysEPub0cMOOzVuhbS2g5eUsKFyjWQ5fICZYDO QvwcYJWDYfXe+HjisoJdW8DEUvgP83zPAXY048OOOtwuTuUDsyQIkcryA3iyeWitIrJz 1+VQ==; 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-170175-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170175-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 bj24-20020a05620a191800b0079086be37c3si10597176qkb.356.2024.05.06.09.30.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170175-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-170175-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170175-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 469B21C21851 for ; Mon, 6 May 2024 16:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A29D15666D; Mon, 6 May 2024 16:30:50 +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 33AAB13D51F for ; Mon, 6 May 2024 16:30:46 +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=1715013049; cv=none; b=bhG81yKko//4xhlVrv5HvZ70btlOOYXZlIP+FmL0ORZZaP+jE37sHEKmIiXkPYbbMbbS8VcnTttdLlcqnL3DtIfRsaIVf7zfQsclgCczn3zEKOaNU3n6vu2Et8C1XQY6y2bxBIe6DgVJcnAHdwFrCBuAdL78KCjjw+5owXh8WJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715013049; c=relaxed/simple; bh=nQnd4aY/pG+UZoMQ241wAudPeJm5NS6R61L+eHJ1yk0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jwOQnLsP4UgIr4BZOAT3RKnC5HJL9uNysZMznx1JVepZzBURzUmcWS+yfGhPAKhR1pdBH6J35uTi65piFowW+Qmqp/cQoY+2NkI9gG155yv5pIMNlyPmyH7tCUf/FDfaTqe3m0+dIGEWLBclh++X8ilGQzUzWnULmgtObb/d/aw= 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 1s41Ea-0007pO-2R; Mon, 06 May 2024 18:30:36 +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 17/48] drm/panel: ltk500hd1829: Don't call unprepare+disable at shutdown/remove Date: Mon, 06 May 2024 18:30:34 +0200 Message-ID: <3555122.aV6nBDHxoP@diego> In-Reply-To: <20240503143327.RFT.v2.17.If3edcf846f754b425959980039372a9fd1599ecc@changeid> References: <20240503213441.177109-1-dianders@chromium.org> <20240503143327.RFT.v2.17.If3edcf846f754b425959980039372a9fd1599ecc@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:58 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 > Unfortunately, grepping mainline for this panel's compatible string > shows no hits, so we can't be 100% sure if the DRM modeset driver used > with this panel has been fixed. If it is found that the DRM modeset > driver hasn't been fixed then this patch could be temporarily reverted > until it is. >=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