mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
Kernel test robot reported build errors (undefined references)
that didn't make much sense. After reproducing them, there is also
a Kconfig warning that is the root cause of the build errors, so
fix that Kconfig problem.
Fixes this Kconfig warning:
WARNING: unmet direct dependencies detected for CMA
Depends on [n]: MMU [=n]
Selected by [m]:
- DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
and these dependent build errors:
(.text+0x10c8c): undefined reference to `start_isolate_page_range'
microblaze-linux-ld: (.text+0x10f14): undefined reference to `test_pages_isolated'
microblaze-linux-ld: (.text+0x10fd0): undefined reference to `undo_isolate_page_range'
Fixes: 76356a966e ("drm: aspeed: Clean up Kconfig options")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Andrew Jeffery <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: David Airlie <[email protected]>
Cc: [email protected]
Signed-off-by: Joel Stanley <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
17 lines
481 B
Plaintext
17 lines
481 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_ASPEED_GFX
|
|
tristate "ASPEED BMC Display Controller"
|
|
depends on DRM && OF
|
|
depends on (COMPILE_TEST || ARCH_ASPEED)
|
|
depends on MMU
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DMA_CMA if HAVE_DMA_CONTIGUOUS
|
|
select CMA if HAVE_DMA_CONTIGUOUS
|
|
select MFD_SYSCON
|
|
help
|
|
Chose this option if you have an ASPEED AST2500 SOC Display
|
|
Controller (aka GFX).
|
|
|
|
If M is selected this module will be called aspeed_gfx.
|