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
..
bridge
drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback
2017-06-05 12:09:50 +05:30
i2c
tinydrm
drm/tinydrm: Fix drm_driver.fops.owner
2017-03-27 08:41:35 +02:00
ttm
drm/ttm: fix include notation and remove -Iinclude/drm flag
2017-05-16 17:17:16 +02:00
ati_pcigart.h
drm_agpsupport.h
drm_atomic.h
drm/atomic: Consitfy mode parameter to drm_atomic_set_mode_for_crtc()
2017-05-31 16:08:10 +03:00
drm_atomic_helper.h
drm: Add acquire ctx to ->gamma_set hook
2017-04-06 10:21:55 +02:00
drm_auth.h
drm: Move drm_lock_data out of drmP.h
2017-03-09 16:18:02 +01:00
drm_blend.h
drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
2017-05-22 09:49:48 +02:00
drm_bridge.h
drm: Introduce drm_bridge_mode_valid()
2017-05-30 08:37:50 +02:00
drm_cache.h
drm_color_mgmt.h
drm: drm_color_mgmt.h needs struct drm_crtc declaration
2017-05-02 10:30:23 +02:00
drm_connector.h
drm: remove unsafe drm_for_each_connector()
2017-05-26 02:13:13 -03:00
drm_crtc.h
drm: better document how to send out the crtc disable event
2017-05-31 10:33:00 +02:00
drm_crtc_helper.h
drm/atomic: Acquire connection_mutex lock in drm_helper_probe_single_connector_modes, v4.
2017-04-06 21:29:23 +02:00
drm_debugfs.h
drm/debugfs: Add kerneldoc
2017-03-24 09:36:06 +01:00
drm_debugfs_crc.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h
drm/cec: Add CEC over Aux register definitions
2017-04-21 10:52:42 +03:00
drm_dp_mst_helper.h
drm/dp: Add DP MST helpers to atomically find and release vcpi slots
2017-05-04 15:02:47 +02:00
drm_drv.h
drm/doc: Polish irq helper documentation
2017-06-01 08:02:14 +02:00
drm_edid.h
drm/edid: detect SCDC support in HF-VSDB
2017-03-21 10:15:56 +02:00
drm_encoder.h
drm/doc: Fix typos for early_unregister doc
2017-01-26 10:49:09 +01:00
drm_encoder_slave.h
drm_fb_cma_helper.h
drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr()
2017-04-14 11:30:28 -07:00
drm_fb_helper.h
drm/fb-helper: implement ioctl FBIO_WAITFORVSYNC
2017-03-02 08:12:15 +01:00
drm_file.h
drm: Extract drm_vblank.[hc]
2017-06-01 08:02:14 +02:00
drm_fixed.h
drm_flip_work.h
drm/kms-helpers: Use recommened kerneldoc for struct member refs
2017-01-25 16:18:57 +01:00
drm_fourcc.h
drm: Add mode_config .get_format_info() hook
2017-03-22 19:45:00 +02:00
drm_framebuffer.h
Pointer for Markus's image conversion work.
2017-03-14 15:07:33 +01:00
drm_gem.h
drm/gem: Add DEFINE_DRM_GEM_FOPS
2017-03-14 14:38:34 +01:00
drm_gem_cma_helper.h
drm/cma: Fix recent regression of mmap() in the MMU case.
2017-04-18 12:25:37 -07:00
drm_global.h
drm: drop extern from function decls
2017-03-24 09:36:06 +01:00
drm_hashtab.h
drm: drop extern from function decls
2017-03-24 09:36:06 +01:00
drm_ioctl.h
drm: document drm_ioctl.[hc]
2017-04-04 20:47:54 +02:00
drm_irq.h
drm: Extract drm_vblank.[hc]
2017-06-01 08:02:14 +02:00
drm_legacy.h
drm_mipi_dsi.h
drm_mm.h
Pointer for Markus's image conversion work.
2017-03-14 15:07:33 +01:00
drm_mode_config.h
drm: Document kms locking a bit better
2017-03-29 08:34:28 +02:00
drm_mode_object.h
drm: Introduce drm_mode_object_{get,put}()
2017-02-28 16:14:55 +01:00
drm_modes.h
drm/doc: move printf helpers out of drmP.h
2017-05-31 09:59:41 +02:00
drm_modeset_helper.h
drm_modeset_helper_vtables.h
drm/doc: Clarify mode_fixup vs. atomic_check a bit more
2017-05-23 16:36:06 +02:00
drm_modeset_lock.h
drm: Remove drm_modeset_legacy_acquire_ctx and crtc->acquire_ctx
2017-04-05 09:26:45 +02:00
drm_of.h
drm: of: introduce drm_of_find_panel_or_bridge
2017-04-06 17:00:27 -04:00
drm_os_linux.h
drm: remove writeq/readq function definitions
2017-06-02 10:41:20 -04:00
drm_panel.h
drm: make drm_panel.h self-contained
2017-05-16 17:17:02 +02:00
drm_pci.h
drm: drop extern from function decls
2017-03-24 09:36:06 +01:00
drm_pciids.h
drm_plane.h
drm: Add acquire ctx parameter to ->plane_disable
2017-03-29 09:14:58 +02:00
drm_plane_helper.h
drm: Add acquire ctx parameter to ->plane_disable
2017-03-29 09:14:58 +02:00
drm_prime.h
drm: Extract drm_vblank.[hc]
2017-06-01 08:02:14 +02:00
drm_print.h
drm: drm_printer: add __printf validation
2017-02-26 21:43:08 +01:00
drm_property.h
drm: Introduce drm_property_blob_{get,put}()
2017-02-28 16:16:46 +01:00
drm_rect.h
drm/doc: move printf helpers out of drmP.h
2017-05-31 09:59:41 +02:00
drm_scdc_helper.h
drm/scdc: declare drm_scdc_get_scrambling_status
2017-03-23 14:53:54 +02:00
drm_simple_kms_helper.h
drm: Clarify the role of plane_state argument to drm_simple update().
2017-03-30 12:02:00 -07:00
drm_sysfs.h
drm: Consolidate and document sysfs support
2017-04-04 20:47:54 +02:00
drm_vblank.h
drm: Extract drm_vblank.[hc]
2017-06-01 08:02:14 +02:00
drm_vma_manager.h
drm: Extract drm_prime.h
2017-03-09 16:18:02 +01:00
drmP.h
drm/doc: Polish irq helper documentation
2017-06-01 08:02:14 +02:00
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
drm/i915: Add i810/i815 pci-ids for completeness
2017-03-17 17:09:06 +00:00
intel-gtt.h
intel_lpe_audio.h
drm/i915: Pass platform device to LPE audio notifier
2017-02-01 16:22:28 +01:00