diff options
author | Chris Wilson <[email protected]> | 2020-03-31 16:23:48 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2020-04-06 10:31:19 -0700 |
commit | 0b72a251bf92ca2378530fa1f9b35a71830ab51c (patch) | |
tree | 70cb1c085dfa8cad63e57d33591889503be7ac0b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8262b49209c410d9df063e5ddc3168e210b28422 (diff) |
drm/i915/gt: Fill all the unused space in the GGTT
When we allocate space in the GGTT we may have to allocate a larger
region than will be populated by the object to accommodate fencing. Make
sure that this space beyond the end of the buffer points safely into
scratch space, in case the HW tries to access it anyway (e.g. fenced
access to the last tile row).
v2: Preemptively / conservatively guard gen6 ggtt as well.
Reported-by: Imre Deak <[email protected]>
References: https://gitlab.freedesktop.org/drm/intel/-/issues/1554
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: [email protected]
Reviewed-by: Matthew Auld <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 4d6c18590870fbac1e65dde5e01e621c8e0ca096)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions