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>
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