diff options
author | Xℹ Ruoyao <xry111@mengyan1223.wang> | 2021-03-30 23:33:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-31 21:53:38 -0400 |
commit | e3512fb67093fabdf27af303066627b921ee9bd8 (patch) | |
tree | 2aca66059fe370eaab15213dbecfcdf237ef788e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 566c6e25f957ebdb0b6e8073ee291049118f47fb (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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions