iris: Rename bo->gtt_offset to bo->address

This is the virtual memory address of the buffer object.  Calling it the
BO's address is a lot more obvious than calling it an offset in one of
the now many graphics translation tables.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12206>
This commit is contained in:
Kenneth Graunke
2021-07-19 21:23:18 -07:00
committed by Marge Bot
parent c964e5f099
commit 2616e15c01
12 changed files with 79 additions and 79 deletions

View File

@@ -55,7 +55,7 @@ __gen_combine_address(struct iris_batch *batch, void *location,
iris_use_pinned_bo(batch, addr.bo,
!iris_domain_is_read_only(addr.access), addr.access);
/* Assume this is a general address, not relative to a base. */
result += addr.bo->gtt_offset;
result += addr.bo->address;
}
return result;