diff options
author | Xℹ Ruoyao <xry111@mengyan1223.wang> | 2021-03-30 23:33:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:50:00 -0400 |
commit | 9a89a721b41b23c6da8f8a6dd0e382966a850dcf (patch) | |
tree | 12ac97808cc47f388d90992c067e5eeb4c216fa3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f4d3da72a76a9ce5f57bba64788931686a9dc333 (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 <christian.koenig@amd.com>
Signed-off-by: Xi Ruoyao <xry111@mengyan1223.wang>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions