From: Quanyang Wang <[email protected]>

The driver drivers/gpu/drm/xlnx/xlnx_dptx.c calls functions from the
function "snd_pcm_hw_constraint_eld" in sound/core/pcm_drm_eld.c.
So we have to add kernel option dependency to fix the building error:

    | aarch64-wrs-linux-ld.bfd: drivers/gpu/drm/xlnx/xlnx_dptx.o: in function 
`dp_codec_fill_cea_params':
    | xlnx_dptx.c:(.text+0xb68): undefined reference to 
`snd_pcm_hw_constraint_eld'

Signed-off-by: Quanyang Wang <[email protected]>
---
Hi Bruce,
Would you please help merge this patch to the branches:
        v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc
        v6.6/standard/sdkv6.6/xlnx-soc
Thanks,
Quanyang
---
 drivers/gpu/drm/xlnx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xlnx/Kconfig b/drivers/gpu/drm/xlnx/Kconfig
index 8457a1a305515..05379011fc2b7 100644
--- a/drivers/gpu/drm/xlnx/Kconfig
+++ b/drivers/gpu/drm/xlnx/Kconfig
@@ -58,6 +58,7 @@ config DRM_XLNX_BRIDGE_DEBUG_FS
 config DRM_XLNX_DPTX
        tristate "Xilinx DRM DisplayPort Subsystem Driver"
        depends on DRM_XLNX
+       depends on SND
        select DRM_DISPLAY_HELPER
        select DRM_DISPLAY_HDMI_HELPER
        select DRM_DISPLAY_DP_HELPER
-- 
2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14638): 
https://lists.yoctoproject.org/g/linux-yocto/message/14638
Mute This Topic: https://lists.yoctoproject.org/mt/109954587/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [linux-yocto][v6.6/standard/pree... quanyang.wang via lists.yoctoproject.org

Reply via email to