OSDN Git Service

drm/vc4: hdmi: Rely on interrupts to handle hotplug
authorMaxime Ripard <maxime@cerno.tech>
Mon, 24 May 2021 13:20:18 +0000 (15:20 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 16 Jun 2021 12:20:02 +0000 (14:20 +0200)
commitf4790083c7c23b419f6a15170556950fd6a884a2
tree4ef9a704d0f0bca8547dd174ab1d21f8bb7cea2e
parentad5fd900a69b1ae24e6b22506dea637b6bbbdb55
drm/vc4: hdmi: Rely on interrupts to handle hotplug

DRM currently polls for the HDMI connector status every 10s, which can
be an issue when we connect/disconnect a display quickly or the device
on the other end only issues a hotplug pulse (for example on EDID
change).

Switch the driver to rely on the internal controller logic for the
BCM2711/RPi4.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210524132018.264396-1-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c