linux/drivers/gpu/drm/bridge
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
..
adv7511 drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
analogix drm: bridge: analogix: Destroy connector & encoder when unbinding 2017-04-07 13:28:32 -04:00
synopsys drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
Kconfig drm: bridge: dw-hdmi: Move the driver to a separate directory. 2017-03-10 16:32:54 +05:30
Makefile drm/bridge: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:47 +02:00
analogix-anx78xx.c drm/bridge: analogix-anx78xx: Use bridge->mode_valid() callback 2017-05-30 13:58:18 +05:30
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
lvds-encoder.c drm: bridge: lvds-encoder: Add thine,thc63lvdm83d compatible string 2017-03-05 19:01:45 +05:30
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix bridge initialization 2017-04-03 09:58:05 +05:30
nxp-ptn3460.c drm/bridge: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:47 +02:00
parade-ps8622.c drm/bridge: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:47 +02:00
sii902x.c drm/bridge: sii902x: Add missing \n to the end of some dev_err messages 2017-04-13 11:23:31 +02:00
sil-sii8620.c drm/bridge/sii8620: add missing error handling in probe 2017-02-23 11:06:11 -05:00
sil-sii8620.h drm/bridge/sii8620: add HSIC initialization code 2017-02-02 15:15:30 +05:30
tc358767.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
ti-tfp410.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00