Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp4998lqh; Mon, 6 May 2024 09:30:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjU4TDCim7vcMA3CBxc/DQOO6jFpysUzGjRBtr017IZJqDFKpU8lvbRMWLyZiPoX5Qf887eEVcKD+MqZPyFeXTJ9qcNxqWdhDG+9FVhQ== X-Google-Smtp-Source: AGHT+IERhI0hwu7jMS/FF4mJuYh/JQqqsdW9L1ByzbzMTzUeN1Y9zO0vrV1AWNNBj+REDNFGasaI X-Received: by 2002:a05:6808:17aa:b0:3c9:5107:ebeb with SMTP id bg42-20020a05680817aa00b003c95107ebebmr17551206oib.5.1715013022822; Mon, 06 May 2024 09:30:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715013022; cv=pass; d=google.com; s=arc-20160816; b=QC3n/ieLmP0qO43H87V+fxhzWX2w51yDxWp5u0u6SCssjZ9HGjTrHXBzCeXSG7Hsz0 xiZVtazc+nvjWSWTTU/xX9cY2xaZmNkrKweKBWTWIVAB7d+8aARb8MW/mjwZyshBadvx B+qD/myG50ndOM18GVu7hR0EjdbCmev2smHK7JBX0+L77fUzJ5gatnkodX/yO4ZPfkBb ulPmqQsQzEEUXSY47g3tf46dVGo0i6+yMy7PVLCveJ9BBhbiP9nUvbMyb8LZL4bvomq+ n4NCAcaMRbuEv6B5WeaGTLuVkhHAXZk49DFzjahvokVGXf3zh+7PTmcMysvmvJmb6hrw GF8A== 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=8XlQr1oqgw4PmNtbRGVAiWxc42cOpeTfm3v/lJMDO14=; fh=PD8fjbvG7LVvmSCpkkFkW28SAMFVP+Eldy25QvT7GHM=; b=n4PgA3pxwHi4bbzFNho5xVZe3ycb2SvdmBbDXf3lqQw83qhaAarHdAesqo9wMygvLl r3jmsW8kxazcyDOhPAJNw9sp7iYFa8YafQXywYaCxEWquGEQJ8L1DsnQPZmOQm9sxU3b 9ieA4fU6zknoAjjSlmpkHGGDjHrBJXUfakESsGVHnb/+WCdcMvONzBrVba0r0VqwLSBk vxnwxO5wv9reV5so6u6rlg034hmjWUzPzXz+758w0buX+fhkNC8iL/ngu9iOUUioYi6Q HUM2xOI0spFe15rZuMZKlI1IrrrFiv189T9FdCwWAzIKIDFm1YgmbnQoyQG2w6zEWAF5 FpuQ==; 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-170172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170172-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 u15-20020ad45aaf000000b0069b40717220si9994391qvg.526.2024.05.06.09.30.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:30:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170172-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-170172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170172-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 83BFA1C20FEB for ; Mon, 6 May 2024 16:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE5004316B; Mon, 6 May 2024 16:30:10 +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 A59E5156678 for ; Mon, 6 May 2024 16:30:07 +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=1715013010; cv=none; b=G6Kt3TIPUMENUIFewUAxI/khsyXFa7Hpf3g6vONSAHzOYBC9FHOYkQU34r4IQLAyMES8ruHAGT8CHarwE0o8+HEDwIsOF7jExEL9GtR8eMbhQQXNgbd8+JMIqYi1+usNHdcjpQ7h/OA7Kimg/mb+dWY9Pw5vdmndUIpLqqPfCmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715013010; c=relaxed/simple; bh=8XlQr1oqgw4PmNtbRGVAiWxc42cOpeTfm3v/lJMDO14=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fD1BDV2sh0XuEJeksplCjSpUFu0ecLNJNvZZP+M0tkNZSTtlFSYlju1WnMel8j3Wqn/W6sRtsKQ9jf3Ro7JoIT4lE69zW0KDpdhEmRmd+S+CkAfqbPEpF10N7VVACLz3DacrY2HAiWZg3UgSJwpQxI4g//nVXpIqMbExgAow8NI= 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 1s41Du-0007oF-Ng; Mon, 06 May 2024 18:29:54 +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 , Brian Norris , Chris Zhong , Nickey Yang , Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Sam Ravnborg , Thomas Zimmermann , linux-kernel@vger.kernel.org Subject: Re: [RFT PATCH v2 13/48] drm/panel: kingdisplay-kd097d04: Don't call unprepare+disable at shutdown/remove Date: Mon, 06 May 2024 18:29:53 +0200 Message-ID: <2053441.QkHrqEjB74@diego> In-Reply-To: <20240503143327.RFT.v2.13.I6c7c84b1560dd374f6e7e8dc50f419a870d31d31@changeid> References: <20240503213441.177109-1-dianders@chromium.org> <20240503143327.RFT.v2.13.I6c7c84b1560dd374f6e7e8dc50f419a870d31d31@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:54 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 > appear 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: Brian Norris > Cc: Chris Zhong > Cc: Nickey Yang > 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