diff options
author | Arnd Bergmann | 2023-01-17 17:44:43 +0100 |
---|---|---|
committer | Steven Price | 2023-01-18 11:09:57 +0000 |
commit | 6437a549ae178a3f5a5c03e983f291ebcdc2bbc7 (patch) | |
tree | f00a68c8a7fc56aa3289394f44501695e9bf1724 /kernel | |
parent | 83a7f8e4899fb4cd77c787a3373f3e82b49a080f (diff) |
drm/panfrost: fix GENERIC_ATOMIC64 dependency
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: db594ba3fcf9 ("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
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions