diff options
| author | Chen Linxuan <[email protected]> | 2025-04-15 09:06:16 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2025-04-22 07:55:38 +0000 |
| commit | 7e21ea8149a0e41c3666ee52cc063a6f797a7a2a (patch) | |
| tree | 093d4feed1b04d32c5b1ecb2ec069ad1939e8452 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | Linux 6.15-rc3 (diff) | |
| download | kernel-7e21ea8149a0e41c3666ee52cc063a6f797a7a2a.tar.gz kernel-7e21ea8149a0e41c3666ee52cc063a6f797a7a2a.zip | |
drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions'
On x86_64 with gcc version 13.3.0, I compile kernel with:
make defconfig
./scripts/kconfig/merge_config.sh .config <(
echo CONFIG_COMPILE_TEST=y
)
make KCFLAGS="-fno-inline-functions -fno-inline-small-functions -fno-inline-functions-called-once"
Then I get a linker error:
ld: vmlinux.o: in function `pxp_fw_dependencies_completed':
kintel_pxp.c:(.text+0x95728f): undefined reference to `intel_pxp_gsccs_is_ready_for_sessions'
This is caused by not having a intel_pxp_gsccs_is_ready_for_sessions()
header stub for CONFIG_DRM_I915_PXP=n. Add it.
Signed-off-by: Chen Linxuan <[email protected]>
Fixes: 99afb7cc8c44 ("drm/i915/pxp: Add ARB session creation and cleanup")
Reviewed-by: Jani Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jani Nikula <[email protected]>
(cherry picked from commit b484c1e225a6a582fc78c4d7af7b286408bb7d41)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
