aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm
diff options
context:
space:
mode:
authorRoger.He <Hongbo.He@amd.com>2017-03-28 09:34:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:55:49 -0400
commit7286366c30432f3476569b4e294029efb8ceec82 (patch)
treec4fe8abb68c445c36de84b9d0f3f48e3f37f1200 /include/drm
parentdrm/amd/amdgpu: fix performance drop when VRAM pressure (diff)
downloadwireguard-linux-7286366c30432f3476569b4e294029efb8ceec82.tar.xz
wireguard-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')
-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 {
/**