summaryrefslogtreecommitdiff
path: root/include/drm/ttm/ttm_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/ttm/ttm_pool.h')
-rw-r--r--include/drm/ttm/ttm_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_pool.h b/include/drm/ttm/ttm_pool.h
index ef09b23d29e3..8ce14f9d202a 100644
--- a/include/drm/ttm/ttm_pool.h
+++ b/include/drm/ttm/ttm_pool.h
@@ -72,7 +72,7 @@ struct ttm_pool {
bool use_dma32;
struct {
- struct ttm_pool_type orders[MAX_ORDER];
+ struct ttm_pool_type orders[MAX_ORDER + 1];
} caching[TTM_NUM_CACHING_TYPES];
};