diff options
author | Xℹ Ruoyao <[email protected]> | 2021-03-30 23:33:34 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-03-31 21:53:38 -0400 |
commit | e3512fb67093fabdf27af303066627b921ee9bd8 (patch) | |
tree | 2aca66059fe370eaab15213dbecfcdf237ef788e /scripts/gdb/linux/tasks.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 <[email protected]>
Signed-off-by: Xi Ruoyao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions