intel/blorp: Expand blorp_address::offset to be 64 bits.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 21 Apr 2018 07:06:29 +0000 (00:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Dec 2018 00:35:51 +0000 (16:35 -0800)
commitf0d51e81c924064385c69ee46242183ef99411ab
treeb4a0e1c70eb57734453d70e5b7d20af48a6a2369
parentd014af98b7afc69f4f733c8b8b6f2e3438e68407
intel/blorp: Expand blorp_address::offset to be 64 bits.

In the softpin world, surface state base address may be a fixed 64-bit
address (with no associated BO).  It makes sense to store this in the
offset field.  But it needs to be the full size.

We also update the clear color address to be consistently uint64_t
everywhere so we can continue passing intel_miptree_get_clear_color
a pointer to the blorp_address's offset field without type mismatches.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/blorp/blorp.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h