diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2024-06-20 13:47:07 +0800 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-06-26 11:11:43 +0200 |
commit | 97370f8ed271405bab2af42b2d3abbb4002c9114 (patch) | |
tree | cadd83d47a53de9c141d290e1f6811b7a2726c3c /drivers/gpu/drm/mediatek | |
parent | c19f15b1e056a1ab896d54909f75febf70d98be6 (diff) | |
download | lwn-97370f8ed271405bab2af42b2d3abbb4002c9114.tar.gz lwn-97370f8ed271405bab2af42b2d3abbb4002c9114.zip |
drm/mediatek: select DRM_GEM_DMA_HELPER if DRM_FBDEV_EMULATION=y
With the recent switch from fbdev-generic to fbdev-dma, the driver now
requires the DRM GEM DMA helpers. This dependency is missing, and will
cause a link failure if fbdev emulation is enabled.
Add the missing dependency.
Fixes: 0992284b4fe4 ("drm/mediatek: Use fbdev-dma")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Chun-Kuang Hu <chunkuang.hu@mediatek.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240620054708.2230665-1-wenst@chromium.org
Diffstat (limited to 'drivers/gpu/drm/mediatek')
-rw-r--r-- | drivers/gpu/drm/mediatek/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 96cbe020f493..d6449ebae838 100644 --- a/drivers/gpu/drm/mediatek/Kconfig +++ b/drivers/gpu/drm/mediatek/Kconfig @@ -7,6 +7,7 @@ config DRM_MEDIATEK depends on HAVE_ARM_SMCCC depends on OF depends on MTK_MMSYS + select DRM_GEM_DMA_HELPER if DRM_FBDEV_EMULATION select DRM_KMS_HELPER select DRM_MIPI_DSI select DRM_PANEL |