diff options
author | 2020-07-28 17:38:29 -0400 | |
---|---|---|
committer | 2020-08-04 17:29:28 -0400 | |
commit | 37912e963dadcc831dd2a766780ff0b8738773d8 (patch) | |
tree | dad2035ffcb7f747b821fab8f08706704c58dc52 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/amdgpu/smu: rework i2c adpater registration (diff) | |
download | linux-dev-37912e963dadcc831dd2a766780ff0b8738773d8.tar.xz linux-dev-37912e963dadcc831dd2a766780ff0b8738773d8.zip |
drm/amdgpu: handle bo size 0 in amdgpu_bo_create_kernel_at (v2)
Just return early to match other bo_create functions.
v2: check if the bo_ptr is NULL rather than checking the size.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions