summaryrefslogtreecommitdiff
path: root/include/drm/ttm/ttm_pool.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:32:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:32:50 +0300
commita2c9c3581a75382ba468ba865c9d31c60cc884b3 (patch)
tree058ddabba23d052f9d4fad4256de7e113767c3b7 /include/drm/ttm/ttm_pool.h
parentba5daf9b30e7a60335ba59f85a0d611008aea025 (diff)
parent5697d159afef8c475f13a0b7b85f09bd4578106c (diff)
downloadlinux-a2c9c3581a75382ba468ba865c9d31c60cc884b3.tar.xz
Merge v6.6.30
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 30a347e5aa11..4490d43c63e3 100644
--- a/include/drm/ttm/ttm_pool.h
+++ b/include/drm/ttm/ttm_pool.h
@@ -74,7 +74,7 @@ struct ttm_pool {
bool use_dma32;
struct {
- struct ttm_pool_type orders[MAX_ORDER + 1];
+ struct ttm_pool_type orders[NR_PAGE_ORDERS];
} caching[TTM_NUM_CACHING_TYPES];
};