gallium/radeon: query the CPU accessible size of VRAM
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 Jan 2017 15:56:45 +0000 (16:56 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 Jan 2017 18:40:14 +0000 (19:40 +0100)
commit9f087e1c7cc869fcb9839282194560d289b7df59
tree5527b59f786b908c68560832d8bcc245b099ae6a
parent13439031c881fb46e4be26790e80ca69306728d7
gallium/radeon: query the CPU accessible size of VRAM

R600_DEBUG="info" can be used to display that size, as well as
the total amount of VRAM/GTT.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c