Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358207
b: refs/heads/master
c: 24a1f16
h: refs/heads/master
i:
  358205: eb06ae6
  358203: d489ce5
  358199: 3a11809
  358191: 548ee1f
  358175: f7a7c6a
  358143: 8a426b6
v: v3
  • Loading branch information
Mika Kuoppala authored and Daniel Vetter committed Feb 19, 2013
1 parent cf405d6 commit 5286ac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d7aaa0cfe3d1b5ee23958fce71973e3ae9e52e4
refs/heads/master: 24a1f16de97c4cf0029d9acd04be06db32208726
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3637,6 +3637,7 @@ static void i9xx_crtc_disable(struct drm_crtc *crtc)
struct intel_encoder *encoder;
int pipe = intel_crtc->pipe;
int plane = intel_crtc->plane;
u32 pctl;


if (!intel_crtc->active)
Expand All @@ -3656,6 +3657,13 @@ static void i9xx_crtc_disable(struct drm_crtc *crtc)

intel_disable_plane(dev_priv, plane, pipe);
intel_disable_pipe(dev_priv, pipe);

/* Disable pannel fitter if it is on this pipe. */
pctl = I915_READ(PFIT_CONTROL);
if ((pctl & PFIT_ENABLE) &&
((pctl & PFIT_PIPE_MASK) >> PFIT_PIPE_SHIFT) == pipe)
I915_WRITE(PFIT_CONTROL, 0);

intel_disable_pll(dev_priv, pipe);

intel_crtc->active = false;
Expand Down

0 comments on commit 5286ac4

Please sign in to comment.