Skip to content

Commit 5e66cf6

Browse files
Yue Haibinglucasdemarchi
authored andcommitted
drm/xe: Fix unmet direct dependencies warning
WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n] Selected by [m]: - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m [=m] && HAS_IOPORT [=y] DRM_XE_DISPLAY requires FB_IOMEM_HELPERS, but the dependency FB_CORE is missing, selecting FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION is set as other drm drivers. Fixes: 44e6949 ("drm/xe/display: Implement display support") Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250323114103.1960511-1-yuehaibing@huawei.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> (cherry picked from commit 6895828) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent 22d0086 commit 5e66cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ config DRM_XE
5353
config DRM_XE_DISPLAY
5454
bool "Enable display support"
5555
depends on DRM_XE && DRM_XE=m && HAS_IOPORT
56-
select FB_IOMEM_HELPERS
56+
select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
5757
select I2C
5858
select I2C_ALGOBIT
5959
default y

0 commit comments

Comments
 (0)