drm/xe/xe_migrate.c: Use DPA offset for page table entries.
authorDavid Kershner <david.kershner@intel.com>
Thu, 5 Oct 2023 22:00:39 +0000 (18:00 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:42:56 +0000 (11:42 -0500)
commitd9e85dd5c24d9503391440c65a09fdc69d486d55
tree78fc3b9c3c30bd27c03ac30c5add5381265a1850
parentdfc83d4293f3f0b26d38952b3e491c1ed5f36b38
drm/xe/xe_migrate.c: Use DPA offset for page table entries.

Device Physical Address (DPA) is the starting offset device memory.

Update xe_migrate identity map base PTE entries to start at dpa_base
instead of 0.

The VM offset value should be 0 relative instead of DPA relative.

Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: "Michael J. Ruhl" <michael.j.ruhl@intel.com>
Signed-off-by: David Kershner <david.kershner@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_migrate.c