gallium/i915: handle query_renderer caps
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 19:11:32 +0000 (20:11 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:42:46 +0000 (17:42 +0100)
commit5b9cb1329557cc17e1533aed7c63e1252658d74b
tree9cd1f7f10cd523590b5baa58cd6fdb1427e493b1
parente9c43b1f01b10170f55acac66edc4e6d1b170260
gallium/i915: 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: Stephane Marchesin <stephane.marchesin@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/i915/i915_winsys.h
src/gallium/winsys/i915/drm/i915_drm_winsys.c