linux/drivers/gpu/drm/panfrost
Arnd Bergmann f5e58b546c drm/panfrost: fix GENERIC_ATOMIC64 dependency
[ Upstream commit 6437a549ae ]

On ARMv5 and earlier, a randconfig build can still run into

WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE_LPAE
  Depends on [n]: IOMMU_SUPPORT [=y] && (ARM [=y] || ARM64 || COMPILE_TEST [=y]) && !GENERIC_ATOMIC64 [=y]
  Selected by [y]:
  - DRM_PANFROST [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARM [=y] || ARM64 || COMPILE_TEST [=y] && !GENERIC_ATOMIC64 [=y]) && MMU [=y]

Rework the dependencies to always require a working cmpxchg64.

Fixes: db594ba3fc ("drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230117164456.1591901-1-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:23 +01:00
..
Kconfig drm/panfrost: fix GENERIC_ATOMIC64 dependency 2023-02-01 08:34:23 +01:00
Makefile
panfrost_devfreq.c
panfrost_devfreq.h
panfrost_device.c
panfrost_device.h
panfrost_drv.c drm/panfrost: Fix GEM handle creation ref-counting 2023-01-12 12:01:57 +01:00
panfrost_dump.c drm/panfrost: replace endian-specific types with native ones 2022-10-20 11:02:11 +01:00
panfrost_dump.h
panfrost_features.h
panfrost_gem_shrinker.c
panfrost_gem.c drm/panfrost: Fix GEM handle creation ref-counting 2023-01-12 12:01:57 +01:00
panfrost_gem.h drm/panfrost: Fix GEM handle creation ref-counting 2023-01-12 12:01:57 +01:00
panfrost_gpu.c
panfrost_gpu.h
panfrost_issues.h
panfrost_job.c
panfrost_job.h
panfrost_mmu.c drm/panfrost: Split io-pgtable requests properly 2022-11-09 14:17:39 +00:00
panfrost_mmu.h
panfrost_perfcnt.c
panfrost_perfcnt.h
panfrost_regs.h
TODO