drm/xe: Rename GPU offset helper to reflect true usage
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Thu, 25 May 2023 19:43:26 +0000 (15:43 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:10 +0000 (18:34 -0500)
commitfb31517cd712f9a29608bc24fbcaf45d14e9c40e
tree4e6c3cc3d5c8a5aac2f47e37d3083f04bbebfe5f
parent2d830096e41403ba67c9d066de2fb818f81d9591
drm/xe: Rename GPU offset helper to reflect true usage

The _io_offset helper function is returning an offset into the GPU
address space.  Using the CPU address offset (io_) is not correct.

Rename to reflect usage.
Update to use GPU offset information.
Update PT dma_offset to use the helper

Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_bo.h
drivers/gpu/drm/xe/xe_migrate.c
drivers/gpu/drm/xe/xe_pt.c