]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: analogix_dp: Improve panel on time
authorSean Paul <seanpaul@chromium.org>
Wed, 7 Sep 2016 11:23:15 +0000 (07:23 -0400)
committerArchit Taneja <architt@codeaurora.org>
Sat, 24 Sep 2016 06:26:35 +0000 (11:56 +0530)
commitff2a6c72ddf31799d23ac6d22229be5229671d5a
tree4cf23dcc6c284c04a15d6db76e89a39c99239bb8
parent68c35854195468b35f549669701e98e6d03ad796
drm/bridge: analogix_dp: Improve panel on time

In order to reduce the time required to turn on the panel, this patch
makes 2 assumptions:
1- In detect(): if there's a panel, we're connected.
2- In get_modes(): if there's a panel, let the panel driver decide if
   it should prepare/unprepare in order to get the modes.

The first is straightforward, and shouldn't need further explanation. The
second should eliminate the prepare/unprepare delays from get_modes() in
most cases, since panels generally hardcode their modes in the driver as
opposed to reading EDID. If a panel does need to read EDID, it should be
responsible for ensuring it's in a state in which it can.

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