winsys/amdgpu: add do_winsys_deinit function
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 6 Sep 2016 13:12:18 +0000 (15:12 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 12 Sep 2016 11:54:56 +0000 (13:54 +0200)
commit480ac143df281fef762e30f92bccc3b89674fef8
treecf62027cc747baf7b021b499321c048ff488b2e1
parent9fb8d354cafd080e1616f5bd5e2f50b43c0d820f
winsys/amdgpu: add do_winsys_deinit function

The idea is to have matching init/deinit functions so that deinit can be
re-used for cleanup in the error path of amdgpu_winsys_create.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c