winsys/amdgpu: extract amdgpu_do_add_real_buffer
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 Feb 2017 16:06:06 +0000 (17:06 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Apr 2017 08:37:17 +0000 (10:37 +0200)
commit1c125fdef0417fc86bcb041784234f030a8dc48f
treee195b78d4abb242518c3cd33591ebb2553b1636c
parenta338f427ac486aeedd2a5a19013ee2550d0ebb1a
winsys/amdgpu: extract amdgpu_do_add_real_buffer

We will use it for delayed adding of sparse buffers' backing buffers.

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