Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228557
b: refs/heads/master
c: 1c180fa
h: refs/heads/master
i:
  228555: a97bd8d
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Dec 3, 2010
1 parent 1efafb1 commit bb7437e
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 332b242f47786d1a43bd7a19a0513dd5d493db8e
refs/heads/master: 1c180fa5bd5f264e4863bb88861e8cd7d135b917
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nv04_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ static void nv_crtc_prepare(struct drm_crtc *crtc)
if (nv_two_heads(dev))
NVSetOwner(dev, nv_crtc->index);

drm_vblank_pre_modeset(dev, nv_crtc->index);
funcs->dpms(crtc, DRM_MODE_DPMS_OFF);

NVBlankScreen(dev, nv_crtc->index, true);
Expand Down Expand Up @@ -704,6 +705,7 @@ static void nv_crtc_commit(struct drm_crtc *crtc)
#endif

funcs->dpms(crtc, DRM_MODE_DPMS_ON);
drm_vblank_post_modeset(dev, nv_crtc->index);
}

static void nv_crtc_destroy(struct drm_crtc *crtc)
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nv50_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ nv50_crtc_prepare(struct drm_crtc *crtc)

NV_DEBUG_KMS(dev, "index %d\n", nv_crtc->index);

drm_vblank_pre_modeset(dev, nv_crtc->index);
nv50_crtc_blank(nv_crtc, true);
}

Expand All @@ -469,6 +470,7 @@ nv50_crtc_commit(struct drm_crtc *crtc)
NV_DEBUG_KMS(dev, "index %d\n", nv_crtc->index);

nv50_crtc_blank(nv_crtc, false);
drm_vblank_post_modeset(dev, nv_crtc->index);

ret = RING_SPACE(evo, 2);
if (ret) {
Expand Down

0 comments on commit bb7437e

Please sign in to comment.