]> git.baikalelectronics.ru Git - kernel.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)
commit6c5db15ad3cce7468d835dfce6d2b91c1ddaf057
treec2eb0e23188f5bf6af4b07594036372a6f09aa21
parent2eb7c6d8ae50664e9e344fbec8e831d936d05ead
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