OSDN Git Service

i965: Add initial IS_HASWELL() macros.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 13 Aug 2011 01:22:48 +0000 (18:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Mar 2012 21:38:48 +0000 (14:38 -0700)
commit180aecb6dce1df55eae674f0f72adbc6f4d872b9
tree11246ff80f03908e05862407e54b5d72ebab705c
parent01044fce6b3de11635ea5078b76ffee1a33b3802
i965: Add initial IS_HASWELL() macros.

For now, these all return 0, as I don't yet want to enable Haswell
support.  Eventually they will be filled in with proper PCI IDs.

Also add an is_haswell field similar to is_g4x to make it easy to
distinguish Gen7 and Gen7.5.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_chipset.h
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h