]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dpaux: Support monitor hotplugging
authorThierry Reding <treding@nvidia.com>
Mon, 3 Aug 2015 12:08:34 +0000 (14:08 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:43 +0000 (11:18 +0100)
commit769ed2183bb2cc08bc0dce5b5f49870a78403e1b
treedf9f5b887100d71397d4a42d221294093b66a997
parente5c3356f364dd21f5dc51730fc4361b5821a6583
drm/tegra: dpaux: Support monitor hotplugging

The dpaux driver has a quirk built-in that will delay initialization of
the display driver for a short while, trying to detect an eDP panel. The
reason for this quirk is that the panel may not report as connected
until after the display driver has initialized, at which point the fbdev
emulation will have fallen back to 1024x768 as default resolution, which
will likely not be the eDP panel's native resolution.

With upcoming DisplayPort support, the code needs to be able to cope
with hotpluggable monitors as well. Waiting for a panel to show up is no
longer going to work because the monitor may not be attached on boot. If
the output runs in DisplayPort mode, skip waiting for the panel to show
up.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dpaux.c