Skip to content

Conversation

@MaxKrummenacher
Copy link
Contributor

When using imx_v8_defconfig but changing CONFIG_DRM_IMX95_LDB=m the build fails as the module cannot link against the functions provided by imx-ldb-helper.

Fix that by reverting the revert of the mainline fix for this.

ERROR: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/bridge/imx/imx-ldb-helper.o
ERROR: modpost: "ldb_remove_bridge_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_bridge_atomic_check_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_channel_is_split_link" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_bridge_mode_set_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_channel_is_single_link" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_init_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_find_next_bridge_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_add_bridge_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_bridge_disable_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
ERROR: modpost: "ldb_bridge_enable_helper" [drivers/gpu/drm/bridge/imx/imx95-ldb.ko] undefined!
WARNING: modpost: suppressed 1 unresolved symbol warnings because there were too many)

commit 7eb790e ("Revert "drm/bridge: imx: fix mixed module-builtin
object"") reverted that the imx-ldb-helper can be used as module and
with later commits stopped using the file in downstream for i.MX
8QXP/8QM).

The commit 0b608ae ("LF-10583-2: drm: bridge: imx: Add i.MX95 LVDS
Display Bridge(LDB) driver") used the file again for i.MX 95 without
readding the posibility to use it as a module.

Revert the Revert so that imx-ldb-helper can be used from a module
independent of it being built as a module or built in.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Overdr0ne added a commit to Overdr0ne/linux-imx that referenced this pull request Dec 12, 2025
* sound: ak4432: whitespace cleanup

* sound: ak4432: use newest ASoC architecture

The new architecture is much more modern. Codecs are separated into
"components".

* dts: mt-connect: add ak4432 dt node and pinmux

* imx-card: add case for ak4432

* sound: enable revived ak4432

This commit contains the bulk of the changes. I have enabled as much
functionality as I could, but have left some issues open:

* runtime TDM/DIF configuration: There is a table with 16 different
configurations. We need to be able to interpret info from userspace
into the TDM config. We also may need to reinitialize the chip to make
this work. Currently setting this at runtime breaks stuff.
* soft mute: I have heard this cause stuttering and hangs. It actually
could be related to pipewire/dsoundcard underflows. More investigation
required.
* runtime DAPM configuration: We don't use this so I decided to
disable it for now.

* ak4432: disable debug mode

I have added tons of debug to this driver. It is very informative for
understanding what exactly happens when we play media from
userspace. There are lots of little interactions and information on
the audio sample that should be handled by the codec

* config: mt-connect: enable ak4432 as module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant