i965: Update STATE_BASE_ADDRESS for Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Dec 2012 21:53:40 +0000 (13:53 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 01:50:07 +0000 (17:50 -0800)
commit08a471495935665c55f2968e310d6e20193b02f1
treec4857ace6ab99308f0f23391eae1842f0523164f
parentf3c6d6f1e151f6a44a76038dccebe4434038dcb1
i965: Update STATE_BASE_ADDRESS for Broadwell.

v2: Fix missing "change" bit on instruction state base address
    (caught by Haihao Xiang).

v3: Add a perf_debug for missing MOCS setup, requested by Eric.

v4: Fix buffer sizes.  The value, specified at bit 12 and up, is
    actually measured in 4k pages.  We need to round up to the
    next multiple of 4k.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net> [v3]
Reviewed-by: Matt Turner <mattst88@gmail.com> [v4]
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen8_misc_state.c [new file with mode: 0644]