]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: validate the context id in the dependencies
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jul 2015 17:42:10 +0000 (19:42 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jul 2015 16:39:38 +0000 (12:39 -0400)
commit49283a608e61d4720f59ad709d90743117cab130
treefab6c23af9e4fcefb486767e5ca5e50d3ed67fb6
parentc6219cff3b2d8dc86becc05cf9b610886b550a44
drm/amdgpu: validate the context id in the dependencies

Just to make sure userspace don't send nonsense to the kernel.

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