drm/amdgpu: Validate VM ioctl flags.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 13 May 2023 12:51:00 +0000 (14:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:40:25 +0000 (10:40 -0400)
commita2b308044dcaca8d3e580959a4f867a1d5c37fac
treed36f157102b8e54c129ed799a9cb82f4c34113e3
parente5edd9ab0e291912cf68abf5dc84d393d29a60a7
drm/amdgpu: Validate VM ioctl flags.

None have been defined yet, so reject anybody setting any. Mesa sets
it to 0 anyway.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c