Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358311
b: refs/heads/master
c: 5a885f0
h: refs/heads/master
i:
  358309: 8250084
  358307: faa8b8a
  358303: abf1df6
v: v3
  • Loading branch information
Ben Skeggs committed Feb 20, 2013
1 parent a38f17c commit 84f672e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a0afd282fd715dd63d64b243299a64da14f8e8d
refs/heads/master: 5a885f0b757ba4483d790c40813d8a66278bdda7
12 changes: 2 additions & 10 deletions trunk/drivers/gpu/drm/nouveau/nv50_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1738,14 +1738,6 @@ nv50_sor_disconnect(struct drm_encoder *encoder)
nv_encoder->crtc = NULL;
}

static void
nv50_sor_prepare(struct drm_encoder *encoder)
{
nv50_sor_disconnect(encoder);
if (nouveau_encoder(encoder)->dcb->type == DCB_OUTPUT_DP)
evo_sync(encoder->dev);
}

static void
nv50_sor_commit(struct drm_encoder *encoder)
{
Expand Down Expand Up @@ -1883,7 +1875,7 @@ nv50_sor_destroy(struct drm_encoder *encoder)
static const struct drm_encoder_helper_funcs nv50_sor_hfunc = {
.dpms = nv50_sor_dpms,
.mode_fixup = nv50_sor_mode_fixup,
.prepare = nv50_sor_prepare,
.prepare = nv50_sor_disconnect,
.commit = nv50_sor_commit,
.mode_set = nv50_sor_mode_set,
.disable = nv50_sor_disconnect,
Expand Down Expand Up @@ -1946,7 +1938,7 @@ nv50_display_init(struct drm_device *dev)
evo_mthd(push, 0x0088, 1);
evo_data(push, NvEvoSync);
evo_kick(push, nv50_mast(dev));
return evo_sync(dev);
return 0;
}

return -EBUSY;
Expand Down

0 comments on commit 84f672e

Please sign in to comment.