aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2024-07-27 01:59:05 +0000
committerLucas De Marchi <[email protected]>2024-07-29 18:19:40 +0000
commitd51a75ac975a6147a4dea2d68cef4566f5c2ecaf (patch)
tree451b52ce6daab0dcce72eabd0565e867a7d8d4e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/xe/kunit: Test rtp with no actions (diff)
downloadkernel-d51a75ac975a6147a4dea2d68cef4566f5c2ecaf.tar.gz
kernel-d51a75ac975a6147a4dea2d68cef4566f5c2ecaf.zip
drm/xe/rtp: Simplify marking active workarounds
Stop doing the calculation both in rtp_mark_active() and in its caller. The caller easily knows the number of entries to mark, so just pass it forward. That also simplifies rtp_mark_active() since now it doesn't have a special case when handling 1 entry. Reviewed-by: Gustavo Sousa <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions