diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-01-31 19:24:41 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-24 15:44:42 -0500 |
commit | 59c0f5780f21ef10428bdaccd9999879f38225bc (patch) | |
tree | 2076a40142fa4472cb4481ce98c43f0025bc8b9a /drivers/gpu/drm/nouveau/nv50_crtc.c | |
parent | ef8389a84bbd80daaf6c60a5534461d82ba22c0a (diff) |
drm/nv50-nvc0: rename disp->evo to disp->master
More appropriate, and we're about to be using more than just the master
EVO channel.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_crtc.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_crtc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_crtc.c b/drivers/gpu/drm/nouveau/nv50_crtc.c index 62a563eedfe..bc5fa36677c 100644 --- a/drivers/gpu/drm/nouveau/nv50_crtc.c +++ b/drivers/gpu/drm/nouveau/nv50_crtc.c | |||
@@ -65,7 +65,7 @@ nv50_crtc_blank(struct nouveau_crtc *nv_crtc, bool blanked) | |||
65 | { | 65 | { |
66 | struct drm_device *dev = nv_crtc->base.dev; | 66 | struct drm_device *dev = nv_crtc->base.dev; |
67 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 67 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
68 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 68 | struct nouveau_channel *evo = nv50_display(dev)->master; |
69 | int index = nv_crtc->index, ret; | 69 | int index = nv_crtc->index, ret; |
70 | 70 | ||
71 | NV_DEBUG_KMS(dev, "index %d\n", nv_crtc->index); | 71 | NV_DEBUG_KMS(dev, "index %d\n", nv_crtc->index); |
@@ -135,7 +135,7 @@ static int | |||
135 | nv50_crtc_set_dither(struct nouveau_crtc *nv_crtc, bool on, bool update) | 135 | nv50_crtc_set_dither(struct nouveau_crtc *nv_crtc, bool on, bool update) |
136 | { | 136 | { |
137 | struct drm_device *dev = nv_crtc->base.dev; | 137 | struct drm_device *dev = nv_crtc->base.dev; |
138 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 138 | struct nouveau_channel *evo = nv50_display(dev)->master; |
139 | int ret; | 139 | int ret; |
140 | 140 | ||
141 | NV_DEBUG_KMS(dev, "\n"); | 141 | NV_DEBUG_KMS(dev, "\n"); |
@@ -185,7 +185,7 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, int scaling_mode, bool update) | |||
185 | struct nouveau_connector *nv_connector = | 185 | struct nouveau_connector *nv_connector = |
186 | nouveau_crtc_connector_get(nv_crtc); | 186 | nouveau_crtc_connector_get(nv_crtc); |
187 | struct drm_device *dev = nv_crtc->base.dev; | 187 | struct drm_device *dev = nv_crtc->base.dev; |
188 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 188 | struct nouveau_channel *evo = nv50_display(dev)->master; |
189 | struct drm_display_mode *native_mode = NULL; | 189 | struct drm_display_mode *native_mode = NULL; |
190 | struct drm_display_mode *mode = &nv_crtc->base.mode; | 190 | struct drm_display_mode *mode = &nv_crtc->base.mode; |
191 | uint32_t outX, outY, horiz, vert; | 191 | uint32_t outX, outY, horiz, vert; |
@@ -459,7 +459,7 @@ static void | |||
459 | nv50_crtc_commit(struct drm_crtc *crtc) | 459 | nv50_crtc_commit(struct drm_crtc *crtc) |
460 | { | 460 | { |
461 | struct drm_device *dev = crtc->dev; | 461 | struct drm_device *dev = crtc->dev; |
462 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 462 | struct nouveau_channel *evo = nv50_display(dev)->master; |
463 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); | 463 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); |
464 | int ret; | 464 | int ret; |
465 | 465 | ||
@@ -493,7 +493,7 @@ nv50_crtc_do_mode_set_base(struct drm_crtc *crtc, | |||
493 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); | 493 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); |
494 | struct drm_device *dev = nv_crtc->base.dev; | 494 | struct drm_device *dev = nv_crtc->base.dev; |
495 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 495 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
496 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 496 | struct nouveau_channel *evo = nv50_display(dev)->master; |
497 | struct drm_framebuffer *drm_fb = nv_crtc->base.fb; | 497 | struct drm_framebuffer *drm_fb = nv_crtc->base.fb; |
498 | struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); | 498 | struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); |
499 | int ret, format; | 499 | int ret, format; |
@@ -616,7 +616,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, | |||
616 | struct drm_framebuffer *old_fb) | 616 | struct drm_framebuffer *old_fb) |
617 | { | 617 | { |
618 | struct drm_device *dev = crtc->dev; | 618 | struct drm_device *dev = crtc->dev; |
619 | struct nouveau_channel *evo = nv50_display(dev)->evo; | 619 | struct nouveau_channel *evo = nv50_display(dev)->master; |
620 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); | 620 | struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); |
621 | struct nouveau_connector *nv_connector = NULL; | 621 | struct nouveau_connector *nv_connector = NULL; |
622 | uint32_t hsync_dur, vsync_dur, hsync_start_to_end, vsync_start_to_end; | 622 | uint32_t hsync_dur, vsync_dur, hsync_start_to_end, vsync_start_to_end; |