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 6A6AF606A692 for ; Thu, 3 Dec 2026 21:45:49 +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=X0Z5yyFK Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C791210E581; Thu, 3 Dec 2026 21:45:43 +0000 (UTC) Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1829610E1E5; Thu, 3 Dec 2026 21:45:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Cc:To:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:From:From:Reply-To; bh=2mFP198mLLI4YMWEY+nSNvI+QbiFfDF8hiVIyEJC0ZE=; t=1796334338; x=2111694338; b=X0Z5yyFKK3eZVLjJmRXpNxuYbEm2rwhGq1vS1jCeuKYbiBBt33LHo3A+RYsbazdCMCb+t477TCE WydkNXDTbf+AB/PdXCVthwBYX1gaGBTIdY2cqzUG/4CRRsWjWL4V7+6tqoS1wtTYYqAPTeeOSzsQx b/9wzcKKj+cAVsX5ipERj0q/zstKBPoHZXY/uNTmSDMhRxaKQOHouEjOyKgIvEHGxnFePFNQ019F0 EeKKFMIeAhRfwvzpHQFic94nf5L4eCyzlr0dkV/d3fA0qHNP16LTohAQPlChbySqFYAffIh7C1M7l 19U3NIhWcUjq9VU4RHCq73ZGffOE4Avjl/+A==; Received: from 179-125-72-1-dinamico.pombonet.net.br ([179.125.72.1] helo=[127.0.0.1]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) (envelope-from ) id 1xZEcQ-00000001pLx-2x9x; Thu, 03 Dec 2026 22:45:35 +0100 From: Thadeu Lima de Souza Cascardo Subject: [PATCH 0/2] drm/amdgpu: Small cleanup for amdgpu_vm_update_funcs Date: Thu, 03 Dec 2026 18:41:50 -0300 Message-Id: <20261203-amdgpu_vm_update_funcs_cleanup-v1-0-bc9e80055e41@igalia.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEXiEWsC/yXNQQrCMBBA0auUWRtIY1vQq4iEMZnUERtDpilC6 d1N6/Jt/l9BKDMJXJsVMi0s/IkV7akB98Q4kmJfDUaboTX6rHDyYyp2mWxJHmeyoUQn1r0JY0l Km74fdOjCpUOokZQp8PcY3O5/S3m8yM17FbbtB/kLoE+CAAAA X-Change-ID: 20261203-amdgpu_vm_update_funcs_cleanup-025560f4f94a To: Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , David Airlie , Simona Vetter , Sumit Semwal , Zihao Mu Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kernel-dev@igalia.com, Thadeu Lima de Souza Cascardo X-Mailer: b4 0.17-dev-04696 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-23.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,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 These small fixups may help on some potential fixes later on. They remove an unecessary error check and move one parameter to struct amdgpu_vm_update_params. The only functional change is a debug identification of the job origin, which would now show up as the source of the request, not the resubmission. Signed-off-by: Thadeu Lima de Souza Cascardo --- Thadeu Lima de Souza Cascardo (2): drm/amdgpu: make amdgpu_vm_update_funcs commit return void drm/amdgpu: pass job id as part of amdgpu_vm_update_params drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 16 ++++++---------- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 12 ++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_internal.h | 11 ++++++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 23 ++++++++--------------- 5 files changed, 29 insertions(+), 39 deletions(-) --- base-commit: 1593170fbfe185c107343775d7fae86b6354bd86 base-tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next change-id: 20261203-amdgpu_vm_update_funcs_cleanup-025560f4f94a Best regards, -- Thadeu Lima de Souza Cascardo