diff options
author | Imre Deak <imre.deak@intel.com> | 2016-08-10 14:07:31 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-08-10 16:00:47 +0300 |
commit | ed6143b8f7537db98e94feeb50e7b7f698c7cb05 (patch) | |
tree | a28f91f34ae2ee76200645a5c80c2743783fde9c /drivers/rtc/rtc-lib.c | |
parent | 5a162e229a0472bb3e953aa6fc1bb6fcf52843c8 (diff) |
drm/i915/lvds: Restore initial HW state during encoder enabling
Atm the LVDS encoder depends on the PPS HW context being saved/restored
from generic suspend/resume code. Since the PPS is specific to the LVDS
and eDP encoders a cleaner way is to reinitialize it during encoder
enabling, so do this here for LVDS. Follow-up patches will init the PPS
for the eDP encoder similarly and remove the suspend/resume time save /
restore.
v2:
- Apply BSpec +1 offset and use DIV_ROUND_UP() when programming the
power cycle delay. (Ville)
v3: (Ville)
- Fix +1 vs. round-up order.
- s/reset_on_powerdown/powerdown_on_reset/
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470827254-21954-3-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/rtc/rtc-lib.c')
0 files changed, 0 insertions, 0 deletions