diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-06-05 10:28:13 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-06-05 14:37:03 +1000 |
commit | 80e9e1ee8172d1e5a81d702681897dddd9d815f1 (patch) | |
tree | 8104fc6523428a52598f026f566bab7e29939309 /src/gallium/drivers/nv50/nv50_transfer.c | |
parent | 1b207d9bb81ae3385e5658a81c71fbf2fe15c18f (diff) | |
download | external_mesa3d-80e9e1ee8172d1e5a81d702681897dddd9d815f1.zip external_mesa3d-80e9e1ee8172d1e5a81d702681897dddd9d815f1.tar.gz external_mesa3d-80e9e1ee8172d1e5a81d702681897dddd9d815f1.tar.bz2 |
nouveau: move channel creation into pipe drivers
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_transfer.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_transfer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_transfer.c b/src/gallium/drivers/nv50/nv50_transfer.c index 5f1e430..a0a2099 100644 --- a/src/gallium/drivers/nv50/nv50_transfer.c +++ b/src/gallium/drivers/nv50/nv50_transfer.c @@ -24,8 +24,7 @@ nv50_transfer_rect_m2mf(struct pipe_screen *pscreen, struct pipe_buffer *src, unsigned src_reloc, unsigned dst_reloc) { struct nv50_screen *screen = nv50_screen(pscreen); - struct nouveau_winsys *nvws = screen->nvws; - struct nouveau_channel *chan = nvws->channel; + struct nouveau_channel *chan = screen->m2mf->channel; struct nouveau_grobj *m2mf = screen->m2mf; struct nouveau_bo *src_bo = nouveau_bo(src); struct nouveau_bo *dst_bo = nouveau_bo(dst); |