Commit 600b5575 authored by Archit Taneja's avatar Archit Taneja
Browse files

HACK: drm/msm/adv7511: Don't rely on interrupts for EDID parsing



The adv7511 driver is currently woken up on successful EDID read
after a EDID_READY interrupt is triggered by the chip. If the driver
doesn't get the interrupt within 200 ms, its concluded that we failed
to read EDID from the monitor.

This interrupt doesn't seem to occur consistently in certain use cases
(for example, if we execute power-on -> get_modes -> power-off
repeatedly, this can be done by calling xrandr successively really
fast).

For now, execute the lesser preferred POLL path where the driver
manually checks on the interrupt status register after every 25ms.

We should ideally rootcause why we don't get EDID_READY interrupts
consistently instead of relying on the above approach.

Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
parent b7c2f208
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment