From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 850C4606A322 for ; Wed, 2 Dec 2026 14:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=2OfSyrEK Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BF50112281; Wed, 2 Dec 2026 14:56:25 +0000 (UTC) Received: from CY3PR05CU001.outbound.protection.outlook.com (mail-westcentralusazon11013000.outbound.protection.outlook.com [40.93.201.0]) by gabe.freedesktop.org (Postfix) with ESMTPS id 532E0112281 for ; Wed, 2 Dec 2026 14:56:18 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dUtYEfSz7RVFAcu58OXTCwMwWRvlWmZ4JARnnXng+MhJrQDUKxJDEa+ZzXaJUURo5s/+e+rh6cXTninexk5PdLX0Lx+dIKYj6TSnwAW9YBsXk20gqEWuDnLTrlcT+qsaRicHn9rvfaZlfN1h/C+//9+5JTuJLv4i+LYUki9dhAIRZbR1laq8gBql5LU4THTTogtSi2FDtFOSW18M7zgAVb/2q+BnVjRAAuyYkBpiG8mJANlCDW6OQlbcgzpK7zx53rWjUqhUHDdXjSfglzhDlvbnfpEDE4b98fAV5vu5g1wGnHsNjqEeShxQREQaUpaz3yYmO+1HjggMkJFNevxwFQ== 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=wHKFm9rA7ffYhY9yn14AIOH5XLpfTduqkYbyLAmTd/g=; b=u4iQPt2XprD2QfkG60y31C7jdlJePuNNHUPQhDB+NtEfKr0O7B4cfbt1bvdsT9ZJ9KHeWKzTn/MotFa373YdJn5sXxWgTxlsAKAHBSX6Yv84qb3NvvXfqAf177W+JEWLTNrgfp7TI+RwmOCI9rMK69LZPdszqYy8pSiRGBbEbif3s2Obe0dEFZP7fFz5b2ZdLYy8SYBqv84oLYNwLU37c0suFldnFmfbP0rrpHLz2PMAn3Eh80z0hun4h1mWueyig0eNNSorDvsMBspN/7vTtHmO8dufVW1J02rnn3PfRmMM0xWJKxVqvnHe3yovFrJnPM0NB3J1jh2p+Yl/LZiCow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wHKFm9rA7ffYhY9yn14AIOH5XLpfTduqkYbyLAmTd/g=; b=2OfSyrEK76DsIjmo7yO2AmPsabcE/yFdILtBynq6ZyPoyNxSJdzrTiL1F34V89ZzCxtdbcthMLqKnm/FX3n2s+u05o5MfJM3HFVaF9CSjnjNebD0Y7elSuwk2itYpB01JWNi4XfU8ZpyLXXu6HTtvoUhfhqUv+Jv/8WLm3Mz1Tc= Received: from BY5PR04CA0005.namprd04.prod.outlook.com (2603:10b6:a03:1d0::15) by SJ2PR12MB7991.namprd12.prod.outlook.com (2603:10b6:a03:4d1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Wed, 2 Dec 2026 14:56:13 +0000 Received: from BY1PEPF0001AE1B.namprd04.prod.outlook.com (2603:10b6:a03:1d0:cafe::42) by BY5PR04CA0005.outlook.office365.com (2603:10b6:a03:1d0::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Wed, 2 Dec 2026 14:56:13 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb08.amd.com; pr=C Received: from satlexmb08.amd.com (165.204.84.17) by BY1PEPF0001AE1B.mail.protection.outlook.com (10.167.242.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Wed, 2 Dec 2026 14:56:12 +0000 Received: from Satlexmb09.amd.com (10.181.42.218) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 08:56:05 -0600 Received: from satlexmb08.amd.com (10.181.42.217) by satlexmb09.amd.com (10.181.42.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 08:56:05 -0600 Received: from p8.amd.com (10.180.168.240) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server id 15.2.2562.57 via Frontend Transport; Wed, 2 Dec 2026 08:56:05 -0600 From: Alex Deucher To: CC: Alex Deucher Subject: [PATCH 2/2] drm/amdgpu/gfx11: no need to emit frame cntl on rs64 Date: Wed, 2 Dec 2026 09:55:50 -0500 Message-ID: <20261202145550.640607-2-alexander.deucher@amd.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261202145550.640607-1-alexander.deucher@amd.com> References: <20261202145550.640607-1-alexander.deucher@amd.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF0001AE1B:EE_|SJ2PR12MB7991:EE_ X-MS-Office365-Filtering-Correlation-Id: cf188c30-57c3-47ff-4b29-08df50846890 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|23010399003|36860700016|1800799024|376014|11063799006|18002099003|6133799003|261009223027099003|22082099003|10067099003|56012099006|261102123227099003|261021121427099003; X-Microsoft-Antispam-Message-Info: /IhF+BHCQcXl2FIrot+z4n333sWxOs4NCcOdV4Wg706lbAhPNd8dFiHGw20IZp9K21xvoB6RSgwyaJB9C6ed+My56cI0in0h5umidWRoPMEBNMT93/45JTRTXBUX94DqZKV+5/bcJ9zKs+8sLHDCmN+y+7Uk9KmbEbM8LgLeQMRd3MsBOa5O/dsOYs5nK/+YM5FbyneM7JQENXNBgOD9+mG6mBWN5padXT6q8HGYgxoLTHa2UBWDYG697LcxGcfxTMLok4Hj7TuyG/Dvn8qr/1kHBppdWHgx6VU7n/1mTblqrCR9ilM/kzsSCIzY2qMLHB7zxnaXHxaF5oucn1MWiaLF9TkaW7Tbb0ZYHKWV+G84wB4MUFosbG7JweKaPU71o4L+CAxCD+p17xuRjA7GhZ1B1EV1AUhTAhoKoq9QI6BEhLkZKx4k0Ytj6otkqHkf1w2m5f7YK/ThlW1myk+DV6yahmhiKdpYF4f0ytl4ZbGPAsIYzFJPnRH+Xb6IGXRk8AVD+2xFTXyi9obaTvp2MqYctwe5B0NOpXdWL9JphjCsK4JKtjfnGrjHRfm3v0H6mGYN1JVS5QdwoABFO2NBdT2ShyJIldWSCuQK+0LoAsvm34qtl2TLu0yaN05z3wW/UidrAE2C43KijKj5UzirPPXK4YyzSTYFA2j58K5YXIvsQ7lunh1U+MnWbg2JMOca/H8s5q8YgBu5OD0kAXLPiw== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb08.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(23010399003)(36860700016)(1800799024)(376014)(11063799006)(18002099003)(6133799003)(261009223027099003)(22082099003)(10067099003)(56012099006)(261102123227099003)(261021121427099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zQ6EN/qlJ4/PirMK9vwsm6urkfFUDkpgplv2jwMLsj8hdOJkLHsF7GQI6twYAed5aqqsIL7oQdHyP+YoJJ6x6QeZllw22kvV/eAHq5nc0K9By4CQO48xoca0BoTzvJogxGqR0s7emNXXvTtOn0vQXZDlMXRWRgHznQrj9Vo36PQepTghnLIxgmYVwj6rGosxwbOEUly+H/tBYG0phaYmaXpKO0nMWTM4d3YB4B9YMiF+dgr3p6C2SwmmBebKrbe2sYLUlOB+TjIDCLLtCeS+1U2mHjH5EihlAxcocy16v/vrC4zLdklrLl6s7VWKb6Y9unzMGUmjSwL1RWtr9r07EGdLoMw2M8tezj2Gj7QEbvylmINPBer4I/8hflM9Ej6rhOdnXstrtsIeYePPyDg8hFPCRXN66U+Hs1nB0r+QZl844UtMGv0bixtkCBYYJD2F X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 14:56:12.8832 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cf188c30-57c3-47ff-4b29-08df50846890 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb08.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BY1PEPF0001AE1B.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7991 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "amd-gfx" X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 TMZ is only supported via secure queues on RS64, not via frames so no need to emit frame control when RS64 is enabled. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index ab55789b51059..cc605ce2874a2 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -6299,6 +6299,9 @@ static void gfx_v11_0_ring_emit_frame_cntl(struct amdgpu_ring *ring, bool start, { uint32_t v = secure ? FRAME_TMZ : 0; + if (ring->adev->gfx.rs64_enable) + return; + amdgpu_ring_write(ring, PACKET3(PACKET3_FRAME_CONTROL, 0)); amdgpu_ring_write(ring, v | FRAME_CMD(start ? 0 : 1)); } -- 2.56.1