linux-stable/drivers/gpu/drm/imx
Sam Ravnborg 90fbc51056 drm/imx: fix opencoded use of drm_panel_*
Use the drm_panel_get_modes() function to get the modes.

This patch leave one test for the function pointer:
    panel->funcs->get_modes

This is used to check if the panel may have any modes.
There is no direct replacement.
We may be able to just check that drm_panel_get_modes() return > 0,
but as this is not the same functionality it is left for later.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-5-sam@ravnborg.org
2019-08-10 15:41:47 +02:00
..
dw_hdmi-imx.c drm/imx: drop use of drmP.h 2019-07-17 12:52:55 +02:00
imx-drm-core.c drm/imx: drop use of drmP.h 2019-07-17 12:52:55 +02:00
imx-drm.h drm/imx: Remove last traces of struct imx_drm_crtc 2018-07-16 16:56:35 +02:00
imx-ldb.c drm/imx: fix opencoded use of drm_panel_* 2019-08-10 15:41:47 +02:00
imx-tve.c drm/imx: imx-tve: Provide ddc symlink in connector's sysfs 2019-07-31 16:32:15 +02:00
ipuv3-crtc.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
ipuv3-plane.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
ipuv3-plane.h drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q 2019-05-27 15:13:57 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
parallel-display.c drm/imx: fix opencoded use of drm_panel_* 2019-08-10 15:41:47 +02:00