|
@@ -1383,7 +1383,7 @@ nv50_crtc_create(struct drm_device *dev, int index)
|
|
drm_mode_crtc_set_gamma_size(crtc, 256);
|
|
drm_mode_crtc_set_gamma_size(crtc, 256);
|
|
|
|
|
|
ret = nouveau_bo_new(dev, 8192, 0x100, TTM_PL_FLAG_VRAM,
|
|
ret = nouveau_bo_new(dev, 8192, 0x100, TTM_PL_FLAG_VRAM,
|
|
- 0, 0x0000, NULL, &head->base.lut.nvbo);
|
|
|
|
|
|
+ 0, 0x0000, NULL, NULL, &head->base.lut.nvbo);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
ret = nouveau_bo_pin(head->base.lut.nvbo, TTM_PL_FLAG_VRAM);
|
|
ret = nouveau_bo_pin(head->base.lut.nvbo, TTM_PL_FLAG_VRAM);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
@@ -1406,7 +1406,7 @@ nv50_crtc_create(struct drm_device *dev, int index)
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
ret = nouveau_bo_new(dev, 64 * 64 * 4, 0x100, TTM_PL_FLAG_VRAM,
|
|
ret = nouveau_bo_new(dev, 64 * 64 * 4, 0x100, TTM_PL_FLAG_VRAM,
|
|
- 0, 0x0000, NULL, &head->base.cursor.nvbo);
|
|
|
|
|
|
+ 0, 0x0000, NULL, NULL, &head->base.cursor.nvbo);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
ret = nouveau_bo_pin(head->base.cursor.nvbo, TTM_PL_FLAG_VRAM);
|
|
ret = nouveau_bo_pin(head->base.cursor.nvbo, TTM_PL_FLAG_VRAM);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
@@ -2468,7 +2468,7 @@ nv50_display_create(struct drm_device *dev)
|
|
|
|
|
|
/* small shared memory area we use for notifiers and semaphores */
|
|
/* small shared memory area we use for notifiers and semaphores */
|
|
ret = nouveau_bo_new(dev, 4096, 0x1000, TTM_PL_FLAG_VRAM,
|
|
ret = nouveau_bo_new(dev, 4096, 0x1000, TTM_PL_FLAG_VRAM,
|
|
- 0, 0x0000, NULL, &disp->sync);
|
|
|
|
|
|
+ 0, 0x0000, NULL, NULL, &disp->sync);
|
|
if (!ret) {
|
|
if (!ret) {
|
|
ret = nouveau_bo_pin(disp->sync, TTM_PL_FLAG_VRAM);
|
|
ret = nouveau_bo_pin(disp->sync, TTM_PL_FLAG_VRAM);
|
|
if (!ret) {
|
|
if (!ret) {
|