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 drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_devfreq.c drm/panfrost: devfreq: set opp to the recommended one to configure regulator 2022-09-08 11:03:52 +01:00
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 drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_features.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_gem_shrinker.c mm: shrinkers: provide shrinkers with names 2022-07-03 18:08:40 -07:00
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 drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_gpu.h
panfrost_issues.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_job.c drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
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 drm/panfrost: Add specific register offset macros for JS and MMU AS 2022-08-08 12:39:19 +01:00
TODO