[PATCH -next] drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST

Rob Herring robh at kernel.org
Thu Apr 18 14:34:38 UTC 2019


On Wed, Apr 17, 2019 at 10:29 AM Steven Price <steven.price at arm.com> wrote:
>
> 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]
>
> Reported-by: kbuild test robot <lkp at intel.com>
> Signed-off-by: Steven Price <steven.price at arm.com>
> ---
>  drivers/gpu/drm/panfrost/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Humm, I thought I had fixed this. Anyways, applied.

Rob


More information about the dri-devel mailing list