]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i2c: adv7511: Add HPD support
authorArchit Taneja <architt@codeaurora.org>
Tue, 16 Feb 2016 05:10:56 +0000 (10:40 +0530)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Sep 2017 08:08:17 +0000 (10:08 +0200)
commit0c5f098f79aa398939655a32d2d164db85224af4
tree7fe075f5fc55c939a3b15c6da8dcdb6fa52e9380
parent1af22353a34e78892d8e8b7298e30d21c1fa9b9f
drm/i2c: adv7511: Add HPD support

Add Hot Plug detect support for ADV7533. This involves:

1) Enabling the correct HPD interrupt enable registers in
   adv7511_power_on, adv7511_get_modes and adv7533_bridge_attach.
2) Flushing the irq stat registers in adv7511_irq_process only after
   we have called drm_helper_hpd_irq_event.
3) Getting rid of the HPD_ENABLE macro instances.
4) Add a 200 ms sleep in adv7511_get_modes after powering on the
   chip. This seems to be needed when we rely on EDID_READY
   interrupt to start reading EDID.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/i2c/adv7511.c