i965: Fix border color on Ironlake.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Feb 2012 01:14:15 +0000 (17:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Feb 2012 04:47:49 +0000 (20:47 -0800)
commit3340b47c2280346ba2f44dde44466f09d898b9d8
tree7c8df4265bb155af4c823316d498c4e15f09bfbb
parent7d55f37b0e87db9b3806088797075161a1c9a8bb
i965: Fix border color on Ironlake.

Ironlake appears to check our pointer against the General State Base
Address upper bound, rather than ignoring the zero bound as it ought.

Unfortunately, since we leave GSBA set to zero, there is no logical
upper bound.  Set it to the maximum possible value, which should work
since our virtual addresses only go up to 2GB.

+94 piglits.

NOTE: This is a candidate for stable release branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28924
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_misc_state.c