drm/ttm: decrease ttm bo priority number
authorRoger.He <Hongbo.He@amd.com>
Tue, 28 Mar 2017 01:34:16 +0000 (09:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:49 +0000 (23:55 -0400)
decrease and also reserve priority number for KFD using

Signed-off-by: Roger.He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/ttm/ttm_bo_driver.h

index 8145773c582cd407cf53be70bb8434f4a25dbe30..3641c6128ac2d0f35e71280cb9f0b482d17a086a 100644 (file)
@@ -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 {
        /**