diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvd0_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvd0_display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c index 0247250939e..1f3a9b1240e 100644 --- a/drivers/gpu/drm/nouveau/nvd0_display.c +++ b/drivers/gpu/drm/nouveau/nvd0_display.c | |||
@@ -882,7 +882,7 @@ nvd0_crtc_create(struct drm_device *dev, int index) | |||
882 | drm_mode_crtc_set_gamma_size(crtc, 256); | 882 | drm_mode_crtc_set_gamma_size(crtc, 256); |
883 | 883 | ||
884 | ret = nouveau_bo_new(dev, 64 * 64 * 4, 0x100, TTM_PL_FLAG_VRAM, | 884 | ret = nouveau_bo_new(dev, 64 * 64 * 4, 0x100, TTM_PL_FLAG_VRAM, |
885 | 0, 0x0000, &nv_crtc->cursor.nvbo); | 885 | 0, 0x0000, NULL, &nv_crtc->cursor.nvbo); |
886 | if (!ret) { | 886 | if (!ret) { |
887 | ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM); | 887 | ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM); |
888 | if (!ret) | 888 | if (!ret) |
@@ -895,7 +895,7 @@ nvd0_crtc_create(struct drm_device *dev, int index) | |||
895 | goto out; | 895 | goto out; |
896 | 896 | ||
897 | ret = nouveau_bo_new(dev, 8192, 0x100, TTM_PL_FLAG_VRAM, | 897 | ret = nouveau_bo_new(dev, 8192, 0x100, TTM_PL_FLAG_VRAM, |
898 | 0, 0x0000, &nv_crtc->lut.nvbo); | 898 | 0, 0x0000, NULL, &nv_crtc->lut.nvbo); |
899 | if (!ret) { | 899 | if (!ret) { |
900 | ret = nouveau_bo_pin(nv_crtc->lut.nvbo, TTM_PL_FLAG_VRAM); | 900 | ret = nouveau_bo_pin(nv_crtc->lut.nvbo, TTM_PL_FLAG_VRAM); |
901 | if (!ret) | 901 | if (!ret) |
@@ -2030,7 +2030,7 @@ nvd0_display_create(struct drm_device *dev) | |||
2030 | 2030 | ||
2031 | /* small shared memory area we use for notifiers and semaphores */ | 2031 | /* small shared memory area we use for notifiers and semaphores */ |
2032 | ret = nouveau_bo_new(dev, 4096, 0x1000, TTM_PL_FLAG_VRAM, | 2032 | ret = nouveau_bo_new(dev, 4096, 0x1000, TTM_PL_FLAG_VRAM, |
2033 | 0, 0x0000, &disp->sync); | 2033 | 0, 0x0000, NULL, &disp->sync); |
2034 | if (!ret) { | 2034 | if (!ret) { |
2035 | ret = nouveau_bo_pin(disp->sync, TTM_PL_FLAG_VRAM); | 2035 | ret = nouveau_bo_pin(disp->sync, TTM_PL_FLAG_VRAM); |
2036 | if (!ret) | 2036 | if (!ret) |