]> 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)
commit982d7796c1b1e1951aff1244eb5b7dbd0ae8abab
treefab6c23af9e4fcefb486767e5ca5e50d3ed67fb6
parentb0b49924c93f106e3ad8a504af176ac59574a701
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