aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_copy.c
Commit message (Collapse)AuthorAge
* drm/nouveau: restructure source tree, split core from drm implementationBen Skeggs2012-10-02
| | | | | | | | | | | | | | Future work will be headed in the way of separating the policy supplied by the nouveau drm module from the mechanisms provided by the driver core. There will be a couple of major classes (subdev, engine) of driver modules that have clearly defined tasks, and the further directory structure change is to reflect this. No code changes here whatsoever, aside from fixing up a couple of include file pathnames. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau: pass flag to engine fini() method on suspendBen Skeggs2011-07-24
| | | | | | | | It may not be necessary to fail in certain cases (such as failing to idle) on module unload, whereas on suspend it's important to ensure a consistent state can be restored on resume. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau: will need to specify channel for vm-ful gpuobj allocationsBen Skeggs2011-06-23
| | | | | | | | | 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>
* drm/nvc0: fix suspend/resume of PGRAPH/PCOPYnBen Skeggs2011-06-23
| | | | | | | | | | | We need the physical VRAM address in vinst, even for objects mapped into a vm, as the gpuobj suspend/resume code uses PMEM to access the object. Previously, vinst was overloaded to mean "VRAM address" for !VM objects, and "VM address" for VM objects, causing the wrong data to be accessed during suspend/resume. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvc0: implement support for copy enginesBen Skeggs2011-05-15
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>