diff options
author | Rodrigo Vivi <rodrigo.vivi@gmail.com> | 2013-07-11 18:45:01 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-18 10:18:30 +0200 |
commit | 3d739d92d9cbce6cdaf101fe78870f97fcbf5349 (patch) | |
tree | 2090b3d00d518c555c79bc1ebc0d9b5bcc99c2f5 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 105b7c11f036f734988990541674a93e54cf4ec1 (diff) | |
download | linux-3d739d92d9cbce6cdaf101fe78870f97fcbf5349.tar.gz linux-3d739d92d9cbce6cdaf101fe78870f97fcbf5349.tar.bz2 linux-3d739d92d9cbce6cdaf101fe78870f97fcbf5349.zip |
drm/i915: add update function to disable/enable-back PSR
Required function to disable PSR when going to console mode.
But also can be used whenever PSR mode entry conditions changed.
v2: Add it before PSR Hook. Update function not really been called yet.
v3: Fix coding style detected by checkpatch by Paulo Zanoni.
v4: do_enable must be static as Paulo noticed.
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Shobhit Kumar <shobhit.kumar@intel.com>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index ff36a40103eb..40e955d00b2b 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -837,5 +837,6 @@ extern bool intel_set_pch_fifo_underrun_reporting(struct drm_device *dev, extern void intel_edp_psr_enable(struct intel_dp *intel_dp); extern void intel_edp_psr_disable(struct intel_dp *intel_dp); +extern void intel_edp_psr_update(struct drm_device *dev); #endif /* __INTEL_DRV_H__ */ |