winsys/amdgpu: read NUM_BANKS from buffer metadata
authorMarek Olšák <marek.olsak@amd.com>
Sun, 1 May 2016 11:47:47 +0000 (13:47 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 May 2016 20:49:25 +0000 (22:49 +0200)
commitdc970c4f4e03e17e32132734c1707d845ab610c9
treef7315478f12d18c9e9da85cb3810f173229fb978
parent02f90cef7d4c5417da31bea6c098bc06b9c4e035
winsys/amdgpu: read NUM_BANKS from buffer metadata

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_texture.c
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c