summaryrefslogtreecommitdiff
path: root/include/drm/xe_pciids.h
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-08-03 06:15:38 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:40:00 +0300
commitc47794bdd63d8304fa5d410039e81c6387388340 (patch)
tree6ffe85c646e306009dabc00b45300e77279ee937 /include/drm/xe_pciids.h
parent31b57683de2c98ac6a3de7223ef0afd47731265c (diff)
downloadlinux-c47794bdd63d8304fa5d410039e81c6387388340.tar.xz
drm/xe: Set max pte size when skipping rebinds
When a rebind is skipped, we must set the max pte size of the newly created vma to value of the old vma as we do not pte walk for the new vma. Without this future rebinds may be incorrectly skipped due to the wrong max pte size. Null binds are more likely to expose this bug as larger ptes are more frequently used compared to normal bindings. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Testcase: dEQP-VK.sparse_resources.buffer.ssbo.sparse_residency.buffer_size_2_24 Reported-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Fixes: 8f33b4f054fc ("drm/xe: Avoid doing rebinds") Reference: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23045 Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/xe_pciids.h')
0 files changed, 0 insertions, 0 deletions