drm/amdgpu: add chunk id validity check
authorChristian König <christian.koenig@amd.com>
Tue, 23 Jun 2015 15:07:03 +0000 (17:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:49 +0000 (11:21 -0400)
commit9a5e8fb1c8372ea4b58a76bbb82cb97683bb204b
treeaf92dc30bcf8d7e8af94f71f6a5bc233ad1e033e
parentb8682ac253bdab6c15678f926bdc028b2e5dc0d2
drm/amdgpu: add chunk id validity check

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