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 7D9A8606A31A for ; Tue, 1 Dec 2026 15:42:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=SRn3DlAB Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A13A110FA2B; Tue, 1 Dec 2026 15:42:42 +0000 (UTC) Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71D0A10FA1C for ; Tue, 1 Dec 2026 15:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:Cc:To:From:From:Reply-To; bh=7khMY9gBqhWnOAAZ/rNmw3ECAolQTykTaF1CLRSUS7Q=; t=1796139756; x=2111499756; b=SRn3DlABhQMJ2DHMa/KwvdurD+3slb3wtx9BgFcC0GnnRJ/zXRzY5+UNzkI7/kVPm3ktz7gBKRx +y0jxb+8jYlqxhNvAYNCDyeljzvdZarasGK4PTNFzZotz5Y9eEvQ4IMmRvxayDA5WsUAKtZ3L/2Ir M0RGFtFRUk+GTLfNttdmy9JBScjTpmF/EFnAXNreTVngWFd0KgJQ8buCA3wtrrcz3MnEDT0+Um46V /IJ1tnR7kS/RAawRdCsWBTYv8Gk4n83gW1iNVGEOTM0v3wQ3BubQrXYijyJdNiTQv9n/uZtYjZfEO eRstkoswFURVyySB64QxzAlkRgwZ8P+nANWA==; Received: from [81.79.79.1] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1xYQ02-00000000ikz-2hpP; Tue, 01 Dec 2026 16:42:34 +0100 From: Tvrtko Ursulin To: amd-gfx@lists.freedesktop.org Cc: kernel-dev@igalia.com, Tvrtko Ursulin , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , =?UTF-8?q?Timur=20Krist=C3=B3f?= Subject: [RFC v3 0/4] Use high priority scheduler workqueue for high priority rings Date: Tue, 1 Dec 2026 15:42:28 +0000 Message-ID: <20261201154232.78320-1-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.56.0 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, 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 Last patch is the headline item while three preceding ones are hopefully fixes for problems I stumbled upon while adding WQ_HIGHPRI. On those three more eyes are definitely required since the init paths can be tricky. Smoke tested on the Steam Deck and no explosions. Cc: Alex Deucher Cc: Christian König Cc: Timur Kristóf v2: * Lets see if I fixed the sashiko bugs.. change log in patch 2. v3: * Fixed more sashiko reported issues in patch 2. Tvrtko Ursulin (4): drm/amdgpu: Free trail_fence_offs when freeing rings drm/amdgpu: Cleanup on ring failure drm/amdgpu: Unconfuse amdgpu_ring_init() drm/amdgpu: Use high priority scheduler workqueue for high priority rings drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 59 ++++++++------ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 92 ++++++++++++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 + 4 files changed, 102 insertions(+), 54 deletions(-) -- 2.56.0