aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorYu Zhao <[email protected]>2019-01-07 15:51:14 -0700
committerAlex Deucher <[email protected]>2019-01-08 16:26:41 -0500
commit89f23b6efef554766177bf51aa754bce14c3e7da (patch)
tree8558916273a97a04eed4c98ada96a5bbd9138777 /scripts/gcc-plugins
parentfadcb8f9fc89f7b517ce48f30e0b607b16d99d63 (diff)
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: [email protected] # v4.2+ Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Yu Zhao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions