]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: validate paramaters in the gem ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Mar 2017 22:40:17 +0000 (17:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Mar 2017 21:34:27 +0000 (16:34 -0500)
commit834e0f8ae4e104fa026ffe5cdee58491f3078403
tree4cdcb49fc864bad2a1260cc279957121d7a1cee0
parentc085bd5119d5d0bdf3ef591a5563566be7dedced
drm/amdgpu: validate paramaters in the gem ioctl

Reject it if there are any invalid flags or domains.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c