drm/i915/edp: get the panel delay before powering up
authorDave Airlie <airlied@gmail.com>
Thu, 30 Aug 2012 01:06:18 +0000 (11:06 +1000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Sep 2012 07:43:25 +0000 (09:43 +0200)
commitc1f05264d834e9fb9a4ebfd36dbd86172ac7107a
treedd51f8c71855a47ae56d93d0422f665add56ad27
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
drm/i915/edp: get the panel delay before powering up

In order to setup the i2c channel, we power up the panel
via ironlake_edp_panel_vdd_on, however it requires
intel_dp->panel_power_up_delay to be initialised,
which hasn't been setup yet.

So move things around so we set the panel power up
values first then init the i2c stuff.

This is one step to fixing the eDP panel in the MBP
from uninitialised state.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c