Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-02-11 | drm/nouveau/falcon: use split type+inst when looking up PRI addr | Ben Skeggs | 3 | -4/+4 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/bsp,vp: switch to instanced constructor | Ben Skeggs | 13 | -42/+40 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/volt: switch to instanced constructor | Ben Skeggs | 14 | -90/+91 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/top: switch to instanced constructor | Ben Skeggs | 8 | -38/+36 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/tmr: switch to instanced constructor | Ben Skeggs | 11 | -107/+108 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/therm/gk104: use split subdev type+inst in cg engine lists | Ben Skeggs | 2 | -16/+17 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/therm: switch to instanced constructor | Ben Skeggs | 16 | -111/+106 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/pmu: switch to instanced constructor | Ben Skeggs | 19 | -87/+96 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/pci: switch to instanced constructor | Ben Skeggs | 18 | -125/+133 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mxm: switch to instanced constructor | Ben Skeggs | 8 | -45/+44 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mmu: index engref by subdev type | Ben Skeggs | 2 | -3/+3 | |
None of the chipsets we use this on have instanced engines, so this is fine. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mmu: switch to instanced constructor | Ben Skeggs | 22 | -150/+162 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mc: use split type+inst when handling dev_top interrupts | Ben Skeggs | 3 | -33/+16 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mc: use split type+inst in interrupt masking API | Ben Skeggs | 7 | -11/+11 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mc: use split type+inst in device reset APIs | Ben Skeggs | 9 | -31/+28 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mc: lookup subdev interrupt handlers with split type+inst | Ben Skeggs | 5 | -12/+13 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mc: switch to instanced constructor | Ben Skeggs | 22 | -150/+147 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/top: expose parsed device info more directly | Ben Skeggs | 2 | -13/+13 | |
This is easier to deal with in some situations than the existing accessor functions. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/top: store device type and instance separately | Ben Skeggs | 3 | -20/+22 | |
MC/FIFO will need this info as they're switched over. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/ltc: switch to instanced constructor | Ben Skeggs | 14 | -66/+69 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/instmem: switch to instanced constructor | Ben Skeggs | 11 | -108/+104 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/iccsense: switch to instanced constructor | Ben Skeggs | 8 | -34/+31 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/ibus: switch to instanced constructor | Ben Skeggs | 12 | -67/+63 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/i2c: switch to instanced constructor | Ben Skeggs | 16 | -119/+125 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/gsp: switch to instanced constructor | Ben Skeggs | 8 | -16/+14 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/gpio: switch to instanced constructor | Ben Skeggs | 13 | -108/+111 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fuse: switch to instanced constructor | Ben Skeggs | 10 | -67/+67 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fb: switch to instanced constructor | Ben Skeggs | 43 | -210/+206 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fault: switch to instanced constructor | Ben Skeggs | 11 | -33/+30 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/devinit: switch to instanced constructor | Ben Skeggs | 25 | -158/+153 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/clk: switch to instanced constructor | Ben Skeggs | 19 | -129/+128 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/bus: switch to instanced constructor | Ben Skeggs | 12 | -106/+108 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/bios: switch to instanced constructor | Ben Skeggs | 6 | -92/+90 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/bar: switch to instanced constructor | Ben Skeggs | 16 | -87/+91 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/acr: switch to instanced constructor | Ben Skeggs | 13 | -43/+46 | |
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/nvkm: add macros for subdev layout | Ben Skeggs | 5 | -1/+78 | |
Rather than having to add new engines / engine instances to multiple places, define everything in include/nvkm/core/layout.h and use macros to generate the required plumbing. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/device: pass instance id when looking up a subdev/engine | Ben Skeggs | 13 | -109/+41 | |
This switches to using the subdev list for lookup, and otherwise should be a no-op aside from switching the function signatures. Callers will be transitioned to split type+inst individually. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/subdev: track type+instance separately | Ben Skeggs | 3 | -78/+115 | |
We use subdev id bitmasks (as a u64) in a number of places, and GA100 adds enough new engine instances that we run out of bits. We could alias IDs of engines that no longer exist, but it's cleaner for a number of reasons to just split the subdev index into a subdev type, and instance ID instead. Just a lot more painful to do. This magics up the values for old-style subdev constructors, and provides a way to incrementally transition each subdev to the new style. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/subdev: store full subdev name in struct | Ben Skeggs | 17 | -35/+29 | |
Much easier to store this to avoid having to reconstruct a string for a specific subdev, taking into account whether it's instanced or not. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/subdev: store subdevs in list | Ben Skeggs | 4 | -38/+31 | |
This is somewhat nicer to read. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/subdev: remove nvkm_subdev.mutex | Ben Skeggs | 2 | -5/+0 | |
There's not really any nice way to assign the lock classes when we split subdev indices into type+inst, and saves a few bytes in the structs when a subdev has no need for it. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/perfmon: use private spinlock to control exclusive access to perfmon | Ben Skeggs | 2 | -10/+14 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fifo: private mutex | Ben Skeggs | 10 | -28/+30 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/disp: use private spinlock to control exclusive access to disp | Ben Skeggs | 2 | -10/+14 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/pmu: serialise send() with private mutex | Ben Skeggs | 3 | -3/+7 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/mmu: serialise mmu invalidations with private mutex | Ben Skeggs | 6 | -14/+15 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/ltc: serialise cbc operations with private mutex | Ben Skeggs | 2 | -2/+5 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/instmem: protect mm/lru with private mutex | Ben Skeggs | 5 | -29/+35 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fb: protect vram mm with private mutex | Ben Skeggs | 2 | -5/+8 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> | |||||
2021-02-11 | drm/nouveau/fb: protect comptags with private mutex | Ben Skeggs | 10 | -23/+29 | |
nvkm_subdev.mutex is going away. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]> |