diff options
| author | Xℹ Ruoyao <xry111@mengyan1223.wang> | 2021-03-30 18:33:34 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-01 04:53:38 +0300 |
| commit | e3512fb67093fabdf27af303066627b921ee9bd8 (patch) | |
| tree | 2aca66059fe370eaab15213dbecfcdf237ef788e /scripts/gdb/linux/device.py | |
| parent | 566c6e25f957ebdb0b6e8073ee291049118f47fb (diff) | |
| download | linux-e3512fb67093fabdf27af303066627b921ee9bd8.tar.xz | |
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 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions
