[RFC PATCH 11/18] drm/ttm: Bump BO priority count

Friedrich Vock friedrich.vock at gmx.de
Wed Apr 24 16:57:01 UTC 2024


For adjustable priorities by userspace, it is nice to have a bit more
granularity.

Signed-off-by: Friedrich Vock <friedrich.vock at gmx.de>
---
 include/drm/ttm/ttm_resource.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
index 7d1ce059c8805..241643447488a 100644
--- a/include/drm/ttm/ttm_resource.h
+++ b/include/drm/ttm/ttm_resource.h
@@ -35,7 +35,7 @@
 #include <drm/ttm/ttm_caching.h>
 #include <drm/ttm/ttm_kmap_iter.h>

-#define TTM_MAX_BO_PRIORITY	4U
+#define TTM_MAX_BO_PRIORITY	8U
 #define TTM_NUM_MEM_TYPES 8

 struct ttm_device;
--
2.44.0



More information about the amd-gfx mailing list