mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 02:36:53 +07:00
76396df228
The fsl dcu now uses the clk-provider interfaces, which are not available
when CONFIG_COMMON_CLK is disabled:
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c: In function 'fsl_dcu_drm_probe':
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c:362:20: error: implicit declaration of function '__clk_get_name' [-Werror=implicit-function-declaration]
pix_clk_in_name = __clk_get_name(pix_clk_in);
This adds a Kconfig dependency to prevent the driver from being enabled
in this case.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 2d701449bc
("drm/fsl-dcu: use common clock framework for pixel clock divider")
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1462186839-2224021-1-git-send-email-arnd@arndb.de
19 lines
523 B
Plaintext
19 lines
523 B
Plaintext
config DRM_FSL_DCU
|
|
tristate "DRM Support for Freescale DCU"
|
|
depends on DRM && OF && ARM && COMMON_CLK
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
select BACKLIGHT_LCD_SUPPORT
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select DRM_PANEL
|
|
select FB_SYS_FILLRECT
|
|
select FB_SYS_COPYAREA
|
|
select FB_SYS_IMAGEBLIT
|
|
select FB_SYS_FOPS
|
|
select REGMAP_MMIO
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have an Freescale DCU chipset.
|
|
If M is selected the module will be called fsl-dcu-drm.
|