diff options
author | Roger.He <Hongbo.He@amd.com> | 2017-03-28 03:34:16 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-30 05:55:49 +0200 |
commit | 7286366c30432f3476569b4e294029efb8ceec82 (patch) | |
tree | c4fe8abb68c445c36de84b9d0f3f48e3f37f1200 /include/drm/ttm | |
parent | drm/amd/amdgpu: fix performance drop when VRAM pressure (diff) | |
download | linux-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.h | 2 |
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 { /** |