diff options
| author | Zheng Bin <[email protected]> | 2022-04-11 02:43:25 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2022-04-20 08:42:35 +0000 |
| commit | 4dee8eebcfc1a99d7550855ec40720503df4842b (patch) | |
| tree | 0cb00731c50c7e505f32a42c2f33601d963f3b3a /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare (diff) | |
| download | kernel-4dee8eebcfc1a99d7550855ec40720503df4842b.tar.gz kernel-4dee8eebcfc1a99d7550855ec40720503df4842b.zip | |
drm/vc4: Fix build error when CONFIG_DRM_VC4=y && CONFIG_RASPBERRYPI_FIRMWARE=m
If CONFIG_DRM_VC4=y, CONFIG_RASPBERRYPI_FIRMWARE=m, CONFIG_COMPILE_TEST=n,
bulding fails:
drivers/gpu/drm/vc4/vc4_drv.o: In function `vc4_drm_bind':
vc4_drv.c:(.text+0x320): undefined reference to `rpi_firmware_get'
vc4_drv.c:(.text+0x320): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rpi_firmware_get'
vc4_drv.c:(.text+0x34c): undefined reference to `rpi_firmware_property'
vc4_drv.c:(.text+0x34c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rpi_firmware_property'
vc4_drv.c:(.text+0x354): undefined reference to `rpi_firmware_put'
vc4_drv.c:(.text+0x354): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rpi_firmware_put'
Make DRM_VC4 depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE) to fix this.
Fixes: c406ad5e4a85 ("drm/vc4: Notify the firmware when DRM is in charge")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zheng Bin <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
