i965: Rename brw_bo::offset64 to gtt_offset.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Aug 2017 07:02:10 +0000 (00:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Sep 2017 16:59:39 +0000 (09:59 -0700)
commit598503e285f9bf49e09132e064cc07a9ab0ae64c
treed050487be1b2011ce2882235ae81277fc707e22a
parent804f78feb41376101632715c32ab680893629915
i965: Rename brw_bo::offset64 to gtt_offset.

We can drop the meaningless "64" suffix - libdrm_intel originally had
an "offset" field that was an "unsigned long" which was the wrong size,
and we couldn't remove/alter that field without breaking ABI, so we had
to add a uint64_t "offset64" field.

"gtt_offset" is also more descriptive than "offset".

(Patch originally written by Ken, but Chris suggested a better name and
supplied the giant comment making up the bulk of the patch, so I changed
the authorship to him.)

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/intel_batchbuffer.c