From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 DD34D2FC00E for ; Thu, 11 Dec 2025 09:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765446260; cv=none; b=jhXdJx2f6JaVD942pRewPxy51KINx67zOa2LopznoukLh8ZBaQ5aqrAAaFWEyqkaamPCGg0/4uqH4cDSslfcPTIhSsKQELln/4FTydFjK0NJGhmPNSKBzfZKMM6xSEg2aQbmig/js3Ga3h5TLReHuduasnQbUB4tWoyS2QL0laM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765446260; c=relaxed/simple; bh=/u7esKkGZZbKRAxs4ImKOyHn03HZGPz7U0kUHDzIEks=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=XPZqJ/F45WhQg4u6r2TInphtOh9jYici44OvPdEQvnEP/dPBL004l+BM+aoaajl520ZnhkY2PKxrmmlf1hbVoN5uxM3ahUCzyGzAIkIfXUQUd9A/jGItdFUlKro4Rggq8zWoYK5D3y5iV2LqCcAyMATyVZwFo/v8GADgqJ5DUz4= 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.171.202.116 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-04.galae.net (Postfix) with ESMTPS id 567A3C19342; Thu, 11 Dec 2025 09:43:53 +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: devicetree@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