Public paste
Undefined
By: Guest | Date: Dec 25 2009 12:27 | Format: None | Expires: never | Size: 1.1 KB | Hits: 947

  1. diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
  2. index 77a808a..8dae9ad 100644
  3. --- a/src/gallium/drivers/nv50/nv50_screen.c
  4. +++ b/src/gallium/drivers/nv50/nv50_screen.c
  5. @@ -236,7 +236,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
  6.                 nv50_screen_destroy(pscreen);
  7.                 return NULL;
  8.         }
  9. -       BIND_RING(chan, screen->m2mf, 1);
  10. +       BIND_RING(chan, screen->m2mf, 2);
  11.  
  12.         /* 2D object */
  13.         ret = nouveau_grobj_alloc(chan, 0xbeef502d, NV50_2D, &screen->eng2d);
  14. @@ -245,7 +245,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
  15.                 nv50_screen_destroy(pscreen);
  16.                 return NULL;
  17.         }
  18. -       BIND_RING(chan, screen->eng2d, 2);
  19. +       BIND_RING(chan, screen->eng2d, 3);
  20.  
  21.         /* 3D object */
  22.         switch (chipset & 0xf0) {
  23. @@ -282,7 +282,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
  24.                 nv50_screen_destroy(pscreen);
  25.                 return NULL;
  26.         }
  27. -       BIND_RING(chan, screen->tesla, 3);
  28. +       BIND_RING(chan, screen->tesla, 4);
  29.  
  30.         /* Sync notifier */
  31.         ret = nouveau_notifier_alloc(chan, 0xbeef0301, 1, &screen->sync);