aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wang2016-02-03 23:52:22 -0600
committerAlex Deucher2016-02-04 11:26:43 -0600
commitf884af9b57ff480d3c87870d8b40055d9c8c6cfe (patch)
tree5d129a40a4a27bc04e4156765ce1ff98c3adb123 /amdgpu/amdgpu_internal.h
parent6950af4e8475fa969ba46675fe2665c842fc4b79 (diff)
downloadexternal-libgbm-f884af9b57ff480d3c87870d8b40055d9c8c6cfe.tar.gz
external-libgbm-f884af9b57ff480d3c87870d8b40055d9c8c6cfe.tar.xz
external-libgbm-f884af9b57ff480d3c87870d8b40055d9c8c6cfe.zip
amdgpu: fix for submition with no ibs
Avoid a crash if no IBs are specified. Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index 557ba1f1..4f039b68 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -44,6 +44,7 @@
44#define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) 44#define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y))
45 45
46#define AMDGPU_INVALID_VA_ADDRESS 0xffffffffffffffff 46#define AMDGPU_INVALID_VA_ADDRESS 0xffffffffffffffff
47#define AMDGPU_NULL_SUBMIT_SEQ 0
47 48
48struct amdgpu_bo_va_hole { 49struct amdgpu_bo_va_hole {
49 struct list_head list; 50 struct list_head list;