Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/amdgpu: unused AMDGPU_KERNEL_JOB_ID_VM_UPDATE macro left in amdgpu_job.h --
commit b5d2f9766b7fbe22680f4acb68fcadef25a399a7 Author: Thadeu Lima de Souza Cascardo <[email protected]> drm/amdgpu: pass job id as part of amdgpu_vm_update_params This commit stores k_job_id in struct amdgpu_vm_update_params and removes the separate job-ID parameter from the VM update prepare callbacks and amdgpu_vm_sdma_alloc_job() so rollover allocations reuse the original ID. Link: https://lore.kernel.org/amd-gfx/[email protected]/ > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c > index 9b417bf3ea882..6b76349cf433e 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c [ ... ] > @@ -245,8 +244,7 @@ static int amdgpu_vm_sdma_update(struct > amdgpu_vm_update_params *p, > if (ndw < 32) { > amdgpu_vm_sdma_commit(p, NULL); > > - r = amdgpu_vm_sdma_alloc_job(p, count, > - > AMDGPU_KERNEL_JOB_ID_VM_UPDATE); > + r = amdgpu_vm_sdma_alloc_job(p, count); > if (r) > return r; [Severity: Low] Can AMDGPU_KERNEL_JOB_ID_VM_UPDATE in drivers/gpu/drm/amd/amdgpu/amdgpu_job.h be removed now? This rollover call in amdgpu_vm_sdma_update() was its only remaining user, and the AMDGPU_KERNEL_JOB_ID_* macros use explicit numeric values so dropping it won't renumber the others. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261203-amdgpu_vm_update_funcs_cleanup-v1-0-bc9e80055...@igalia.com?part=2
