summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-03-29 20:33:32 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:30:26 +0300
commit681818fdb97de821cc1ee6b81c7a09f3ef8fc96d (patch)
tree354f9e01bb464e14dd2a907cb870be6c06cec03e /scripts/stackdelta
parent3d4451d30f36ffe21f8c5eea7db9678330ee83c4 (diff)
downloadlinux-681818fdb97de821cc1ee6b81c7a09f3ef8fc96d.tar.xz
drm/xe: Include hardware prefetch buffer in batchbuffer allocations
The hardware prefetches several cachelines of data from batchbuffers before they are parsed. This prefetching only stops when the parser encounters an MI_BATCH_BUFFER_END instruction (or a nested MI_BATCH_BUFFER_START), so we must ensure that there is enough padding at the end of the batchbuffer to prevent the prefetcher from running past the end of the allocation and potentially faulting. Bspec: 45717 Link: https://lore.kernel.org/r/20230329173334.4015124-2-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions