aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2022-10-04 14:19:16 +0100
committerMatthew Auld <[email protected]>2022-10-05 09:02:45 +0100
commit7024f80efcce8122fe8db3e0b4c096eb199333eb (patch)
treebc74529d5585a65bd504df77d82fcb8a783031a2 /tools/perf/scripts/python/exported-sql-viewer.py
parente3afc690188be8e4385d13d1b0e7f0ba01caea40 (diff)
drm/i915: check memory is mappable in read_from_page
On small-bar systems we could be given something non-mappable here, which leads to nasty oops. Make this nicer by checking if the resource is mappable or not, and return an error otherwise. v2: drop GEM_BUG_ON(flags & I915_BO_ALLOC_GPU_ONLY) Signed-off-by: Matthew Auld <[email protected]> Cc: Jianshui Yu <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: Nirmoy Das <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions