aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXℹ Ruoyao <[email protected]>2021-03-30 23:33:34 +0800
committerAlex Deucher <[email protected]>2021-04-09 16:50:00 -0400
commit9a89a721b41b23c6da8f8a6dd0e382966a850dcf (patch)
tree12ac97808cc47f388d90992c067e5eeb4c216fa3 /tools/perf/scripts/python
parentf4d3da72a76a9ce5f57bba64788931686a9dc333 (diff)
drm/amdgpu: check alignment on CPU page for bo map
The page table of AMDGPU requires an alignment to CPU page so we should check ioctl parameters for it. Return -EINVAL if some parameter is unaligned to CPU page, instead of corrupt the page table sliently. Reviewed-by: Christian König <[email protected]> Signed-off-by: Xi Ruoyao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions