i965: Add plumbing for Broadwell's auxiliary surface support.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 May 2014 08:42:15 +0000 (01:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jun 2014 18:50:34 +0000 (11:50 -0700)
commitfd7718768929ff7fd1460bafc32f7b8be75a3140
treece2d6637742c426d9eaa6174b2562945b970e757
parenta46cb6a971b136f41e24739551f6d36ecc1694c0
i965: Add plumbing for Broadwell's auxiliary surface support.

Broadwell generalizes the MCS fields to allow for multiple kinds of
auxiliary surfaces.  This patch adds the plumbing to set those values,
but doesn't yet hook any up.

v2: (by Jordan Justen) Use mt for qpitch; pitch is tiles - 1.
v3: Don't forget to subtract 1 from aux_mt->pitch.
v4: Drop unnecessary aux_mt->offset (caught by Jordan Justen).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/gen8_surface_state.c