diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-07 00:21:29 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 02:00:37 -0400 |
commit | 7375c95b343aa575940704a38482a334ea87ac6c (patch) | |
tree | 5c6c61ceefe74bc5b3aefe810ba6d3cad87c9618 /drivers/gpu/drm/nouveau/nv50_crtc.c | |
parent | e758a3111914af7ee4351be86f1ac0efe87ed06e (diff) |
drm/nouveau: remove 'chan' argument from nouveau_bo_new
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_crtc.c b/drivers/gpu/drm/nouveau/nv50_crtc.c index 115b780247ee..46ad59ea2185 100644 --- a/drivers/gpu/drm/nouveau/nv50_crtc.c +++ b/drivers/gpu/drm/nouveau/nv50_crtc.c | |||
@@ -747,7 +747,7 @@ nv50_crtc_create(struct drm_device *dev, int index) | |||
747 | } | 747 | } |
748 | nv_crtc->lut.depth = 0; | 748 | nv_crtc->lut.depth = 0; |
749 | 749 | ||
750 | ret = nouveau_bo_new(dev, NULL, 4096, 0x100, TTM_PL_FLAG_VRAM, | 750 | ret = nouveau_bo_new(dev, 4096, 0x100, TTM_PL_FLAG_VRAM, |
751 | 0, 0x0000, &nv_crtc->lut.nvbo); | 751 | 0, 0x0000, &nv_crtc->lut.nvbo); |
752 | if (!ret) { | 752 | if (!ret) { |
753 | ret = nouveau_bo_pin(nv_crtc->lut.nvbo, TTM_PL_FLAG_VRAM); | 753 | ret = nouveau_bo_pin(nv_crtc->lut.nvbo, TTM_PL_FLAG_VRAM); |
@@ -773,7 +773,7 @@ nv50_crtc_create(struct drm_device *dev, int index) | |||
773 | drm_crtc_helper_add(&nv_crtc->base, &nv50_crtc_helper_funcs); | 773 | drm_crtc_helper_add(&nv_crtc->base, &nv50_crtc_helper_funcs); |
774 | drm_mode_crtc_set_gamma_size(&nv_crtc->base, 256); | 774 | drm_mode_crtc_set_gamma_size(&nv_crtc->base, 256); |
775 | 775 | ||
776 | ret = nouveau_bo_new(dev, NULL, 64*64*4, 0x100, TTM_PL_FLAG_VRAM, | 776 | ret = nouveau_bo_new(dev, 64*64*4, 0x100, TTM_PL_FLAG_VRAM, |
777 | 0, 0x0000, &nv_crtc->cursor.nvbo); | 777 | 0, 0x0000, &nv_crtc->cursor.nvbo); |
778 | if (!ret) { | 778 | if (!ret) { |
779 | ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM); | 779 | ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM); |