drm/bridge: analogix_dp: Don't read EDID if panel present
authorSean Paul <seanpaul@chromium.org>
Wed, 24 Aug 2016 14:58:26 +0000 (10:58 -0400)
committerArchit Taneja <architt@codeaurora.org>
Sat, 24 Sep 2016 06:26:34 +0000 (11:56 +0530)
commit8c77e2c2a48b5d52114fb179c3d7c21fd02be64d
tree33b4e3ed77458bc96ac23be50ff886abb8b45fd3
parent0d97ad03f4220ca84f700c5fea988859ea0c3b98
drm/bridge: analogix_dp: Don't read EDID if panel present

If there's a panel connected to the analogix_dp bridge, rely on
the panel driver for modes, rather than reading EDID *and* calling
get_modes() on the panel.

This allows panels with a valid EDID to read it in the panel driver
(e.g. simple_panel), and panels with invalid EDID to homebrew modes
in their get_modes implementation.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c