summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorRoger.He <Hongbo.He@amd.com>2017-03-28 03:34:16 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-03-30 05:55:49 +0200
commit7286366c30432f3476569b4e294029efb8ceec82 (patch)
treec4fe8abb68c445c36de84b9d0f3f48e3f37f1200 /include/drm/ttm
parentdrm/amd/amdgpu: fix performance drop when VRAM pressure (diff)
downloadlinux-7286366c30432f3476569b4e294029efb8ceec82.tar.xz
linux-7286366c30432f3476569b4e294029efb8ceec82.zip
drm/ttm: decrease ttm bo priority number
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>
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 8145773c582c..3641c6128ac2 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 {
/**