Received: by 2002:ab2:4c07:0:b0:1f7:886a:16b6 with SMTP id o7csp1490663lqk; Mon, 6 May 2024 09:21:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHw2b+uFYq4N0Ppy9vCxy9C3UMVHGW2HtaAzq1YNtWHRlOLdQ8BEcqhK42ctaoB+04P0eiBTu1WoQDJayzl+4rYxwojch5MUdU0aKYZw== X-Google-Smtp-Source: AGHT+IHen9gcfuR1kfFlaefXYUrIxtghw+P4jRJs6ov8mDysgcoKNArrGeTrPI5fkggG4tOvDZiw X-Received: by 2002:a05:6402:26cb:b0:572:6ee9:5a37 with SMTP id x11-20020a05640226cb00b005726ee95a37mr3354291edd.11.1715012490134; Mon, 06 May 2024 09:21:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715012490; cv=pass; d=google.com; s=arc-20160816; b=X/F+ZC4Z+ZyHgXWHoQ2AawWvcL6zb1+au4MX5sbeg8PgcptbpSzQukluiGWF8npVFM mSSyARtGaqr7ccVcr9b/RekfGwZUyoL3kWG55v1rbG+Mv6I9daEsTLD0PAjnYSxyo+WB Q6Y3JfSqlGesD/U2QurymfdKPoazTvjFJQF9+sjj14rEVNPuD/hUf7BMWkVtTr2/okGb NJpT+hIXsQWsY5fJsIwwjuvxS7O45D4Aq4LDA0xaitsMXS7ocuWpEcfNEQhcL7OG3L6f QOfzxS9kXp2/7hFAexv1sUrIlyfxt0xtXKzeSAmv4yaMfH/UM9GVpzVx/1OgEmmGPfQa Qong== 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=DkLqQIEaXKBdA3sAuU+2MsNDlhI3wQHtN0Uzj+WtHo0=; fh=M6utC4HLyZ5vcUoQraNVRESPULGck2iPN7vvLIiNVFY=; b=zQ1jEgiIJIHhQvv9+/YSeINLUS4C4DaioiFBdmNFXu62AF7IP4twYHmZOlyPqUSN/S maakCHbD+S8vtwq/Zj7qy2v/vUBHdYlZ6TUo2iqWWjyQZwqFN3jKJJ1HDA+rdSCAXf+W Vm+o9sLPAXURWGDxPdgvaGtLkYSK7HrI4maocK9njXJqFfokqY3ythfJ7//0bee/I2B8 sFal0+t8PrA2r9RLdZtp5l0sNNDGxW7ZDiZYJS3moeSoUAM7nVYtxfdLWpEbqSrjuI81 ZgfZLkUSciZaV6x1v+4h23allhUFAUKi+NO2dCIkMblXlrnqtSl/5raOpfVaBEBl2uhg eKyA==; 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-170152-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170152-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. [147.75.80.249]) by mx.google.com with ESMTPS id w9-20020a056402128900b00572b2209018si4829096edv.224.2024.05.06.09.21.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:21:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170152-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-170152-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170152-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 CF8721F24B37 for ; Mon, 6 May 2024 16:21:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C659415623B; Mon, 6 May 2024 16:21:22 +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 08913155752 for ; Mon, 6 May 2024 16:21:19 +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=1715012482; cv=none; b=pbnG38paFR99Q8DPM9iPPDC1TjoV26Ft9xRddFfGqsFL7hVnTstqmbQqilAnPgbNZe0/ZzXjf55LNwYHKX/DYudBYojLh1y1rM3PWmohYHN5pzPCuqCP8gAHteMEbqO+Eo5idjTycVI154+hsrzUbu+vbs9Ym4l09wOrH47AVjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012482; c=relaxed/simple; bh=hH4SCqg/pYVdvvdEtlbEHY8w4yezkRxQAu26Sjylr20=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tCc46U+NopkWniPeLF2P/BOZWY9QxhePtl6cGWAZTEnEbDllb4lGhJ0kCCfjJsFfOHKlSNU5/3VlWUJAIbvOS9L7U3VXBSZjcW0t/aA0apNqysaeAcVkq+xgZPdtYPPptSUfGuXllo9dOTUf2paC3G8R5+3j/Ka8PDYYrVieZtI= 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 1s415J-0007im-LL; Mon, 06 May 2024 18:21:01 +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 , Quentin Schulz , Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Sam Ravnborg , Thomas Zimmermann , linux-kernel@vger.kernel.org Subject: Re: [RFT PATCH v2 15/48] drm/panel: ltk050h3146w: Don't call unprepare+disable at shutdown/remove Date: Mon, 06 May 2024 18:21:00 +0200 Message-ID: <2957706.k3LOHGUjKi@diego> In-Reply-To: <20240503143327.RFT.v2.15.Ibeb2e5692e34b136afe4cf55532f0696ab3f5eed@changeid> References: <20240503213441.177109-1-dianders@chromium.org> <20240503143327.RFT.v2.15.Ibeb2e5692e34b136afe4cf55532f0696ab3f5eed@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:56 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" > Cc: Quentin Schulz > Signed-off-by: Douglas Anderson On a rk3588-tiger with WIP DSI patches and this display Tested-by: Heiko Stuebner Before this patch on reboot the system emits [ 181.464230] panel-leadtek-ltk050h3146w fde20000.dsi.0: Skipping disable = of already disabled panel [ 181.465056] panel-leadtek-ltk050h3146w fde20000.dsi.0: Skipping unprepar= e of already unprepared panel after applying this patch, those lines are gone. Also the patch itself looks good Reviewed-by: Heiko Stuebner