winsys/amdgpu: simplify amdgpu_cs_add_buffer() a bit
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Apr 2017 16:32:24 +0000 (18:32 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Apr 2017 09:59:17 +0000 (11:59 +0200)
commitaf612816bc90ef4ee40ccec1d6de4f9024f4ef55
tree60e3fc9a779a398a23cd579e2ee57f6f0d83f7e5
parent7c3b8ed87859bfdfb985d21685115a729f9cd138
winsys/amdgpu: simplify amdgpu_cs_add_buffer() a bit

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c