]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: create an empty bo_list if no handle is provided
authorChristian König <christian.koenig@amd.com>
Mon, 30 Jul 2018 14:44:14 +0000 (16:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jul 2018 21:58:19 +0000 (16:58 -0500)
commit4a102ad4ba0daf886dcf0927ce2a7f6c3b3a615c
treec2eb0e23188f5bf6af4b07594036372a6f09aa21
parent920990cb080a44203bf6c8eb706e79ad23241ad3
drm/amdgpu: create an empty bo_list if no handle is provided

Instead of having extra handling just create an empty bo_list when no
handle is provided.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c