From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 1E44D2D5C83 for ; Thu, 11 Dec 2025 09:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765446261; cv=none; b=dTFUgyxKRynKaw1sPbHJJyIipvVw2IT61Jtr8H7HT5rl7ozqf0Uh62Tvldll8FBCw10HDEH6/P+95Zxze3ZgpT8d4QMQ8I/ohsGqTton6uSLbrH/3CIP3CcUPnOfjc2ZUgoSWTgCIgdW/futc1wik3H2VrY6t1cAcioEGw9POug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765446261; c=relaxed/simple; bh=/u7esKkGZZbKRAxs4ImKOyHn03HZGPz7U0kUHDzIEks=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=W2nLGEy4VvD0j5ECAf7D3sKbWJrLSwXykqDPslP1Q7hEsEj/POn7k/GjoExmAFbUnZPfi3M9n7of5LRzrK+R6od3Oudi2z9cuXoBnJ6r7ajpOJuxbQpvNx80QDBHCug9R2phw1sC6gDFeUz6tHggD/CcZgBHu/ShY3d65mppPak= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=gxsvFGtP; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="gxsvFGtP" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 83D251A20E3; Thu, 11 Dec 2025 09:44:17 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 514976068C; Thu, 11 Dec 2025 09:44:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4E507103C8D53; Thu, 11 Dec 2025 10:44:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1765446256; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=zGzU3kbLemiWMqEmTPLKGTorh/h4e+IJdkwMTpq4JE8=; b=gxsvFGtPTLnD0JyjG6m9prqnZ61BlB5362xEqI6cR9nBOHH9hRpNRZvTanPUldgR0OZ0e7 Numb+R1znKwhLHoHECxBAR1AcJekgNSbI7h9NQlhPEKNZLAxLpepfGoGBXTtq0U4K+MuBt 9K8F4Uk/DaR2NJxFFUCuUqVPZVNLBhYPORXe2yJjHkZmd7OxLUmPlD+2+C2QOPeq1Xf8hn KDc6vbeEFtc2G+8B9F6IEziZ9e25xgLfschQPsRSPsswbqMwKxXEieHhVxuzUweTD9DT6S CpT+7uK0xSKn0yj1TUzfbNGxqRYZNXv7ufdYLb5Bdy1JMxUsytowlD6hlfZq6g== Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 11 Dec 2025 10:44:10 +0100 Message-Id: Subject: Re: [PATCH 09/21] drm/tilcdc: Remove tilcdc_panel_info structure Cc: "Markus Schneider-Pargmann" , "Louis Chauvet" , "Thomas Petazzoni" , "Miguel Gazquez" , , , , , To: "Kory Maincent (TI.com)" , "Jyri Sarha" , "Tomi Valkeinen" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Russell King" , "Bartosz Golaszewski" , "Tony Lindgren" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" From: "Luca Ceresoli" X-Mailer: aerc 0.20.1 References: <20251126-feature_tilcdc-v1-0-49b9ef2e3aa0@bootlin.com> <20251126-feature_tilcdc-v1-9-49b9ef2e3aa0@bootlin.com> In-Reply-To: <20251126-feature_tilcdc-v1-9-49b9ef2e3aa0@bootlin.com> X-Last-TLS-Session-Version: TLSv1.3 On Wed Nov 26, 2025 at 6:35 PM CET, Kory Maincent (TI.com) wrote: > Remove the tilcdc_panel_info structure and its associated helper > function as the structure contains only redundant or unused parameters. > > Most panel configuration parameters in tilcdc_panel_info are either: > - Already represented by existing DRM mode flags (invert_pxl_clk, > sync_edge via DRM_BUS_FLAG_*), or > - Set to identical values across all instances (panel_info_default), > making them effectively constants > > The removed fifo_th field is already handled by priv->fifo_th when set. > Other removed fields (tft_alt_mode, raster_order) were always set to 0 > in the only instance (panel_info_default) and thus had no effect. > > This simplifies the code by eliminating unnecessary abstraction while > preserving all functional behavior. > > Signed-off-by: Kory Maincent (TI.com) Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com