diff options
author | 2014-07-07 13:01:46 -0700 | |
---|---|---|
committer | 2014-07-09 09:52:14 +0200 | |
commit | 01527b3127997ef6370d5ad4fa25d96847fbf12a (patch) | |
tree | f02f439d3c4f10ab802402df102e9d0079c0b946 /drivers/gpu/drm/i915/intel_drv.h | |
parent | drm/i915: Only unbind vgacon, not other console drivers (diff) | |
download | linux-01527b3127997ef6370d5ad4fa25d96847fbf12a.tar.gz linux-01527b3127997ef6370d5ad4fa25d96847fbf12a.tar.bz2 linux-01527b3127997ef6370d5ad4fa25d96847fbf12a.zip |
drm/i915/vlv: T12 eDP panel timing enforcement during reboot
The panel power sequencer on vlv doesn't appear to accept changes to its
T12 power down duration during warm reboots. This change forces a delay
for warm reboots to the T12 panel timing as defined in the VBT table for
the connected panel.
Ver2: removed redundant pr_crit(), commented magic value for pp_div_reg
Ver3: moved SYS_RESTART check earlier, new name for pp_div.
Ver4: Minor issue changes
Ver5: Move registration of reboot notifier to edp_connector_init,
Added warning comment to handler about lack of PM notification.
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index eaa27ee9e367..f67340ed2c12 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -538,6 +538,8 @@ struct intel_dp { unsigned long last_power_on; unsigned long last_backlight_off; bool psr_setup_done; + struct notifier_block edp_notifier; + bool use_tps3; struct intel_connector *attached_connector; |