Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64/configs/defconfig: Disable DRM_MSM gpu module #684

Open
wants to merge 1 commit into
base: 6.11.x+fslc
Choose a base branch
from

Conversation

mdrodrigo
Copy link

This commit disable DRM_MSM gpu module from kernel modules. The motivation for this change is Yocto Project emitting a package error:

File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a5xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp_common.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp5.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_14nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_28nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a3xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/sfpb.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/adreno_common.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_28nm_8960.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/adreno_pm4.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a6xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_10nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp4.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a4xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_20nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a2xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/hdmi.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_7nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]

This commit disable DRM_MSM gpu module from kernel modules.
The motivation for this change is Yocto Project emitting a package error:

    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a5xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp_common.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp5.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_14nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_28nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a3xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/sfpb.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/adreno_common.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_28nm_8960.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/adreno_pm4.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a6xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_10nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/mdp4.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a4xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_20nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/a2xx.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/hdmi.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]
    File /usr/src/debug/linux-fslc/6.11.0+git/drivers/gpu/drm/msm/generated/dsi_phy_7nm.xml.h in package linux-fslc-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Rodrigo M. Duarte <[email protected]>
@fabioestevam
Copy link
Member

This is a workaround, not a proper fix.

DRM_MSM is not used by arm64 i.MX, so this workaround is OK for i.MX arm64 defconfig.

However, DRM_MSM is used on i.MX53 and DRM_MSM cannot be removed in imx_v6_v7_defconfig.

@otavio
Copy link
Member

otavio commented Oct 9, 2024

Sure, I agree that this is not a long-term solution. However, this is very connected to the code generation script.

Is it something that you can forward to the main list asking if someone has an idea how to properly fix that?

@otavio
Copy link
Member

otavio commented Oct 17, 2024

@Livius90 Is it possible for you to take a look in this error and see if you can fix that properly? I think that we need to look at the code generation and rework it to avoid including the path information.

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.

3 participants