i965: Fix a few base addresses on Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 27 Apr 2014 05:54:36 +0000 (22:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Apr 2014 21:01:06 +0000 (14:01 -0700)
commit979a015bc168e0ea3be9f596601757950069e3bd
treea81da679d790dfb4c7ed881a3faf79e2756a4fe3
parent7fb05f929802bf32391e416ceb62a34b4571905c
i965: Fix a few base addresses on Broadwell.

We intended to set these 64-bit addresses to 0, and set the enable bit.
But, I accidentally placed the DWord with the high bits first, when it
should have been second.

This generally worked out, by luck - presumably General State Base
Address is initially zero, and ends up remaining that way in our
contexts since we bungled the "modify enable" bit.

v2: Fix MOCS shift on GSBA.  It should be 4, and I had 2.
    (Caught by Ben Widawsky.)

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/gen8_misc_state.c