From patchwork Wed Dec 31 22:07:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 77845 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 259FCEEB571 for ; Wed, 31 Dec 2025 22:07:45 +0000 (UTC) Received: from SN4PR2101CU001.outbound.protection.outlook.com (SN4PR2101CU001.outbound.protection.outlook.com [40.93.195.27]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.94527.1767218854728423952 for ; Wed, 31 Dec 2025 14:07:35 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=selector1 header.b=JHt4bmgx; spf=permerror, err=parse error for token &{10 18 spf.protection.outlook.com}: limit exceeded (domain: ti.com, ip: 40.93.195.27, mailfrom: reatmon@ti.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oKkROjPegVpwwjixk3C5fqC3By85D5yHfKaEh7OTd91adJvxKvUAcDPbC1mGvseMzrjQDUcpMw0adUeSGJn43MErfTf4WOEtJL5mSF6p6O8C5zbzE1eXejw0VCvy1DTj4PtDXalCW+0twAllOYlPHMsF3Ahn6kRwwtqcNIdH2Q2s5NZPLYnKzEfYZy27wD/zr2HEVKnOqQYTxpDvzINGgqdi4j36CKUpkToQ978KNYLcgMBs/PqWvr+7RrltbyWTPS4XQoGlyJj4zEa4uA7Fv+HtnZaVQrfYNeJ280rLvTt81BHCJZNvLkQbuOlPuv+VeAs24PeQ33yoGyESLaPP1Q== 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=Wdp9UyfXy46sRcikwxr/mQqD2uAhaTZloqWbH/fzvHI=; b=N64fznUIDDMGPp5KfZ7RO6iCaASWc2RHdUsOJaURDk3ssPZ8PbSg6HYDG6Hfp+xX+Qq7x6t9qtdfa/QoSe1XUdtxpuntlwS5RYEUUpu0ziu/Btcpux/X/MR4jkF05WaikoW1r/Ft4SZW4ZUkFciBrLtvQE26pz2P6//1fWBTSAG2sGFx/VPDJWsJM8vt2162d4tTmu5sKYcuAlXFRg5Qn4OLsz17bSvq/koDLrpPXpgvuJ2xUqB7hM4er4utH8oaHL1QlZ9YC/8DTuxhbi6fECKHz0MOe/qhOWP4XA/ERBYGXyM0G/8yFTo1OOBETQRcQ46JCuXprpLt5u0qMwpU8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Wdp9UyfXy46sRcikwxr/mQqD2uAhaTZloqWbH/fzvHI=; b=JHt4bmgxvpitupgqGu5uY+7UUi+n81G/vxozdIzWuvpwVBLhvjAmLlX8IbHyTbC1YYYSddrSbnHnU8x+W7vnY+yBPnoH5wfQGtuST987SPRH3PYFSplh0zl8Btd3RDx9NB4MWlsglQDZZIzIiVJ3lFzIWY2/jO5Q9AkpqjmF2JM= Received: from PH7PR02CA0027.namprd02.prod.outlook.com (2603:10b6:510:33d::16) by DS4PPF6D651AD93.namprd10.prod.outlook.com (2603:10b6:f:fc00::d27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9478.4; Wed, 31 Dec 2025 22:07:32 +0000 Received: from SN1PEPF000397B2.namprd05.prod.outlook.com (2603:10b6:510:33d:cafe::70) by PH7PR02CA0027.outlook.office365.com (2603:10b6:510:33d::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9478.4 via Frontend Transport; Wed, 31 Dec 2025 22:07:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by SN1PEPF000397B2.mail.protection.outlook.com (10.167.248.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9478.4 via Frontend Transport; Wed, 31 Dec 2025 22:07:30 +0000 Received: from DFLE211.ent.ti.com (10.64.6.69) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Wed, 31 Dec 2025 16:07:28 -0600 Received: from DFLE209.ent.ti.com (10.64.6.67) by DFLE211.ent.ti.com (10.64.6.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Wed, 31 Dec 2025 16:07:28 -0600 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE209.ent.ti.com (10.64.6.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Wed, 31 Dec 2025 16:07:28 -0600 Received: from grumpy (grumpy.dhcp.ti.com [128.247.81.229]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 5BVM7Swj2799679; Wed, 31 Dec 2025 16:07:28 -0600 Received: from reatmon by grumpy with local (Exim 4.97) (envelope-from ) id 1vb4Lo-0000000Dtb1-1uVI; Wed, 31 Dec 2025 16:07:28 -0600 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH] libdrm: Remove upstreamed patch Date: Wed, 31 Dec 2025 16:07:28 -0600 Message-ID: <20251231220728.3311872-1-reatmon@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF000397B2:EE_|DS4PPF6D651AD93:EE_ X-MS-Office365-Filtering-Correlation-Id: 373b3154-1176-4b60-0895-08de48b8fe0c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam-Message-Info: FZr4aAcspka7Gfeq04t9yU0l/C/KwdRIPi+glfHfR1FsG7bgUqNjKZEO/SgAef3eWQcDHRYL8i37BzV7H2HUCZ0aPNw0ACpJnMbz16Xjrw9Lv/KKQwidrkq7yGLv8zDw+/rWEg238sEuMkF5Pc21fYJVhbHJdcqjFp4pzhICfeAIA1h9rA2yxVOhzgzRudMczvgGGQiqNLz/76VV15Y/L/MYT9lLwBqB5S4eyBCIQEsltwT+5WgH2UjKdctRyMfB2xa7z7GxKRRLzo54XnJ+dE9JLDlVfNK3y70jQHBCQOFE+YnXNWImQImEpAHt1HssTFiXmgzImEpf+v8ofMEX3D+a+3Y4ihXf8YhxA0E74AipO+/vKOJSavEi7HaDWSJWpzxMNn4L0FMH4mpg/AwyLSzzx7zb89ROxGzJk7+B6DVCdimYf9w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TadbqjcQ1ZxP4wmlwDH9pJHOmDEbOTAYuIc3wzZWYWDZ0mWzv7Yf+CM= X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Dec 2025 22:07:30.6150 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 373b3154-1176-4b60-0895-08de48b8fe0c X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF000397B2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS4PPF6D651AD93 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 31 Dec 2025 22:07:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16913 A form of this patch was recently upstreamed and oe-core is now pointing to a version of libdrm that contains the patch. We can drop this patch from meta-arago-distro. Signed-off-by: Ryan Eatmon --- .../recipes-graphics/drm/libdrm-arago.inc | 1 - ...p-fix-omap_bo_size-for-tiled-buffers.patch | 38 ------------------- 2 files changed, 39 deletions(-) delete mode 100644 meta-arago-distro/recipes-graphics/drm/libdrm/0001-omap-fix-omap_bo_size-for-tiled-buffers.patch diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc b/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc index 80c607ca..5b64677a 100644 --- a/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc +++ b/meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc @@ -2,7 +2,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/libdrm:" SRC_URI += " \ file://0001-Add-option-to-run-a-test-indefinitely.patch \ -file://0001-omap-fix-omap_bo_size-for-tiled-buffers.patch \ file://0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch \ " diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-omap-fix-omap_bo_size-for-tiled-buffers.patch b/meta-arago-distro/recipes-graphics/drm/libdrm/0001-omap-fix-omap_bo_size-for-tiled-buffers.patch deleted file mode 100644 index 3f47243d..00000000 --- a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-omap-fix-omap_bo_size-for-tiled-buffers.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 999fa7f4c79f9502b4f9d9e6d380f82bf839a250 Mon Sep 17 00:00:00 2001 -From: Tomi Valkeinen -Date: Thu, 18 May 2017 12:18:28 +0300 -Subject: [PATCH] omap: fix omap_bo_size for tiled buffers - -The buffer size is calculated using pixels, not bytes as it should. The -result is often correct, though, as the stride is aligned to page size, -but there are still many cases where the size ends up being wrong. - -Fix this by not calculating the size at all, as in that case -DRM_OMAP_GEM_INFO ioctl is used to get the correct size from the kernel. -This is better in any case as then the userspace library doesn't need to -know how the tiled buffers need to be aligned. - -Upstream-Status: Pending -Signed-off-by: Tomi Valkeinen ---- - omap/omap_drm.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/omap/omap_drm.c b/omap/omap_drm.c -index 42d35ef..06221b7 100644 ---- a/omap/omap_drm.c -+++ b/omap/omap_drm.c -@@ -207,11 +207,9 @@ static struct omap_bo * omap_bo_new_impl(struct omap_device *dev, - bo = bo_from_handle(dev, req.handle); - pthread_mutex_unlock(&table_lock); - -- if (flags & OMAP_BO_TILED) { -- bo->size = round_up(size.tiled.width, PAGE_SIZE) * size.tiled.height; -- } else { -+ /* for tiled buffers we get the size with DRM_OMAP_GEM_INFO later */ -+ if (!(flags & OMAP_BO_TILED)) - bo->size = size.bytes; -- } - - return bo; -