summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2025-09-05 10:19:29 +0200
committerAlex Deucher <alexander.deucher@amd.com>2025-10-13 14:14:33 -0400
commit0c1beb7cbf6659ff9153b918be683b3f56295716 (patch)
tree1442adba4227881b2e2cf46605fb23cb527abca5 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parent17f5bd95511f0ee1a10d2adf301602be1d0a8bf6 (diff)
drm/amdgpu: make non-NULL out fence mandatory
amdgpu_ttm_copy_mem_to_mem has a single caller, make sure the out fence is non-NULL to simplify the code. Since none of the pointers should be NULL, we can enable __attribute__((nonnull))__. While at it make the function static since it's only used from amdgpuu_ttm.c. Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions