From nobody Wed Nov 27 11:55:59 2024 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010049.outbound.protection.outlook.com [52.101.69.49]) (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 BA50929AF for ; Thu, 10 Oct 2024 09:26:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728552406; cv=fail; b=i3v7QTqof3jSSFV0FSurwyFBj7IjKidsM2fcPiiL/M1/7uAlndG8zrNVioDKL575L0PeJ6ZZ//lqTGnvXAX3vKWUwoMHFOzm3j9UEej11zAsKUztBj7AcANdkei0Dyn69Yl4jyY7VYTezICIR5mVXt9V8qlSh2EN+BZO5I9ulP8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728552406; c=relaxed/simple; bh=62f1ds+k8Dj8pBFfkYj3kCDqkoeTBulvdsA/AhnkOTY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=APhUp3LNfLX5lNTFXhwY0alC0xHmBZNby3DntaQOToENoGc5ePg/MGC6rKLvxCFo1B28q4gRq9zpfWNaIE5qEM0vaNTKd8wZp0vV6HMvnMWD+TWxAE4brzyMgoNvUmQcFbW9JcjDpsX+HtimztplCfhtgtkabv66Cibdxoge2bs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=X+r3x1XH; arc=fail smtp.client-ip=52.101.69.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="X+r3x1XH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kIZOg3q84aUFJTI416yEOllTgxYgJr7gvBEh9wY/2GBXbscBoMCVBtt6ZQyvVILI2/plX4HSJh0+nOvnvDgEzCB/Fyryzg43FqlQALNwjEI6NBY+jDTagS4PN8O+C8naQEZNx0O5f7KJ+vIehorlFdP9MzdM56vb4GLKNCoN8QK561YDIqGk/lEhmlTZz5YkR9t4xLymjJTUI4UYgGISC13GkN/oqfk7dDw4mbs8Ue3+VevdbCZn/plHrc1/G58a9ruhbd0B9okHHhn/vPIpc2NtBp8akoCKGeVcOqmrGtegqV0VRGRw4iYKyc1zk6sXsplVf3kgo2eFBMcsX9BlTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4uSLnLthcKIt+KuiGqxlOHVN8H++tLBZaH3tztJ75eI=; b=FUD+udQ1z46yF0OQcsgQcn6RzELgoXVUaLbZkmzYu9H1fzdnmgTynFZTFlJG+4PCY5HOGxfz7iHxG4T1ZNJzfclIsrX3JItkNFFV6KH1BIpirT5S2GwgInnoJjqQj5Nu/ZnPkxKPNI7RSQgF+BbzjLO38UEaqTdp23J4i1Sqlhe6BS0xBuUA13DPNcUqlnIg8D4hIXN//14ecbA1/7KykgB4II091YiHQXCH/5EwZsTeF6J00NAlOLnudtYPjho0cKFNdg+vkE0rhoph908b3XbO4W5ZLhrJ9UG8W/a85a/KwHhoXKH7yvRGyD4FFSTrzvHuo2ws9IJD3R9AyzY2tA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4uSLnLthcKIt+KuiGqxlOHVN8H++tLBZaH3tztJ75eI=; b=X+r3x1XHwdoeitNOtzgYG5ZJ4pv58iMLsjSB6w0plFl9i7bWwnY6uQEg0bTYejZLqsJhXk/pyzrJgLJE3+r1qaxSSalJInLFE31QybeHSK1LfsAcVtuRArLf/iFrTu56nr+deeGVf7EmAR8a968/+v2f8Yflsj+Vli2inIU/bWz5xSt3Ni9laLZjuA5idEZ+Z4XfgKKFB4alQAX95bAGeAxczXmnMZaLcjgZJ1pbjyh/HSa2aF8nOz4cWgMPmZW/L1UpYwHczUhwBeDUF9SWvSPeH4GNcNb1KDYoKKsOiJIF6HyoNlAUk10apruqBqShCBT1G3ytIak89mctOQ8Cqw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by PR3PR04MB7387.eurprd04.prod.outlook.com (2603:10a6:102:91::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct 2024 09:26:37 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024 09:26:37 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: ple@baylibre.com, neil.armstrong@linaro.org, andrzej.hajda@intel.com, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch Subject: [PATCH] drm/bridge: ite-it66121: Drop hdmi_avi_infoframe_init() function call Date: Thu, 10 Oct 2024 17:26:43 +0800 Message-Id: <20241010092643.1048116-1-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SGAP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::33) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|PR3PR04MB7387:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c1db261-4d93-4062-c57e-08dce90da37b X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?tyq81/19Jvyk07EBUOjtBTTEpTsfNUHGrUJEwVG1LygPwcT/IY7cGRWxdG6c?= =?us-ascii?Q?z9yJz1t52qtoThle3Uq0/g2EGlkmzUxGMQqke26IB6bQAmKZm+ges4sTWxDe?= =?us-ascii?Q?FRcoxj5LJj3KSrTQ+XNh7fnbltPyMP9DeEmYLZSaj4WX+xyhPO7kLJKqeZiz?= =?us-ascii?Q?7f3FbKVpaRY9m1YlAknG5FdwKTjNmVj8xYgy0pkTuDgURHg77X8GtoQY80wL?= =?us-ascii?Q?F+ZSubnLAkF7bwPrAzUw770z8uv5fZenOnV7dEdu6GJxYtfYLWmFNsUbd0qY?= =?us-ascii?Q?c9W9DQy2yjUkWhjZMQkEWvX2Cx7zPZXLm0tN9orPKm0IexfCsyjRmoDS1jnF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rMZWufnaVLp3STvmdN7ZRvIj3KM1HNasRAczNpeDH3tkNT?= =?us-ascii?Q?vE0sL9fv1uAe9TN+0Ed1cEktsQaXBTqat1t3ClAIdmIHOlXojPhMY8wTq1RT?= =?us-ascii?Q?xd4CT3tAlaoVe54PEVD/fcQKhQ+CsIz6NkId1ojOz6JfJw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(366016)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eHN/kS4UfTGsbpjsK6reFe3HRhsX3quQ7vx/5JdGXskQRrlb/fmmJT9BOcyF?= =?us-ascii?Q?X/4FibbHOdhTneF7xgwT3qtyLb9JAKQIIFVb8939BMtd6mrBmVdNdNfJemrh?= =?us-ascii?Q?Cmr2ZsqbbculI1yLt6la25PYLohEud9TGv6TzWcP2dPalOt/kvESvRCgJo/0?= =?us-ascii?Q?kLN1oGJ5Cqn5b3MVqd/878k4DL3Vyaoms7zK2Tl89MohDsFasxFULV1crgJ/?= =?us-ascii?Q?b8QfDAry38JAR6/vbOfOGirq+4PrWegFp6daGdBOxmyafICjBAnUgnwrKgCP?= =?us-ascii?Q?RvX4UBpxoz6lYb7IyvX/Tcr8eDwIWt0AIGwXmtKCQHuEM9aMtFIdJ8lxWbMa?= =?us-ascii?Q?ntn4BKtRTxtiHK5yQfVHf32AMwuou1kAbWjNkP+B2EMQq4YndStaBWihVlGY?= =?us-ascii?Q?m4NjEsEZiKzPKVAxNtnBO0d8l56u2BoJWCQiNupm1bR56s5AmmPvSqrMDtIK?= =?us-ascii?Q?rQU9lZCwrVp7SHT9j33lDGUqUQRx9JAz2hqjqiJsHIVTTHtg9/BNzIx3eZkt?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Wp6EA1LniE28+b5XWhpg4?= =?us-ascii?Q?f5NdygeSsuxJSIfG4FoazHotaAmYOG4kqG6TgAtdkAQXc43zJ8esflIlqDg+?= =?us-ascii?Q?JrbLMKNb98oa66l+78Zety558qOHTajmD6tPbhkGbkf8Cap2evez+6NkajyB?= =?us-ascii?Q?knmlSiiCnFVb2DBaLl0MvmPjFhpILvn3pIksGlb0?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c1db261-4d93-4062-c57e-08dce90da37b X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 09:26:36.9981 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KYgNAEkCKO6m1UjHTsynxRrgrsVmKVDt0PVD86Bj5MFamwO4jxA1aWxxNEH5aUWYDen+kVToXRz1ps58wvIwxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7387 Content-Type: text/plain; charset="utf-8" drm_hdmi_avi_infoframe_from_display_mode() called from it66121_bridge_mode_set() already calls hdmi_avi_infoframe_init() to initialize an HDMI AVI infoframe. So, drop the redundant hdmi_avi_infoframe_init() function call from it66121_bridge_mode_set(). Signed-off-by: Liu Ying Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/ite-it66121.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/ite-it66121.c b/drivers/gpu/drm/bridge/= ite-it66121.c index 925e42f46cd8..35ae3f0e8f51 100644 --- a/drivers/gpu/drm/bridge/ite-it66121.c +++ b/drivers/gpu/drm/bridge/ite-it66121.c @@ -770,8 +770,6 @@ void it66121_bridge_mode_set(struct drm_bridge *bridge, =20 mutex_lock(&ctx->lock); =20 - hdmi_avi_infoframe_init(&ctx->hdmi_avi_infoframe); - ret =3D drm_hdmi_avi_infoframe_from_display_mode(&ctx->hdmi_avi_infoframe= , ctx->connector, adjusted_mode); if (ret) { --=20 2.34.1