drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST
Subsystems (3)
Steven Price
maintainerPATCH 1/1 drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST
Since panfrost has a 'select' on IOMMU_IO_PGTABLE_LPAE we must depend on the same set of flags. Otherwise IOMMU_IO_PGTABLE_LPAE will be forced on even though it cannot build (no support for cmpxchg64).
This fixes the following warning from kconfig:
WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE_LPAE
Depends on [n]: IOMMU_SUPPORT [=y] && (ARM || ARM64 || COMPILE_TEST [=y] && !GENERIC_ATOMIC64 [=y]) Selected by [y]:
- DRM_PANFROST [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARM || ARM64 || COMPILE_TEST [=y]) && MMU [=y]
--- drivers/gpu/drm/panfrost/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panfrost/Kconfig +1 -1
@@ -3,7 +3,7 @@ config DRM_PANFROST tristate "Panfrost (DRM support for ARM Mali Midgard/Bifrost GPUs)" depends on DRM - depends on ARM || ARM64 || COMPILE_TEST + depends on ARM || ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64) depends on MMU select DRM_SCHED select IOMMU_SUPPORT
Signature · 1 line
2.20.1
Rob Herring
maintainerQuoted 12 lines · Steven Price
Since panfrost has a 'select' on
IOMMU_IO_PGTABLE_LPAEwe must depend on the same set of flags. OtherwiseIOMMU_IO_PGTABLE_LPAEwill be forced on even though it cannot build (no support for cmpxchg64).This fixes the following warning from kconfig:
WARNING: unmet direct dependencies detected for
IOMMU_IO_PGTABLE_LPAE
Depends on [n]:IOMMU_SUPPORT[=y] && (ARM || ARM64 ||COMPILE_TEST[=y] && !GENERIC_ATOMIC64 [=y]) Selected by [y]:
-DRM_PANFROST[=y] &&HAS_IOMEM[=y] && DRM [=y] && (ARM || ARM64 ||COMPILE_TEST[=y]) && MMU [=y]
Quoted 5 lines
Reported-by kbuild test robot <[email protected]>Signed-off-by Steven Price <[email protected]>--- drivers/gpu/drm/panfrost/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Humm, I thought I had fixed this. Anyways, applied.
Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel