summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYu Zhao <yuzhao@google.com>2019-01-08 01:51:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-01-09 00:26:41 +0300
commit89f23b6efef554766177bf51aa754bce14c3e7da (patch)
tree8558916273a97a04eed4c98ada96a5bbd9138777 /tools/perf/scripts/python/exported-sql-viewer.py
parentfadcb8f9fc89f7b517ce48f30e0b607b16d99d63 (diff)
downloadlinux-89f23b6efef554766177bf51aa754bce14c3e7da.tar.xz
drm/amdgpu: validate user pitch alignment
Userspace may request pitch alignment that is not supported by GPU. Some requests 32, but GPU ignores it and uses default 64 when cpp is 4. If GEM object is allocated based on the smaller alignment, GPU DMA will go out of bound. Cc: stable@vger.kernel.org # v4.2+ Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions