From 8a208ee8f93d8e52dc47d2d75ff00a126e848184 Mon Sep 17 00:00:00 2001 From: Jammy Zhou Date: Mon, 18 May 2015 19:14:56 +0800 Subject: [PATCH] amdgpu: fix the number of IB size enums MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jammy Zhou Reviewed-by: Michel Dänzer Reviewed-by: Christian König --- amdgpu/amdgpu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h index c48af922..e99bada1 100644 --- a/amdgpu/amdgpu.h +++ b/amdgpu/amdgpu.h @@ -104,15 +104,15 @@ enum amdgpu_bo_handle_type { * \sa amdgpu_cs_alloc_ib() */ enum amdgpu_cs_ib_size { - amdgpu_cs_ib_size_4K = 1, - amdgpu_cs_ib_size_16K = 2, - amdgpu_cs_ib_size_32K = 3, - amdgpu_cs_ib_size_64K = 4, - amdgpu_cs_ib_size_128K = 5 + amdgpu_cs_ib_size_4K = 0, + amdgpu_cs_ib_size_16K = 1, + amdgpu_cs_ib_size_32K = 2, + amdgpu_cs_ib_size_64K = 3, + amdgpu_cs_ib_size_128K = 4 }; /** The number of different IB sizes */ -#define AMDGPU_CS_IB_SIZE_NUM 6 +#define AMDGPU_CS_IB_SIZE_NUM 5 /*--------------------------------------------------------------------------*/