From nobody Fri Dec 19 10:44:00 2025 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2080.outbound.protection.outlook.com [40.107.22.80]) (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 D93B3143888 for ; Tue, 21 Jan 2025 17:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.80 ARC-Seal: i=3; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737479909; cv=fail; b=mbt9kf1LR5uL2mkkAd8PWWxlKd5XoG79PwYItoHgcm9/FX4a7PmiZtV2ar4/yTWR6HuPmyhipFeIPD+yOujBhOVEPIBHIfz1P8kLaGKJza9RFNEOSEV6HRXNlKv5oxJ/T4vcKcD5B9ZqwImoUovJG7am0sKHGf4XX4JoXX2ZuYI= ARC-Message-Signature: i=3; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737479909; c=relaxed/simple; bh=9gjiDKoLXfj3beiGACVy+J75dhNyBlLDVbzBWIz5LdQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=KkkJtBkyYIqKn/1zV+qIHiTb6EbUgkvVYrTyPMSBm06nk8W4NRgWTQTqknsJGVGOTOdBwZoeXe5uLNkCHigMsB7WIDwcpIiGIOW6JiikDQBfFY+csB9+5cmcwf7oKNMgnAl+AosmMVSY3xtHwO+luqgWiIlLJY/sqqaQpoKKqDA= ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=C3EJ9BYI; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=C3EJ9BYI; arc=fail smtp.client-ip=40.107.22.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="C3EJ9BYI"; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="C3EJ9BYI" ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=ioNxrFeEuhZJrj27Iz8z3rDBJGeSm7FBiky//vfYRiRl/rFsyszS+kn54pyxfuZcj4eKSXhi7NOSM241mHnrVIcwr+uHOcoq7t/T2YFIHaITjYgjmEsZOuPRvFFeTxFGoYt2i+VWmbE13gYuYLKZnLoJW3thsaDcVgLmOQ7zgTeGbeyozKGLrXZSAHf9IPbaLr3zuDyzTqTKPoEuzZzAYgnh0xvHmA7NwO/pEg6GmMf9cvik9zT294QaOk5ei0S0brvUDkZ4x+ujH/v7fXAv3sBbnmDLVn7lYboBTrP9xXYH9MuKqNfUQwJsC3uFMpIXjNXsMYuHYkegd+f290otiA== ARC-Message-Signature: i=2; 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=0xLL2EmQBrxT6GqXW4tWEVD+e4YeZUot2UHJVn+PGpU=; b=SfdEMhMan5MaViZ7JxfTg47HnSfs8bjHpaYR9UCsxnxsQDP3tFCGr4DGvkAAHMVcc/O04l4kwyiagoQQ7sYukA369OuGiwD1RlYkdEOgnkIVcD5FfwkQFILQhL4OFi9WU4xvU3lfAkbYSMgwyvvSPpayTSGq0ULsAyWLLWzxVQ+Tc2NZw/VWdpez9flaMYd1VJAmU3tuuCe5GUCbX7JXJMKRRdUEKo6lJleEFWJ8n3CpiCzTsEijEqcrkWeIcnASZ8uxSBrBmymAePkDvaT0tkByqAUda0lY84X/QlXYskUcBaAlIJaZJwGxyfjCiYcYGsOWK1izdCyqXJmCAgraog== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=0 ltdi=1) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0xLL2EmQBrxT6GqXW4tWEVD+e4YeZUot2UHJVn+PGpU=; b=C3EJ9BYIdNu9Gj245+Qy2R3rDjjnzS5DMcKp64+kWULmwkGIMg0P7OeXKTjEw3E5a5Drds6iCqddDwgCTfa6jpqXYoUK6+yNlLop+I4JRyFoQt8lPch1Ks1+SD6adB12blGpdbqrhOHHZ7CDspx0J1zuQyUr3WecLf+pE6QYfgY= Received: from DU7P189CA0017.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:552::31) by AM8PR08MB6594.eurprd08.prod.outlook.com (2603:10a6:20b:36a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.22; Tue, 21 Jan 2025 17:18:21 +0000 Received: from DU2PEPF00028CFE.eurprd03.prod.outlook.com (2603:10a6:10:552:cafe::8e) by DU7P189CA0017.outlook.office365.com (2603:10a6:10:552::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8356.22 via Frontend Transport; Tue, 21 Jan 2025 17:18:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF00028CFE.mail.protection.outlook.com (10.167.242.182) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8377.8 via Frontend Transport; Tue, 21 Jan 2025 17:18:20 +0000 Received: ("Tessian outbound ce9952b4db27:v543"); Tue, 21 Jan 2025 17:18:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 20e2b8d3f66012f6 X-TessianGatewayMetadata: GhnwqV6mF6VtvmkI4pTLrtNcSO9Y7gbHB8P6jaQtMM1MaXlH2Eyrd2f4ZYHCUCA4W6mOciz9OZwty26lEVIdZ+ZtSp+1pN5EaRJ+9oMb/k+SBdi/Xoag9hzkx0fQlqOZTvn5UZRLoIR1j1vQ4gVktBqKtg5V6yjsSxmvkCGfJ58= X-CR-MTA-TID: 64aa7808 Received: from L460432f2f101.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A3EA9E80-580E-4C26-AF20-9EA3A7808F7A.1; Tue, 21 Jan 2025 17:18:04 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L460432f2f101.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 21 Jan 2025 17:18:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UJ34DHDAls06NKY32TFa9h6gYamLikUDJrzuqlRQvj/2pmWmY3cnz8kfaidFe5oqmTw50Uw5eoJ2F/DIUUUT9Zj5NhNJ6P8oZsSLp0H8v/L6/h3wHmGEPlCj+KUZ0Az3/kMabL9nuE3KayJv+iFlf90be6OehPTpHHunqVKhr4AU/IpPzFhycGkdakwptgWVODIimOHcTgGF4cePRX3sa1F5S0nu3iTGMfdIklpJ3RY/aQaDhvCIaRsM1CSyPOYZtd/ezEDVra5Wr5BNCcyCR3pSwewys+bF5vs64god4drIwubleHcZhOHWR6AGbNb+pD9OBVIf23kpiLeke7NKZw== 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=0xLL2EmQBrxT6GqXW4tWEVD+e4YeZUot2UHJVn+PGpU=; b=Um9WU6IhJiVKzQZXxDwz1ypC/2RYcrI0XZER4yjVDdGjJQiR1pwxB9fd+lnAsjgEJH+u9Q+HKSQ+WFWIZQU0UiuTDZyIlITnid5dW6LBefjSkPGxZy5dnUnKsrHGe8oCOzglwH0iHIzcv0xUq+3qKFScujk5YGPtCN1aDEKrryKQM9K4dfrAeMry44sFWoqlMd6xaYM766/RTArl16DXieRAGCFCEx98IcnEbes6WT+4cl1/ahjmp7Lj4kfLNfGLQj4msJCuhI1W33KpS2jHs/WyobwFSiaAD3lWt8MyM3BzjyOkjn0RVQf7x9X8F34O3dCw39BAqCF5GcBXerXHAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 172.205.89.229) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=arm.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0xLL2EmQBrxT6GqXW4tWEVD+e4YeZUot2UHJVn+PGpU=; b=C3EJ9BYIdNu9Gj245+Qy2R3rDjjnzS5DMcKp64+kWULmwkGIMg0P7OeXKTjEw3E5a5Drds6iCqddDwgCTfa6jpqXYoUK6+yNlLop+I4JRyFoQt8lPch1Ks1+SD6adB12blGpdbqrhOHHZ7CDspx0J1zuQyUr3WecLf+pE6QYfgY= Received: from DB8PR09CA0019.eurprd09.prod.outlook.com (2603:10a6:10:a0::32) by AS2PR08MB9812.eurprd08.prod.outlook.com (2603:10a6:20b:603::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.21; Tue, 21 Jan 2025 17:17:59 +0000 Received: from DU6PEPF0000A7DD.eurprd02.prod.outlook.com (2603:10a6:10:a0:cafe::5d) by DB8PR09CA0019.outlook.office365.com (2603:10a6:10:a0::32) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8356.21 via Frontend Transport; Tue, 21 Jan 2025 17:17:59 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 172.205.89.229) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arm.com; Received-SPF: Fail (protection.outlook.com: domain of arm.com does not designate 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; Received: from nebula.arm.com (172.205.89.229) by DU6PEPF0000A7DD.mail.protection.outlook.com (10.167.8.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8377.8 via Frontend Transport; Tue, 21 Jan 2025 17:17:59 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX05.Arm.com (10.240.25.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 21 Jan 2025 17:17:58 +0000 Received: from AZ-NEU-EX05.Arm.com (10.240.25.133) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 21 Jan 2025 17:17:57 +0000 Received: from e122338.kfn.arm.com (10.50.2.57) by mail.arm.com (10.240.25.133) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 21 Jan 2025 17:17:56 +0000 From: Yulia Garbovich To: , , , , , , CC: , , , Subject: [PATCH v2] drm: drm_fourcc: adding 10/12/14 bit formats Date: Tue, 21 Jan 2025 19:17:53 +0200 Message-ID: <20250121171753.1544206-1-yulia.garbovich@arm.com> X-Mailer: git-send-email 2.34.1 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 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DU6PEPF0000A7DD:EE_|AS2PR08MB9812:EE_|DU2PEPF00028CFE:EE_|AM8PR08MB6594:EE_ X-MS-Office365-Filtering-Correlation-Id: 9335bffc-043f-4268-2f7f-08dd3a3f9a83 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?XUdAjlYRz1VhNNzFPyhMrRxP0ePbkqcqxzoh/8JxKSPZkQZ1CsyFyUlwyJc7?= =?us-ascii?Q?vW5N1aX4Ha3UAflFOQCIAAI8zPSRaarR9XDrvz7Dbw+c+2N1EzAHZctaJWct?= =?us-ascii?Q?Z9bY7L7wxjvHHQ8YJ8FHYJ1j5vP8Q4j5hOG+230Zf1VswcFAx6xq3LSXeUep?= =?us-ascii?Q?xMH38pEh7nq68V1TRSjH2Htnf+r3tpVJ7Fy8I/0iQRLE6O0fWI3n8Q2T5G82?= =?us-ascii?Q?iBuv3uI1+pF9bvKe5f6gIn6NdYd7yDlp3QAvlI9w1P2EHlMEmzKFIJpFIjgp?= =?us-ascii?Q?WOMqrdaXTPLifwv5KwbyJU1mHxNhYRDvuE0jeKO2VoBZqCZo5GQ+43NOtP7j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XA2KCztZIWU1J3FmikrmTiZ/ak69y2v9BXjCnoqLkX?= =?us-ascii?Q?gLk2tnqIw4M7bY3U3FGNTCuT2Ieu9Mo3Pl3argAI3/6qTLylPFyxXwsdMyVK?= =?us-ascii?Q?G/JAs50Xe4U+gXpVUCFEKU8vBDabC2f4lZyAP+yn6YV7B/oDIq81F7MR4tkl?= =?us-ascii?Q?LomQwJvuU+L49KHoH+S6DIPCVAteoKZWBDNT2Nvha8BZxwV28hEqi5RLYG9f?= =?us-ascii?Q?xzPbRy84iUWQKzIzF679sbta6IEkR+c+QkbSg7Eeb/yVFE+OkWmFoIaMPVBq?= =?us-ascii?Q?GpffWTMhUWiBYhM=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9812 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:a0::32];domain=DB8PR09CA0019.eurprd09.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028CFE.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 006bd8fe-5b95-4c45-f4f8-08dd3a3f8da8 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014|35042699022|14060799003; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?DIUeE1b9VXJ1e3Verl4+d9HVrlGITQvfsc6oVmFcKPRxIlv2c6odMrO4E9Li?= =?us-ascii?Q?WGduvF/acnFFEE6Ej2ZzP+ZxbDHxxYDOXW/xRFNtl3qIQxQAUpFS17n5MPSr?= =?us-ascii?Q?V9DppkD+E/UZyxmGu8YjQOwkfXZ6jCds2R8+YIPkMDoaD1XNte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dXybIiZzW/DQDdpbnnw1qjzmHTm6gEFuV1YqMJ2Qsqs6yvUaI?= =?us-ascii?Q?MBhRizQGLw4E8ujuuqhBX7WjTNcMboTK8EHxqCxitWU0C+RzycwflxBTBr+N?= =?us-ascii?Q?nsglvGmJgs6hIjDq/JtBwecexT7mqbOyJ5gkWFK+lMPn52Tagk4zAVtAuP+E?= =?us-ascii?Q?kJzXsdyR3p03XzHvkXeZx6xU/H3UI8RRMYW4T0MnxpTWXgmqW0kuG5MKINVo?= =?us-ascii?Q?X5D/iDwlD7R/mGBTKziTPM/oxRu/FCeCaFUjizbga6nVXnUKnexuvPzk4KeR?= =?us-ascii?Q?mz6stw1I43BQORR4ZSwZW+3EWHHu8/isndrAl+0Dbj8M9vc0W2+Osmu3ISnY?= =?us-ascii?Q?ZSkjX5sHeQF9dJVEn0H6x4DYZbRsU6h5PIyjnrghLmOzMhOQfJ81esHXhJ4y?= =?us-ascii?Q?57/zlJOcaC2WtM7dCNFImJez7QO2o5W6ETxcnFsBdbAu4tNCtAFAGjEdgcO3?= =?us-ascii?Q?jO9d1y23icl09qo=3D?= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:64aa7808-outbound-1.mta.getcheckrecipient.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(36860700013)(376014)(35042699022)(14060799003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2025 17:18:20.5180 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9335bffc-043f-4268-2f7f-08dd3a3f9a83 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028CFE.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6594 Content-Type: text/plain; charset="utf-8" Adding the following formats - DRM_FORMAT_RX106 - DRM_FORMAT_GXRX106106 - DRM_FORMAT_RX124 - DRM_FORMAT_GXRX124124 - DRM_FORMAT_AXBXGXRX124124124124 - DRM_FORMAT_RX142 - DRM_FORMAT_GXRX142142 - DRM_FORMAT_AXBXGXRX142142142142 They are useful for communicating Bayer data between ISPs and GPU by emulat= ing GL_R16UI and GL_RG16UI formats Signed-off-by: Yulia Garbovich --- drivers/gpu/drm/drm_fourcc.c | 8 +++++ include/uapi/drm/drm_fourcc.h | 61 +++++++++++++++++++++++++++++++++-- 2 files changed, 67 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_fourcc.c b/drivers/gpu/drm/drm_fourcc.c index 193cf8ed7912..cd5f467edfeb 100644 --- a/drivers/gpu/drm/drm_fourcc.c +++ b/drivers/gpu/drm/drm_fourcc.c @@ -170,6 +170,9 @@ const struct drm_format_info *__drm_format_info(u32 for= mat) { .format =3D DRM_FORMAT_R8, .depth =3D 8, .num_planes =3D 1, .cpp =3D= { 1, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_R10, .depth =3D 10, .num_planes =3D 1, .cpp = =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_R12, .depth =3D 12, .num_planes =3D 1, .cpp = =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_RX106, .depth =3D 0, .num_planes =3D 1, .cpp = =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_RX124, .depth =3D 0, .num_planes =3D 1, .cpp = =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_RX142, .depth =3D 0, .num_planes =3D 1, .cpp = =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_RGB332, .depth =3D 8, .num_planes =3D 1, .cpp= =3D { 1, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_BGR233, .depth =3D 8, .num_planes =3D 1, .cpp= =3D { 1, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_XRGB4444, .depth =3D 0, .num_planes =3D 1, .cp= p =3D { 2, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, @@ -200,6 +203,9 @@ const struct drm_format_info *__drm_format_info(u32 for= mat) { .format =3D DRM_FORMAT_XBGR8888, .depth =3D 24, .num_planes =3D 1, .cp= p =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_RGBX8888, .depth =3D 24, .num_planes =3D 1, .cp= p =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_BGRX8888, .depth =3D 24, .num_planes =3D 1, .cp= p =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_GXRX106106, .depth =3D 0, .num_planes =3D 1, .= cpp =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_GXRX124124, .depth =3D 0, .num_planes =3D 1, .= cpp =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, + { .format =3D DRM_FORMAT_GXRX142142, .depth =3D 0, .num_planes =3D 1, .= cpp =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_RGB565_A8, .depth =3D 24, .num_planes =3D 2, .c= pp =3D { 2, 1, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true }, { .format =3D DRM_FORMAT_BGR565_A8, .depth =3D 24, .num_planes =3D 2, .c= pp =3D { 2, 1, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true }, { .format =3D DRM_FORMAT_XRGB2101010, .depth =3D 30, .num_planes =3D 1, = .cpp =3D { 4, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, @@ -219,6 +225,8 @@ const struct drm_format_info *__drm_format_info(u32 for= mat) { .format =3D DRM_FORMAT_ARGB16161616F, .depth =3D 0, .num_planes =3D 1= , .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true }, { .format =3D DRM_FORMAT_ABGR16161616F, .depth =3D 0, .num_planes =3D 1= , .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true }, { .format =3D DRM_FORMAT_AXBXGXRX106106106106, .depth =3D 0, .num_planes= =3D 1, .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true= }, + { .format =3D DRM_FORMAT_AXBXGXRX124124124124, .depth =3D 0, .num_planes= =3D 1, .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true= }, + { .format =3D DRM_FORMAT_AXBXGXRX142142142142, .depth =3D 0, .num_planes= =3D 1, .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true= }, { .format =3D DRM_FORMAT_XRGB16161616, .depth =3D 0, .num_planes =3D 1,= .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_XBGR16161616, .depth =3D 0, .num_planes =3D 1,= .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1 }, { .format =3D DRM_FORMAT_ARGB16161616, .depth =3D 0, .num_planes =3D 1,= .cpp =3D { 8, 0, 0 }, .hsub =3D 1, .vsub =3D 1, .has_alpha =3D true }, diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 84d502e42961..7248b96ecf7e 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -146,6 +146,24 @@ extern "C" { /* 12 bpp Red (direct relationship between channel value and brightness) */ #define DRM_FORMAT_R12 fourcc_code('R', '1', '2', ' ') /* [15:0] x:R 4:12= little endian */ =20 +/* + * 1-component 16 bpp format that has a 10-bit R component in the top 10 b= its of the word + * in bytes 0..1 with the bottom 6 bits of the word unused + */ +#define DRM_FORMAT_RX106 fourcc_code('R', '0', '1', '0') /* [15:0] R:x 10:= 6 little endian */ + +/* + * 1-component 16 bpp format that has a 12-bit R component in the top 12 b= its of the word + * in bytes 0..1 with the bottom 4 bits of the word unused + */ +#define DRM_FORMAT_RX124 fourcc_code('R', '0', '1', '2') /* [15:0] R:x 12:= 4 little endian */ + +/* + * 1-component 16 bpp format that has a 14-bit R component in the top 14 b= its of the word + * in bytes 0..1 with the bottom 2 bits of the word unused + */ +#define DRM_FORMAT_RX142 fourcc_code('R', '0', '1', '4') /* [15:0] R:x 14:= 2 little endian */ + /* 16 bpp Red (direct relationship between channel value and brightness) */ #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little= endian */ =20 @@ -157,6 +175,27 @@ extern "C" { #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16= :16 little endian */ #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16= :16 little endian */ =20 + /* + * 2-component 32bpp format that has a 10-bit R component in the top 10 = bits of the word + * in bytes 0..1, and a 10-bit G component in the top 10 bits of the word = in bytes 2..3, + * with the bottom 6 bits of each word unused. + */ +#define DRM_FORMAT_GXRX106106 fourcc_code('G', 'R', '1', '0') /* [31:0] G:= x:R:x 10:6:10:6 little endian */ + +/* + * 2-component 32bpp format that has a 12-bit R component in the top 12 = bits of the word + * in bytes 0..1, and a 12-bit G component in the top 12 bits of the word = in bytes 2..3, + * with the bottom 4 bits of each word unused. + */ +#define DRM_FORMAT_GXRX124124 fourcc_code('G', 'R', '1', '2') /* [31:0] G:= x:R:x 12:4:12:4 little endian */ + +/* + * 2-component 32bpp format that has a 14-bit R component in the top 14 = bits of the word + * in bytes 0..1, and a 14-bit G component in the top 14 bits of the word = in bytes 2..3, + * with the bottom 2 bits of each word unused. + */ +#define DRM_FORMAT_GXRX142142 fourcc_code('G', 'R', '1', '4') /* [31:0] G:= x:R:x 14:2:14:2 little endian */ + /* 8 bpp RGB */ #define DRM_FORMAT_RGB332 fourcc_code('R', 'G', 'B', '8') /* [7:0] R:G:B 3= :3:2 */ #define DRM_FORMAT_BGR233 fourcc_code('B', 'G', 'R', '8') /* [7:0] B:G:R 2= :3:3 */ @@ -229,11 +268,29 @@ extern "C" { #define DRM_FORMAT_ABGR16161616F fourcc_code('A', 'B', '4', 'H') /* [63:0]= A:B:G:R 16:16:16:16 little endian */ =20 /* - * RGBA format with 10-bit components packed in 64-bit per pixel, with 6 b= its - * of unused padding per component: + * 4-component, 64bpp format that has a 10-bit R component in the top 10 b= its of the word in bytes 0..1, + * a 10-bit G component in the top 10 bits of the word in bytes 2..3, a 10= -bit B component in the top 10 bits of the word + * in bytes 4..5, and a 10-bit A component in the top 10 bits of the word = in bytes 6..7, + * with the bottom 6 bits of each word unused. */ #define DRM_FORMAT_AXBXGXRX106106106106 fourcc_code('A', 'B', '1', '0') /*= [63:0] A:x:B:x:G:x:R:x 10:6:10:6:10:6:10:6 little endian */ =20 +/* + * 4-component, 64bpp format that has a 12-bit R component in the top 12bi= ts of the word in bytes 0..1, + * a 12-bit G component in the top 12 bits of the word in bytes 2..3, a 12= -bit B component in the top 12 bits of the word + * in bytes 4..5, and a 12-bit A component in the top 12 bits of the word = in bytes 6..7, + * with the bottom 4 bits of each word unused. + */ +#define DRM_FORMAT_AXBXGXRX124124124124 fourcc_code('A', 'B', '1', '2') /*= [63:0] A:x:B:x:G:x:R:x 12:4:12:4:12:4:12:4 little endian */ + +/* + * 4-component, 64bpp format that has a 14-bit R component in the top 14 b= its of the word in bytes 0..1, + * a 14-bit G component in the top 14 bits of the word in bytes 2..3, a 14= -bit B component in the top 14 bits of the word + * in bytes 4..5, and a 14-bit A component in the top 14 bits of the word = in bytes 6..7, + * with the bottom 2 bits of each word unused. + */ +#define DRM_FORMAT_AXBXGXRX142142142142 fourcc_code('A', 'B', '1', '4') /*= [63:0] A:x:B:x:G:x:R:x 14:2:14:2:14:2:14:2 little endian */ + /* packed YCbCr */ #define DRM_FORMAT_YUYV fourcc_code('Y', 'U', 'Y', 'V') /* [31:0] Cr0:Y1:= Cb0:Y0 8:8:8:8 little endian */ #define DRM_FORMAT_YVYU fourcc_code('Y', 'V', 'Y', 'U') /* [31:0] Cb0:Y1:= Cr0:Y0 8:8:8:8 little endian */ --=20 2.34.1