gallium/ilo: handle query_renderer caps
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 19:46:29 +0000 (20:46 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:42:47 +0000 (17:42 +0100)
commitcc313b3ffeb1315dfa6a088da7f5f177aff9d192
treeff9505628b9b0248cc667a046f7b7c778dfde071
parent5b9cb1329557cc17e1533aed7c63e1252658d74b
gallium/ilo: handle query_renderer caps

Implementation based on the classic driver with the following
changes:
 - Use auxiliarry function os_get_total_physical_memory to get the
total amount of memory.
 - Move the libdrm_intel specific get_aperture_size to the winsys.

Cc: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/ilo/ilo_screen.c
src/gallium/winsys/intel/drm/intel_drm_winsys.c
src/gallium/winsys/intel/intel_winsys.h