drm/nouveau: will need to specify channel for vm-ful gpuobj allocations
authorBen Skeggs <bskeggs@redhat.com>
Fri, 3 Jun 2011 04:23:30 +0000 (14:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jun 2011 05:59:18 +0000 (15:59 +1000)
commit6e32fedc8b50d3571bdec4e9849e45659ac96599
tree3895a1fd7ac7ad7959ea274416b284cdba510c75
parentdd6a46cc922bec58e9c73782cd59f50a239c4fa7
drm/nouveau: will need to specify channel for vm-ful gpuobj allocations

Abuses existing gpuobj_new() chan argument for this, which in turn forces
all NVOBJ_FLAG_VM allocations to be done from the global heap, not
suballocated from the channel's private heap.  Not a problem though in
practise.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_object.c
drivers/gpu/drm/nouveau/nv04_instmem.c
drivers/gpu/drm/nouveau/nv50_instmem.c
drivers/gpu/drm/nouveau/nvc0_copy.c
drivers/gpu/drm/nouveau/nvc0_graph.c