aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2020-07-28 21:38:29 +0000
committerAlex Deucher <[email protected]>2020-08-04 21:29:28 +0000
commit37912e963dadcc831dd2a766780ff0b8738773d8 (patch)
treedad2035ffcb7f747b821fab8f08706704c58dc52 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/amdgpu/smu: rework i2c adpater registration (diff)
downloadkernel-37912e963dadcc831dd2a766780ff0b8738773d8.tar.gz
kernel-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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> (v1) Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions