drm/amd/amdgpu: Avoid fault when allocating an empty buffer object
authorTom St Denis <tom.stdenis@amd.com>
Mon, 17 Sep 2018 18:07:00 +0000 (14:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Sep 2018 17:37:04 +0000 (12:37 -0500)
commitddaf501347e21a19d15977029af1d229cd800379
tree56069bd3e9594fbf1de4ca73185eaa0f9817386f
parent5297572806aeeb68c2491169fe7fcc436e09e41d
drm/amd/amdgpu: Avoid fault when allocating an empty buffer object

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c