drm/tiny: pixpaper: Fix missing dependency on DRM_GEM_SHMEM_HELPER
Subsystems (2)
PATCH 1/1 drm/tiny: pixpaper: Fix missing dependency on DRM_GEM_SHMEM_HELPER
The driver uses drm_gem_shmem_prime_import_no_map() and drm_gem_shmem_dumb_create(), but the Kconfig currently selects DRM_GEM_DMA_HELPER instead of DRM_GEM_SHMEM_HELPER. This causes link failures when DRM_GEM_SHMEM_HELPER is not enabled.
Select DRM_GEM_SHMEM_HELPER to fix the build.
---
This patch fixes a build failure in the Pixpaper DRM tiny driver caused by a missing dependency on DRM_GEM_SHMEM_HELPER. The driver calls drm_gem_shmem_prime_import_no_map() and drm_gem_shmem_dumb_create(), which require CONFIG_DRM_GEM_SHMEM_HELPER to be enabled.
The issue was reported by the 0-day kernel test robot. This patch updates the Kconfig to select DRM_GEM_SHMEM_HELPER instead of DRM_GEM_DMA_HELPER.
--- drivers/gpu/drm/tiny/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/tiny/Kconfig +1 -1
@@ -86,7 +86,7 @@ config DRM_PIXPAPER tristate "DRM support for PIXPAPER display panels" depends on DRM && SPI select DRM_CLIENT_SELECTION - select DRM_GEM_DMA_HELPER + select DRM_GEM_SHMEM_HELPER select DRM_KMS_HELPER help DRM driver for the Mayqueen Pixpaper e-ink display panel.
---
base-commit: 846bd2225ec3cfa8be046655e02b9457ed41973e
change-id: 20250922-bar-cd1f3e834e78
Best regards,
Signature · 1 line
LiangCheng Wang <[email protected]>
Am 22.09.25 um 04:57 schrieb LiangCheng Wang:
Quoted 5 lines
The driver uses
drm_gem_shmem_prime_import_no_map()anddrm_gem_shmem_dumb_create(), but theKconfigcurrently selectsDRM_GEM_DMA_HELPERinstead ofDRM_GEM_SHMEM_HELPER. This causes link failures whenDRM_GEM_SHMEM_HELPERis not enabled.
Quoted 7 lines
Select
DRM_GEM_SHMEM_HELPERto fix the build.Reported-by kernel test robot <[email protected]>Fixes c9e70639f591 ("drm: tiny: Add support for Mayqueen Pixpaper e-ink panel")Signed-off-by LiangCheng Wang <[email protected]>
Quoted 31 lines
---
This patch fixes a build failure in the Pixpaper DRM tiny driver caused by a missing dependency onDRM_GEM_SHMEM_HELPER. The driver callsdrm_gem_shmem_prime_import_no_map()anddrm_gem_shmem_dumb_create(), which requireCONFIG_DRM_GEM_SHMEM_HELPERto be enabled.The issue was reported by the 0-day kernel test robot. This patch updates the
Kconfigto selectDRM_GEM_SHMEM_HELPERinstead ofDRM_GEM_DMA_HELPER.--- drivers/gpu/drm/tiny/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/tiny/Kconfig +1
-2@@ -86,7 +86,7 @@ config DRM_PIXPAPER tristate "DRM support for PIXPAPER display panels" depends on DRM && SPI select DRM_CLIENT_SELECTION - select DRM_GEM_DMA_HELPER + select DRM_GEM_SHMEM_HELPER select DRM_KMS_HELPER help DRM driver for the Mayqueen Pixpaper e-ink display panel. ---base-commit:
846bd2225ec3cfa8be046655e02b9457ed41973e
change-id: 20250922-bar-cd1f3e834e78Best regards,
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)