Messages in this thread | | | Date | Thu, 4 Aug 2022 08:34:58 +0100 | From | "Sudip Mukherjee (Codethink)" <> | Subject | mainline build failure due to 6fdd2077ec03 ("drm/amd/amdgpu: add memory training support for PSP_V13") |
| |
Hi All,
The latest mainline kernel branch fails to build for alpha and mips allmodconfig with the error:
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c: In function 'psp_v13_0_memory_training': drivers/gpu/drm/amd/amdgpu/psp_v13_0.c:534:23: error: implicit declaration of function 'vmalloc'; did you mean 'kvmalloc'? [-Werror=implicit-function-declaration] 534 | buf = vmalloc(sz); | ^~~~~~~ | kvmalloc drivers/gpu/drm/amd/amdgpu/psp_v13_0.c:534:21: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 534 | buf = vmalloc(sz); | ^ drivers/gpu/drm/amd/amdgpu/psp_v13_0.c:545:33: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration] 545 | vfree(buf); | ^~~~~ | kvfree
git bisect pointed to 6fdd2077ec03 ("drm/amd/amdgpu: add memory training support for PSP_V13").
And, reverting that commit has fixed the build failure.
I will be happy to test any patch or provide any extra log if needed.
-- Regards Sudip
| |