]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
drm: xlnx: Select VIDEOMODE_HELPERS when DRM_XLNX_PL_DISP is selected
authorVishal Sagar <vishal.sagar@xilinx.com>
Thu, 11 Oct 2018 06:04:31 +0000 (11:34 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 15 Oct 2018 06:17:49 +0000 (08:17 +0200)
Select the VIDEOMODE_HELPERS when DRM_XLNX_PL_DISP is selected in
menuconfig. This fixes the compilation error of undefined reference to
drm_display_mode_to_videomode in the Xilinx PL Display driver.

This is also added to DRM_XLNX_MIXER as the same API is being used
there.

Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com>
Reviewed-by: Saurabh Sengar <saurabh.singh@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xlnx/Kconfig

index 94f347418031b8ddf144eda2ebf3d2d28feba1c1..c7b695e83f2f4641932cf8937f34d04d637ef0dc 100644 (file)
@@ -55,12 +55,14 @@ config DRM_XLNX_DSI
 config DRM_XLNX_MIXER
        tristate "Xilinx DRM Mixer Driver"
        depends on DRM_XLNX
+       select VIDEOMODE_HELPERS
        help
          DRM driver for Xilinx Mixer driver
 
 config DRM_XLNX_PL_DISP
        tristate "Xilinx DRM PL display driver"
        depends on DRM_XLNX
+       select VIDEOMODE_HELPERS
        help
          DRM driver for Xilinx PL display driver, provides drm
          crtc and plane object to display pipeline. You need to