Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-28 | drm/nouveau/core: prepare for new-style objects | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: prepare for new-style subdevs | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: separate construction of pci/tegra devices | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/engine: implement support for new-style nvkm_engine | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/subdev: implement support for new-style nvkm_subdev | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/object: implement support for new-style nvkm_object | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/engine: rename some functions to avoid upcoming conflicts | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/subdev: rename some functions to avoid upcoming conflicts | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/object: rename some functions to avoid upcoming conflicts | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: device time mthd | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: replace pushbuf with vm in fermi/kepler gpfifo class args | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: return chipset/board names from device info method | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: add supported engines query to kepler gpfifo class | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: return min/max versions for supported object classes | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: assign internal class identifiers to sw classes | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: use negative oclass identifier for internal classes | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: return success from sclass even for objects without children | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: extend nop ioctl to return nvif version identifier | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: replace path-based object identification | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/nvif: simplify and tidy library interfaces | Ben Skeggs | |
A variety of tweaks to the NVIF library interfaces, mostly ripping out things that turned out to be not so useful. - Removed refcounting from nvif_object, callers are expected to not be stupid instead. - nvif_client is directly reachable from anything derived from nvif_object, removing the need for heuristics to locate it - _new() versions of interfaces, that allocate memory for the object they construct, have been removed. The vast majority of callers used the embedded _init() interfaces. - No longer storing constructor arguments (and the data returned from nvkm) inside nvif_object, it's more or less unused and just wastes memory. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/client: store default device by handle, not reference | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/parent: remove some (now) unnecessary special-case handling | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/object: store object type data outside of handle | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: decouple from engine machinery | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: split user device implementation out on its own | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: simplify subdev construction | Ben Skeggs | |
Replaces the piece-by-piece (in response to NV_DEVICE ctor args) device contruction with a once-off all-or-nothing approach, eliminating some tricky refcounting issues. The partial device init capability was only required by some tools, and has been moved to probe time instead. Temporarily removes a workaround for some boards where we need to fiddle with AGP registers before executing the DEVINIT scripts. A later commit in this series reinstates it. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/device: tidy ctor/dtor interfaces | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/client: tidy ctor/dtor interfaces | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/platform: remove subclassing of nvkm_device | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/disp: transition outp/conn away from being based on nvkm_object | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/i2c: transition pad/ports away from being based on nvkm_object | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/vga: require nvkm_device pointer in accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/imem: use object accessor function for suspend/resume | Ben Skeggs | |
Very much not ideal, but this will be improved later. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/core: wrap direct use of object accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/mpeg: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/gr: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/fifo: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/dma: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/cipher: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/xtensa: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/falcon: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/mmu: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/bar: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/core: switch to gpuobj accessor macros | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/gpuobj: type-safe accessor macros | Ben Skeggs | |
These require an explicit struct nvkm_gpuobj pointer, unlike the previous macros which take a void *, and work with any nvkm_object. New semantics require acquiring/releasing a gpuobj before accessing them, which will be made use of in later patches to greatly reduce the overhead of accesses, particularly when a direct mmio mapping of the object is not available (suspend/resume, out of ioremap() space, and on GK20A). Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/xtensa: remove object accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/falcon: remove object accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/imem: remove object accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||
2015-08-28 | drm/nouveau/fuse: remove object accessor functions | Ben Skeggs | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> |