On 2023/6/29 14:37, Christian König wrote:
> This has already been fixed with:
>
> commit 2ce977df10c179138e2723b25c2d2c055a3e3cc6
> Author: Ma Jun
> Date: Wed May 31 13:30:51 2023 +0800
>
> drm/ttm: Remove redundant code in ttm_tt_init_fields
>
> Remove redundant assignment code for
This has already been fixed with:
commit 2ce977df10c179138e2723b25c2d2c055a3e3cc6
Author: Ma Jun
Date: Wed May 31 13:30:51 2023 +0800
drm/ttm: Remove redundant code in ttm_tt_init_fields
Remove redundant assignment code for ttm->caching as it's overwritten
just a few lines later.
The parameter 'caching' has already been assigned to
'ttm->caching', so 'ttm_cached' is redundant.
Fixes: 1b4ea4c5980f ("drm/ttm: set the tt caching state at creation time")
Signed-off-by: Feng Jiang
---
drivers/gpu/drm/ttm/ttm_tt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/