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

Deucher, Alexander Alexander.Deucher at amd.com
Tue Mar 28 14:47:28 UTC 2017


> -----Original Message-----
> From: Roger.He [mailto:Hongbo.He at amd.com]
> Sent: Monday, March 27, 2017 9:52 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander; He, Hongbo
> Subject: [PATCH 2/2] drm/amd/amdgpu: decrease ttm bo priority number

Patch title should be:
drm/ttm: decrease ttm bo priority number
With that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> 
> 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