summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_ggtt.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-01-19 15:16:51 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:27:44 +0300
commitb1e52b65712969a74f0ba9ffbf67dde98ce33c2f (patch)
tree276f40d19ca01b733d6864f8ee220b2429be43b9 /drivers/gpu/drm/xe/xe_ggtt.c
parente63f81adcc4283aed7d4fe5da1219881cc6f67d4 (diff)
downloadlinux-b1e52b65712969a74f0ba9ffbf67dde98ce33c2f.tar.xz
drm/xe/ppgtt: fix scratch page usage on DG2
On DG2 when running the xe_vm IGT, the kernel generates loads of CAT errors and GT resets (sometimes at least). On small-bar systems seems to trigger a lot more easily (maybe due to difference in allocation strategy). Appears to be related to scratch, since we seem to use the 64K TLB hint on scratch entries, even though the scratch page is a 4K vram page. Bumping the scratch page size and physical alignment seems to fix it. Or at least we no longer hit: [ 148.872683] xe 0000:03:00.0: [drm] Engine memory cat error: guc_id=0 [ 148.872701] xe 0000:03:00.0: [drm] Engine memory cat error: guc_id=0 [ 148.875108] WARNING: CPU: 0 PID: 953 at drivers/gpu/drm/xe/xe_guc_submit.c:797 However to keep things simple, so we don't have to deal with 64K TLB hints, just move the scratch page into system memory on platforms that require 64K VRAM pages. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_ggtt.c')
0 files changed, 0 insertions, 0 deletions