i965: Add a new brw_device_info structure.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Jul 2013 19:11:36 +0000 (12:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Oct 2013 07:10:43 +0000 (00:10 -0700)
commit6e9f427ed8a20d78e7d832b163d757827dd3e74f
tree512ebcd753f3387aa857f4d7cbb8c2738b0a3711
parent4a29b9a066737398890755ed9987e49841aac60f
i965: Add a new brw_device_info structure.

The idea is that struct brw_device_info should store statically-known
information about hardware features.  Using the new family name in the
PCI ID table, we can easily grab the right structure.

This is basically the equivalent of intel_device_info in the kernel.

This patch also makes the new structure available from intel_screen, but
nothing uses it.  Right now, it looks very redundant with existing
fields, but that will change.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_device_info.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_device_info.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/intel_chipset.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.h