]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Support device page faults on integrated platforms
authorBrian Welty <brian.welty@intel.com>
Mon, 20 Nov 2023 18:44:51 +0000 (10:44 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:10 +0000 (11:45 -0500)
commita682b6a42d4de68419f23d73afa57fc931fed3c6
tree7cd36b0e227b64a046bdb0b67ef8a92e5de7b43e
parentf4a0a113f103e23adb4f3ba8a0e02ce4973fdedf
drm/xe: Support device page faults on integrated platforms

Update xe_migrate_prepare_vm() to use the usm batch buffer even for
servicing device page faults on integrated platforms. And as we have
no VRAM on integrated platforms, device pagefault handler should not
attempt to migrate into VRAM.
LNL is first integrated platform to support device pagefaults.

Signed-off-by: Brian Welty <brian.welty@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_pagefault.c
drivers/gpu/drm/xe/xe_migrate.c