linux_dsm_epyc7002/drivers/gpu/drm/meson
Jose Abreu b0febde779 drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback
Now that we have a callback to check if bridge supports a given mode
we can use it in Synopsys Designware HDMI bridge so that we restrict
the number of probbed modes to the ones we can actually display.

Also, there is no need to use mode_fixup() callback as mode_valid()
will handle the mode validation.

NOTE: I also had to change the pdata declaration of mode_valid
custom callback so that the passed modes are const. I also changed
in the platforms I found. Not even compiled it though.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Carlo Caione <carlo@caione.org>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Mark Yao <mark.yao@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/3d8d449e4d13d2535fa292c75f5fa931de4a4fa8.1495720737.git.joabreu@synopsys.com
2017-06-05 12:09:50 +05:30
..
Kconfig drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
Makefile drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_canvas.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_canvas.h drm: Add support for Amlogic Meson Graphic Controller 2016-12-01 10:07:20 +01:00
meson_crtc.c drm/meson: Use crtc_state for hdisplay and fix atomic flush/enable sync for vsync commit 2017-04-04 17:49:30 +02:00
meson_crtc.h drm: Add support for Amlogic Meson Graphic Controller 2016-12-01 10:07:20 +01:00
meson_drv.c drm/meson: Drop drm_vblank_cleanup 2017-05-31 10:49:15 +02:00
meson_drv.h drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_dw_hdmi.c drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
meson_dw_hdmi.h drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_plane.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2017-01-27 11:00:42 +10:00
meson_plane.h drm: Add support for Amlogic Meson Graphic Controller 2016-12-01 10:07:20 +01:00
meson_registers.h drm/meson: Add missing HDMI register 2017-04-04 17:49:30 +02:00
meson_vclk.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_vclk.h drm/meson: add support for HDMI clock support 2017-04-04 17:49:31 +02:00
meson_venc_cvbs.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
meson_venc_cvbs.h drm: Add support for Amlogic Meson Graphic Controller 2016-12-01 10:07:20 +01:00
meson_venc.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_venc.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00
meson_viu.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_viu.h drm: Add support for Amlogic Meson Graphic Controller 2016-12-01 10:07:20 +01:00
meson_vpp.c drm/meson: Convert existing documentation to actual kerneldoc 2017-04-04 17:49:31 +02:00
meson_vpp.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00