[PATCH 2/2] drm/amd/amdgpu: decrease ttm bo priority number

Roger.He Hongbo.He at amd.com
Tue Mar 28 01:52:10 UTC 2017


decrease and also reserve priority number for KFD using

Change-Id: I9e36d292c920c034ddca53d0ec282c17b7a3cf16
Signed-off-by: Roger.He <Hongbo.He at amd.com>
Reviewed-by: Christian K├Ânig <christian.koenig at amd.com>
---
 include/drm/ttm/ttm_bo_driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index c3d74be..7777d14 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -42,7 +42,7 @@
 #include <linux/spinlock.h>
 #include <linux/reservation.h>
 
-#define TTM_MAX_BO_PRIORITY	16U
+#define TTM_MAX_BO_PRIORITY	4U
 
 struct ttm_backend_func {
 	/**
-- 
2.7.4



More information about the amd-gfx mailing list