]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Implement HW workaround 14016763929
authorOak Zeng <oak.zeng@intel.com>
Thu, 3 Aug 2023 18:44:04 +0000 (14:44 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:40:18 +0000 (11:40 -0500)
commit7f6c6e5085bd4e02f0fd555be76cf7f105c201e7
tree6bba117b98db98613c3c166dabd855493fb67e21
parentde4651d6dd04d173b50fa8631a9a3cdd897434c4
drm/xe: Implement HW workaround 14016763929

To workaround a HW bug on DG2, driver is required to map the whole
ppgtt virtual address space before GPU workload submission. Thus
set the XE_VM_FLAG_SCRATCH_PAGE flag during vm create so the whole
address space is mapped to point to scratch page.

v1:
  - Move the workaround implementation from xe_vm_create to
    xe_vm_create_ioctl - Brian
  - Reorder error checking in xe_vm_create_ioctl - Jose
  - Implement WA only for DG2-G10 and DG2-G12

Signed-off-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: Brian Welty <brian.welty@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_wa_oob.rules