]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix num_ibs check
authorChristian König <christian.koenig@amd.com>
Sun, 31 Jan 2016 10:32:04 +0000 (11:32 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:18 +0000 (14:17 -0500)
commite38818404d3ebdc3107cb0a31050b216792acbc4
tree6f7264b6be02983e133060311790a54db7ce3fbd
parent401eb401a8e34bc4147ce905a88fcc7bee01566b
drm/amdgpu: fix num_ibs check

Specifying no IBs on command submission is invalid, stop crashing
badly when somebody tries it.

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