drm/amdgpu: restrict the sched jobs number to power of two
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 10 Dec 2015 09:34:33 +0000 (17:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Dec 2015 22:29:44 +0000 (17:29 -0500)
commit5b0112356cf9a735632b26ff5f3450e1716c8598
tree12bc09ab704fa9a8e6118f8f83fbab14cf4dc436
parenta1493cd575678910f90d488069a8a2c41a144fda
drm/amdgpu: restrict the sched jobs number to power of two

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
CC: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c