]> git.itanic.dy.fi Git - linux-stable/commit
drm/xe: Set PTE_AE for smem allocations in integrated devices
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 4 Oct 2023 21:01:42 +0000 (14:01 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:42:59 +0000 (11:42 -0500)
commitb6f45db5d08ac6ac1827ed64d009f3a25ad293c8
tree640e7c353a71bbc8de6148e7e3553cd1f5938d0a
parenta4e2f3a299ea1c9c4b6d0e51048273eac28256b9
drm/xe: Set PTE_AE for smem allocations in integrated devices

Without this if a atomic operation is executed in Xe2 integrated GPUs
it causes engine memory catastrophic error.

This fixes at least 3 failures in piglit sanity and 2 failures in
crucible for LNL.

v3:
- only add PTE_AE to smem in integrated

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pt.c