linux/drivers/gpu/drm/rockchip
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/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
Makefile drm/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
analogix_dp-rockchip.c drm/rockchip: analogix_dp: Remove unused check and variables 2017-05-02 14:44:28 -04:00
cdn-dp-core.c drm/rockchip: cdn-dp: Don't unregister audio dev when unbinding 2017-04-07 13:28:32 -04:00
cdn-dp-core.h drm/rockchip: cdn-dp: retry to check sink count 2017-02-05 16:30:04 +08:00
cdn-dp-reg.c drm/rockchip: cdn-dp: add more log for video config 2017-03-13 15:59:35 -04:00
cdn-dp-reg.h drm/rockchip: cdn-dp: Correct PHY register address 2017-03-13 15:59:26 -04:00
dw-mipi-dsi.c drm/rockchip/dsi: correct the grf_switch_reg name 2017-03-24 14:48:58 -04:00
dw_hdmi-rockchip.c drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
inno_hdmi.c drm/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
inno_hdmi.h drm/rockchip: hdmi: add Innosilicon HDMI support 2016-02-18 13:56:43 +08:00
rockchip_drm_drv.c drm/rockchip: Shutdown all crtcs when unbinding drm 2017-04-07 13:28:32 -04:00
rockchip_drm_drv.h drm/rockchip: Set line flag config register in vop_crtc_enable 2017-04-27 09:07:38 -04:00
rockchip_drm_fb.c Merge airlied/drm-next into drm-misc-next 2017-02-26 21:34:42 +01:00
rockchip_drm_fb.h drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
rockchip_drm_fbdev.c drm/fb-helper: Automatically clean up fb_info 2017-02-07 21:36:28 +01:00
rockchip_drm_fbdev.h drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION 2016-01-22 08:45:31 +08:00
rockchip_drm_gem.c drm/rockchip: Do not use DMA mapping API if attached to IOMMU domain 2017-02-15 08:52:13 +08:00
rockchip_drm_gem.h drm/rockchip: Do not use DMA mapping API if attached to IOMMU domain 2017-02-15 08:52:13 +08:00
rockchip_drm_psr.c drm/rockchip: Fix up bug in psr state machine 2016-09-21 06:55:49 -07:00
rockchip_drm_psr.h drm/rockchip: Don't key off vblank for psr 2016-09-21 06:55:47 -07:00
rockchip_drm_vop.c drm/rockchip: use drm_for_each_connector_iter() 2017-05-26 02:04:54 -03:00
rockchip_drm_vop.h drm/rockchip: cdn-dp: add cdn DP support for rk3399 2017-02-05 16:29:29 +08:00
rockchip_vop_reg.c drm/rockchip: Refactor the component match logic. 2017-03-24 14:48:58 -04:00
rockchip_vop_reg.h drm/rockchip: vop: add rk3399 vop support 2016-08-23 11:44:29 -04:00