linux/include/drm
Douglas Anderson 99d02ed523 drm: bridge: dw-hdmi: Add hook for resume
On Rockchip rk3288-based Chromebooks when you do a suspend/resume
cycle:

1. You lose the ability to detect an HDMI device being plugged in.

2. If you're using the i2c bus built in to dw_hdmi then it stops
working.

Let's add a hook to the core dw-hdmi driver so that we can call it in
dw_hdmi-rockchip in the next commit.

NOTE: the exact set of steps I've done here in resume come from
looking at the normal dw_hdmi init sequence in upstream Linux plus the
sequence that we did in downstream Chrome OS 3.14.  Testing show that
it seems to work, but if an extra step is needed or something here is
not needed we could improve it.

As part of this change we'll refactor the hardware init bits of
dw-hdmi to happen all in one function and all at the same time.  Since
we need to init the interrupt mutes before we request the IRQ, this
means moving the hardware init earlier in the function, but there
should be no problems with that.  Also as part of this we now
unconditionally init the "i2c" parts of dw-hdmi, but again that ought
to be fine.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190604204207.168085-1-dianders@chromium.org
2019-06-11 13:52:28 -04:00
..
bridge drm: bridge: dw-hdmi: Add hook for resume 2019-06-11 13:52:28 -04:00
i2c
tinydrm
ttm drm pull request for 5.2 2019-05-08 21:35:19 -07:00
amd_asic_type.h
ati_pcigart.h
drm_agpsupport.h
drm_atomic_helper.h drm/atomic: Move __drm_atomic_helper_disable_plane/set_config() 2019-06-08 16:46:37 +02:00
drm_atomic_state_helper.h
drm_atomic_uapi.h
drm_atomic.h
drm_audio_component.h
drm_auth.h drm: make drm/drm_auth.h self contained 2019-05-27 18:05:44 +02:00
drm_blend.h
drm_bridge.h
drm_cache.h
drm_client.h drm/fb-helper: Move out modeset config code 2019-06-11 14:48:19 +02:00
drm_color_mgmt.h
drm_connector.h drm: Fix docbook warnings in hdr metadata helper structures 2019-06-04 14:03:53 +02:00
drm_crtc_helper.h
drm_crtc.h drm: drm_crtc.h self-contained 2019-06-10 22:30:24 +02:00
drm_damage_helper.h
drm_debugfs_crc.h
drm_debugfs.h drm: drm_debugfs.h self-contained 2019-06-10 22:30:24 +02:00
drm_device.h drm: Integrate VRAM MM into struct drm_device 2019-05-15 16:17:06 +02:00
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h drm: Rename struct edp_vsc_psr to struct dp_sdp 2019-05-23 09:49:32 +03:00
drm_dp_mst_helper.h
drm_drv.h
drm_dsc.h
drm_edid.h drm/edid: Clean up DRM_EDID_DIGITAL_* flags 2019-06-06 16:05:03 +03:00
drm_encoder_slave.h
drm_encoder.h
drm_fb_cma_helper.h
drm_fb_helper.h drm/fb-helper: Prepare to move out modeset config code 2019-06-11 14:47:17 +02:00
drm_file.h
drm_fixed.h
drm_flip_work.h
drm_format_helper.h
drm_fourcc.h drm/fourcc: Fix the parameters name in the documentation 2019-05-21 16:58:05 +02:00
drm_framebuffer.h drm/fb: document dirty helper better 2019-06-11 18:02:48 +02:00
drm_gem_cma_helper.h
drm_gem_framebuffer_helper.h
drm_gem_shmem_helper.h
drm_gem_vram_helper.h drm: Rename reserve/unreserve to lock/unlock in GEM VRAM helpers 2019-05-22 12:43:29 +02:00
drm_gem.h
drm_hashtab.h
drm_hdcp.h drm/hdcp: gathering hdcp related code into drm_hdcp.c 2019-05-09 09:44:41 +02:00
drm_ioctl.h
drm_irq.h
drm_lease.h
drm_legacy.h drm: make drm/drm_legacy.h self-contained 2019-05-27 18:06:15 +02:00
drm_mipi_dsi.h
drm_mm.h
drm_mode_config.h drm: Fix docbook warnings in hdr metadata helper structures 2019-06-04 14:03:53 +02:00
drm_mode_object.h
drm_modes.h
drm_modeset_helper_vtables.h
drm_modeset_helper.h
drm_modeset_lock.h
drm_of.h
drm_os_linux.h
drm_panel.h
drm_pci.h
drm_pciids.h
drm_plane_helper.h
drm_plane.h drm/docs: More links for implicit/explicit fencing. 2019-06-03 17:11:33 +02:00
drm_prime.h
drm_print.h drm: fix build errors with drm_print.h 2019-06-10 22:58:53 +02:00
drm_probe_helper.h
drm_property.h
drm_rect.h
drm_scdc_helper.h
drm_simple_kms_helper.h
drm_syncobj.h
drm_sysfs.h
drm_util.h
drm_utils.h
drm_vblank.h
drm_vma_manager.h
drm_vram_mm_helper.h drm: Integrate VRAM MM into struct drm_device 2019-05-15 16:17:06 +02:00
drm_writeback.h
drmP.h
gpu_scheduler.h
i915_component.h
i915_drm.h
i915_mei_hdcp_interface.h
i915_pciids.h drm/i915/icl: More workaround for port F detection due to broken VBTs 2019-05-14 13:46:59 +03:00
intel_lpe_audio.h
intel-gtt.h
spsc_queue.h