[Intel-xe] ✓ CI.checkpatch: success for Fix builtin vs module configuration (rev2)

Patchwork patchwork at emeril.freedesktop.org
Sat Nov 11 16:22:30 UTC 2023


== Series Details ==

Series: Fix builtin vs module configuration (rev2)
URL   : https://patchwork.freedesktop.org/series/126215/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d9c64de4fa464160e1fbfc9a465b11ada9cd4be2
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Thu Nov 9 09:51:32 2023 -0800

    drm/xe: Fix build with KUNIT=m
    
    Due to the current integration between "live" xe kunit tests and kunit,
    it's not possible to have a build with the following combination:
    
            CONFIG_DRM_XE=y
            CONFIG_KUNIT=m
    
    ... even if kconfig doesn't block it. The reason for the failure is that
    some compilation units are pulled in xe.ko:
    
            drivers/gpu/drm/xe/xe_bo.c:#include "tests/xe_bo.c"
            drivers/gpu/drm/xe/xe_dma_buf.c:#include "tests/xe_dma_buf.c"
            drivers/gpu/drm/xe/xe_migrate.c:#include "tests/xe_migrate.c"
            drivers/gpu/drm/xe/xe_pci.c:#include "tests/xe_pci.c"
    
    Those files shouldn't use symbols from kunit, which should be reserved
    to the tests/*_test.c files. Detangling this dependency doesn't seem
    very straightforward, so fix the immediate issue instructing kconfig to
    block the problematic configuration.
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch edeb8b8fa330a62d4a07b37d08145d86114bc151 drm-intel
ac23a729d fixup! drm/xe/display: Implement display support
d9c64de4f drm/xe: Fix build with KUNIT=m




More information about the Intel-xe mailing list