From nobody Wed Oct 8 12:35:03 2025 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11020118.outbound.protection.outlook.com [52.101.69.118]) (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 322292E7F08 for ; Fri, 27 Jun 2025 14:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.118 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751035882; cv=fail; b=cYUUoPz73dxddPBO+FdgSLIVqNQYPQA2ZeMzwSuiAvl6wzqtaaO8Pb3UFpHVyQWSOZgl9+bcaIh7MKBaa/saTV7wJTtg9268zLQmqs/8w1hNYrPPVUp4QXhhBlSvhkRnrbRx+jhhEBM+DqKRUc8XRFpEPl/moke72YsYfTz5R7Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751035882; c=relaxed/simple; bh=aB+vSC0+MLqoRPq2GuSofzpywsHAJptAhhrDsK7yMiY=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version: References; b=fQ5dVkvkWXDunJ0z4xIOX1nqgeBqB1rYTj/7sPAwIdJD1lZJ8ZJ0aeP0wrQtR8fdF8Qm3HO6L+zt8DDNHTQ8mqSgIS3lHSI93BX8A6bzPqC9uhOiVQXRKorNXTGDASuBq4jh5iBJvJsVbdQA3c0Y142rREjnm+6P/cANpPNC7n4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=topic.nl; spf=pass smtp.mailfrom=topic.nl; dkim=pass (2048-bit key) header.d=topic.nl header.i=@topic.nl header.b=CweWkL2I; arc=fail smtp.client-ip=52.101.69.118 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=topic.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=topic.nl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=topic.nl header.i=@topic.nl header.b="CweWkL2I" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Qvx5Vl2WDhAQxudoPAQablb2HP2O9O9BWrkBGu3iPqB8ZRmmIJD5Vox3aV42Sk18sdIZ4Li3s2BXISgTvIZKsxxMrt+jP4VYnDM9IbOc1/XjrtLZ9zmjtzOcgNihQ9pLHfA7zGbFTtKBKvNbREnIF5YXYE4EmEDkZFko3wHrAy72hyS3jcBAlZg5HA7ds2zW/6D93ZX4KHwzUoH1oZsvpq+Fp0L7sQ7MTcwhf+mcFoUS4cEyeYpLxjJifSghwN/SkzvedrTh6Co1bd8H3xnwIqoeJuSvQT/HQCbxn25/ETAqLhlnWTXAJ6yKv4p0fOu4635vfFuh0pOMl8/bIGyaOw== 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=gZTXepwSzwTR/5+AzyiWN3NcPfBWsCpkN2h1AetbNAc=; b=JfHCoaKNXGQo+kVyUDVM1uq9icwt5vu7CRisMVhhPXXvfc5tHD+yl29+l38rTWz/i+xVvgmwqsbWghyLPR5n7gRT7MJ0nPcQZwsr9FQQZ7r3Xyb9BoqBMZ5haqVZ33Vwf2OgVjgIPyT8mRaYnJruWWbPseGqi1wvVp0nlTWKHoZM40JxVOC0b9NUgt8AsrsvOjScaxLuSOFUERIgq4CU5B7NCxQYud46exWAxNiVFEz5CbGXB0H6RFTLtnkXJ1/twHb66XOQlqLunA2wpVr/ctfGxHl/XzgS6Qk0HipUlB1GHfyx0hU7AsxV09dg3d56TO9IJuhKLrWslpVDUMfYlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 13.93.42.39) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=topic.nl; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=topic.nl; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=topic.nl; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gZTXepwSzwTR/5+AzyiWN3NcPfBWsCpkN2h1AetbNAc=; b=CweWkL2Iy7x9QlmwtoiGt3fopzYFQ2TmWAgIcCFKEvQQRzydakFp/dFMKuae1AONFvxo/CAmWSwnnQ/4GFBkOVbiN/kAOEGawrSZmHHwgtyx1WeZSKcrG5l9i+8vzCP90uXSpOjL+c5DTDVcCDvt6TFLnlvrFA0oGG8EUwQYnwhZv9Av1mpmcnHv0K6it4tEHTh0KUdq5KsOGT6Nr+2t3DsPB6/24RamI2D2oXHIes5qLboRh0yQezOzoOBGjL+DE8UmDqR0m/4gTKK02RWxIeQlLEnV/9PX2vWbO56+nc+LggRorgXsuWLQce9h4AEnDIh3oqLPKewUlCoHxbWBEQ== Received: from DU2PR04CA0178.eurprd04.prod.outlook.com (2603:10a6:10:2b0::33) by AM7PR04MB7189.eurprd04.prod.outlook.com (2603:10a6:20b:116::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8857.30; Fri, 27 Jun 2025 14:51:14 +0000 Received: from DU6PEPF0000A7E0.eurprd02.prod.outlook.com (2603:10a6:10:2b0:cafe::9d) by DU2PR04CA0178.outlook.office365.com (2603:10a6:10:2b0::33) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8880.23 via Frontend Transport; Fri, 27 Jun 2025 14:51:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 13.93.42.39) smtp.mailfrom=topic.nl; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=topic.nl; Received-SPF: Pass (protection.outlook.com: domain of topic.nl designates 13.93.42.39 as permitted sender) receiver=protection.outlook.com; client-ip=13.93.42.39; helo=westeu12-emailsignatures-cloud.codetwo.com; pr=C Received: from westeu12-emailsignatures-cloud.codetwo.com (13.93.42.39) by DU6PEPF0000A7E0.mail.protection.outlook.com (10.167.8.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8880.14 via Frontend Transport; Fri, 27 Jun 2025 14:51:12 +0000 Received: from MRWPR03CU001.outbound.protection.outlook.com (40.93.69.26) by westeu12-emailsignatures-cloud.codetwo.com with CodeTwo SMTP Server (TLS12) via SMTP; Fri, 27 Jun 2025 14:51:11 +0000 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=topic.nl; Received: from AM8PR04MB7779.eurprd04.prod.outlook.com (2603:10a6:20b:24b::14) by DU4PR04MB10744.eurprd04.prod.outlook.com (2603:10a6:10:590::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8857.28; Fri, 27 Jun 2025 14:51:08 +0000 Received: from AM8PR04MB7779.eurprd04.prod.outlook.com ([fe80::7417:d17f:8d97:44d2]) by AM8PR04MB7779.eurprd04.prod.outlook.com ([fe80::7417:d17f:8d97:44d2%3]) with mapi id 15.20.8857.026; Fri, 27 Jun 2025 14:51:08 +0000 From: Mike Looijmans To: dri-devel@lists.freedesktop.org CC: Mike Looijmans , David Airlie , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Michal Simek , Simona Vetter , Thomas Zimmermann , Tomi Valkeinen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: xlnx: zynqmp_dp: Support DRM_FORMAT_XRGB8888 Date: Fri, 27 Jun 2025 16:50:46 +0200 Message-ID: <20250627145058.6880-1-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.43.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AS4P189CA0039.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::16) To AM8PR04MB7779.eurprd04.prod.outlook.com (2603:10a6:20b:24b::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AM8PR04MB7779:EE_|DU4PR04MB10744:EE_|DU6PEPF0000A7E0:EE_|AM7PR04MB7189:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c6c5ea2-fe75-44ab-559c-08ddb58a0fa7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|1800799024|7416014|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?ZWK5HsjuB0MtWGy6Fh2SErgEaiMWr5ZaD1NuVwxM+CijIbZGGoXc2X1kP/5o?= =?us-ascii?Q?UVOnJePqDbnuopYErGlMPBrKzmqIfirt0IfTUk10jAoL1/BzusGc2h+I3xb0?= =?us-ascii?Q?kp7oy4Vjtf3DOXca7kg+UeooNAmiInrBqj9E+jixSzhVRMs3oF9TAeStVQSj?= =?us-ascii?Q?ERYwRl/ZvFpBaOllSGG7bZLnkByGpnCGAeuLSnT4htsI5V+34NVT5BaYT84h?= =?us-ascii?Q?YjKtHyfiT8oC/TfsFU6n/Mzb1PtxY5D04/+jJtDi/X4xKih6WP3rjG42m15l?= =?us-ascii?Q?EXyBVE4hbGxLw9+alUq3ZcgR7RwxIedOYQCDJUrYZWAGG7u89E0C6+kbCcLk?= =?us-ascii?Q?2hFuRTM3RtTc6XSMAjdsqxjF0ztmomIcfeaF0T1SzdGlYx6pD/kbe01emZTa?= =?us-ascii?Q?esc07GvBKsPe+8k3hUl4om3JaHzq6o0ALFGruHOtBvjVJgkFIW5l+tOOM9Ye?= =?us-ascii?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3OYhwJJrlEV?= =?us-ascii?Q?eY1kTAzkLSgpu3eiZbWbOWGLmR5DYLo5SBRkVWiYjqxnJkZuIWlY50xl1n6m?= =?us-ascii?Q?bjFYi1YvaplnVHApo+AZGEfYo7zR/cHi6pERn6ttKlrmCJmTx8MmUA=3D=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM8PR04MB7779.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(366016)(52116014)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10744 X-CodeTwo-MessageID: 9306aa3e-5fdc-4f61-9e7b-c1ff678c0019.20250627145111@westeu12-emailsignatures-cloud.codetwo.com References: <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.fb98a918-329e-4536-a0a5-a99b22ba0120@emailsignatures365.codetwo.com> X-CodeTwoProcessed: true X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU6PEPF0000A7E0.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ed38b64f-ebf4-47f0-01a7-08ddb58a0ccb X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|14060799003|82310400026|376014|7416014|1800799024|35042699022; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?nxsskxYUmBQLSB2QN2AJLNFZ6QSEfu+7GWAFm5QDPgjIsF7GUPYlsfL+ftWc?= =?us-ascii?Q?TuoGtHuAY+4Aw31Hnb+qeg07eh923jCSOn+JJXeNfVP1Wb2LRzyA/GDags8n?= =?us-ascii?Q?4lhxy3LDIgCzHyNveXh3o8CUxysDFYw5dqVWE4zQMZJqzXSknET5oyW40LRE?= =?us-ascii?Q?5ZudNnrglvaNaU0n2/HI8CKqMLH5lg8Ur7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?us-ascii?Q?2x2PSPfiBfojYBb3Akt3lZv/HGG8WWe26vqwvHUWs6DLf9SVhnY+3rS2+I6D?= =?us-ascii?Q?YLlE8QRQxWHoVTmP+vAruWeBn1EFzOA5C4XtQ9yvg+GmHBbqg8/Ira9XCeYZ?= =?us-ascii?Q?DJg+m0fFq8PnQ6jeg/OGnpmbnmyWkqhNaCPKC2jUFM3wnaSYNsMrGe2sIw18?= =?us-ascii?Q?NkMQVggRRWq/g4zuQPMt3Zveypiq2+cHHklUE0+W0rokqR/uMP0hwbHWtBtQ?= =?us-ascii?Q?7XMgoca2TyEPNJOwhsTaRt+BrP/ak3s7dycNHpFtaOMNkbJLPouGSpuh3e7Q?= =?us-ascii?Q?foWRW5KLRtUn9r/F6rriYoNmsGEaSeSwLcbOAOKA6NdkLT/l787cUqT1TUeV?= =?us-ascii?Q?CDvnbLq/F0kQREUjxpltVHDsefo/3PVIHKlu+dcjG7XYnNpYRVNOyg=3D=3D?= X-Forefront-Antispam-Report: CIP:13.93.42.39;CTRY:NL;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:westeu12-emailsignatures-cloud.codetwo.com;PTR:westeu12-emailsignatures-cloud.codetwo.com;CAT:NONE;SFS:(13230040)(36860700013)(14060799003)(82310400026)(376014)(7416014)(1800799024)(35042699022);DIR:OUT;SFP:1102; X-OriginatorOrg: topic.nl X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2025 14:51:12.7350 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c6c5ea2-fe75-44ab-559c-08ddb58a0fa7 X-MS-Exchange-CrossTenant-Id: 449607a5-3517-482d-8d16-41dd868cbda3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=449607a5-3517-482d-8d16-41dd868cbda3;Ip=[13.93.42.39];Helo=[westeu12-emailsignatures-cloud.codetwo.com] X-MS-Exchange-CrossTenant-AuthSource: DU6PEPF0000A7E0.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7189 Content-Type: text/plain; charset="utf-8" XRGB8888 is the default mode that Xorg will want to use. Add support for this to the Zynqmp DisplayPort driver, so that applications can use 32-bit framebuffers. This solves that the X server would fail to start unless one provided an xorg.conf that sets DefaultDepth to 16. Signed-off-by: Mike Looijmans --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynq= mp_disp.c index 80d1e499a18d..501428437000 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -312,6 +312,11 @@ static const struct zynqmp_disp_format avbuf_gfx_fmts[= ] =3D { .buf_fmt =3D ZYNQMP_DISP_AV_BUF_FMT_NL_GFX_RGBA8888, .swap =3D true, .sf =3D scaling_factors_888, + }, { + .drm_fmt =3D DRM_FORMAT_XRGB8888, + .buf_fmt =3D ZYNQMP_DISP_AV_BUF_FMT_NL_GFX_RGBA8888, + .swap =3D true, + .sf =3D scaling_factors_888, }, { .drm_fmt =3D DRM_FORMAT_RGBA8888, .buf_fmt =3D ZYNQMP_DISP_AV_BUF_FMT_NL_GFX_ABGR8888, --=20 2.43.0 base-commit: 67a993863163cb88b1b68974c31b0d84ece4293e branch: linux-master-zynqmpdp-32bit Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijmans@topic.nl W: www.topic.nl Please consider the environment before printing this e-mail