diff options
| author | LiangCheng Wang <[email protected]> | 2025-10-28 02:55:38 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-11-06 12:47:29 +0000 |
| commit | b750f5a9d64df6cfe9103c7feb7314694318818d (patch) | |
| tree | c7358c17ff981e35bb2775e3b01c4b8fa7022f0b /lib/mpi/mpi-scan.c | |
| parent | drm/nouveau: Advertise correct modifiers on GB20x (diff) | |
| download | kernel-b750f5a9d64df6cfe9103c7feb7314694318818d.tar.gz kernel-b750f5a9d64df6cfe9103c7feb7314694318818d.zip | |
drm/tiny: pixpaper: add explicit dependency on MMU
The DRM_GEM_SHMEM_HELPER helper requires MMU enabled because it uses
vmf_insert_pfn() in its mmap implementation. On NOMMU configurations
(e.g. some RISC-V randconfig builds), this symbol is unavailable and
selecting DRM_GEM_SHMEM_HELPER causes a modpost undefined reference:
ERROR: modpost: "vmf_insert_pfn" [drivers/gpu/drm/drm_shmem_helper.ko] undefined!
Normally, Kconfig prevents this helper from being selected when
CONFIG_MMU=n. However, in some randconfig builds (such as those used by
0day CI), select statements can override unmet dependencies, triggering
the issue.
Add an explicit dependency on MMU to DRM_PIXPAPER to prevent this.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 0c4932f6ddf8 ("drm/tiny: pixpaper: Fix missing dependency on DRM_GEM_SHMEM_HELPER")
Acked-by: Thomas Zimmermann <[email protected]>
Signed-off-by: LiangCheng Wang <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions
