summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorRodrigo Vivi2013-07-11 23:45:05 +0200
committerDaniel Vetter2013-07-18 10:34:54 +0200
commit4906557eb37b7fef84fad4304acef6dedf919880 (patch)
tree2a655e9c0fd228c8b40c65d9245603aee3d95b32 /drivers/gpu/drm/i915/intel_display.c
parentdrm/i915: add update function to disable/enable-back PSR (diff)
downloadkernel-qcow2-linux-4906557eb37b7fef84fad4304acef6dedf919880.tar.gz
kernel-qcow2-linux-4906557eb37b7fef84fad4304acef6dedf919880.tar.xz
kernel-qcow2-linux-4906557eb37b7fef84fad4304acef6dedf919880.zip
drm/i915: Hook PSR functionality
PSR must be enabled after transcoder and port are running. And it is only available for HSW. v2: move enable/disable to intel_ddi v3: The spec suggests PSR should be disabled even before backlight (by pzanoni) v4: also disabling and enabling whenever panel is disabled/enabled. v5: make it last patch to avoid breaking whenever bisecting. So calling for update and force exit came to this patch along with enable/disable calls. v6: Remove unused and unecessary psr_enable/disable calls, as notice by Paulo. CC: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> [danvet: Drop the psr exit code in the busy ioctl since I didn't merge that part of the infrastructure yet - it needs more thought.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 3cda57d7b3f0..94cb0ad604d7 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2274,6 +2274,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,
}
intel_update_fbc(dev);
+ intel_edp_psr_update(dev);
mutex_unlock(&dev->struct_mutex);
intel_crtc_update_sarea_pos(crtc, x, y);