diff options
| author | Jesse Zhang <[email protected]> | 2024-05-30 03:27:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-05 15:25:13 +0000 |
| commit | b5b561621d5d6bc0ddd6cc442893f6768d151c27 (patch) | |
| tree | 026d139f9e9517f2c39cde9d91c7b8b1a3c0828a /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
| parent | drm/amdkfd: fix the kdf debugger issue (diff) | |
| download | kernel-b5b561621d5d6bc0ddd6cc442893f6768d151c27.tar.gz kernel-b5b561621d5d6bc0ddd6cc442893f6768d151c27.zip | |
drm/amdkfd: remove dead code in kfd_create_vcrat_image_gpu
kfd_create_vcrat_image_gpu itself checks the avail_size at the start.
So the value of avail_size is at least VCRAT_SIZE_FOR_GPU(16384),
minus struct crat_header(40UL) and struct crat_subtype_compute(40UL) it cannot be less than 0.
Signed-off-by: Jesse Zhang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions
