[Intel-xe] [PATCH v4 1/6] drm/xe: one more s/lmem/vram/

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Mar 14 09:47:22 UTC 2023


On 3/14/23 09:58, Matthew Auld wrote:
> Looks to have been introduced in some very recent changes, in-between
> merging the driver wide s/lmem/vram/.
>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

> ---
>   drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> index 1116e217ebc2..27cc31f022a5 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> +++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
> @@ -90,9 +90,9 @@ static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
>   
>   	/*
>   	 * There may be few KB of platform dependent reserved memory at the end
> -	 * of lmem which is not part of the DSM. Such reserved memory portion is
> +	 * of vram which is not part of the DSM. Such reserved memory portion is
>   	 * always less then DSM granularity so align down the stolen_size to DSM
> -	 * granularity to accommodate such reserve lmem portion.
> +	 * granularity to accommodate such reserve vram portion.
>   	 */
>   	return ALIGN_DOWN(stolen_size, SZ_1M);
>   }


More information about the Intel-xe mailing list