summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-05-18 19:14:56 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-07-30 00:11:10 -0400
commitb23fa145857d82f4480dd5d1877aef5cc1b920b9 (patch)
tree1e88c391f495071da0b25e0b02fb6c5f64d4dd3a
parent57b8b4b375d179488a8ad3214ccdadc012a1c558 (diff)
amdgpu: fix the number of IB size enums
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
-rw-r--r--amdgpu/amdgpu.h12
1 files 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
/*--------------------------------------------------------------------------*/