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:

committed by
Marge Bot

parent
c964e5f099
commit
2616e15c01
@@ -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;
|
||||
|
Reference in New Issue
Block a user