Re: [PATCH] drm/ttm: Include to fix MIPS build

2023-01-17 Thread Thomas Zimmermann
Hi Am 16.01.23 um 15:40 schrieb Christian König: Am 16.01.23 um 13:13 schrieb Thomas Zimmermann: I'd add a Fixes tag, but don't know the commit when this was introduced. Mhm, that code is 10+ years old. My educated guess is that we somehow pulled in vmap/vunmap through a header which was now

Re: [PATCH] drm/ttm: Include to fix MIPS build

2023-01-16 Thread Christian König
Am 16.01.23 um 13:13 schrieb Thomas Zimmermann: I'd add a Fixes tag, but don't know the commit when this was introduced. Mhm, that code is 10+ years old. My educated guess is that we somehow pulled in vmap/vunmap through a header which was now cleaned up. Anyway your patch looks good to me,

Re: [PATCH] drm/ttm: Include to fix MIPS build

2023-01-16 Thread Thomas Zimmermann
I'd add a Fixes tag, but don't know the commit when this was introduced. Am 16.01.23 um 13:10 schrieb Thomas Zimmermann: On MIPS, vmap() and vunmap() are undeclared in ttm_bo_util.c. An error message is shown below. CC drivers/gpu/drm/ttm/ttm_bo_util.o ../drivers/gpu/drm/ttm/ttm_bo_u

[PATCH] drm/ttm: Include to fix MIPS build

2023-01-16 Thread Thomas Zimmermann
On MIPS, vmap() and vunmap() are undeclared in ttm_bo_util.c. An error message is shown below. CC drivers/gpu/drm/ttm/ttm_bo_util.o ../drivers/gpu/drm/ttm/ttm_bo_util.c: In function 'ttm_bo_kmap_ttm': ../drivers/gpu/drm/ttm/ttm_bo_util.c:364:32: error: implicit declaration of function