drm/nouveau/fifo: add new channel classes
Exposes a bunch of the new features that became possible as a result of the earlier commits. DRM will build on this in the future to add support for features such as SCG ("async compute") and multi-device rendering, as part of the work necessary to be able to write a half- decent vulkan driver - finally. For the moment, this just crudely ports DRM to the API changes. - channel class interfaces now the same for all HW classes - channel group class exposed (SCG) - channel runqueue selector exposed (SCG) - channel sub-device id control exposed (multi-device rendering) - channel names in logging will reflect creating process, not fd owner - explicit USERD allocation required by VOLTA_CHANNEL_GPFIFO_A and newer - drm is smarter about determining the appropriate channel class to use Signed-off-by:Ben Skeggs <bskeggs@redhat.com> Reviewed-by:
Lyude Paul <lyude@redhat.com>
Showing
- drivers/gpu/drm/nouveau/include/nvif/cl006b.h 0 additions, 12 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl006b.h
- drivers/gpu/drm/nouveau/include/nvif/cl506e.h 0 additions, 13 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl506e.h
- drivers/gpu/drm/nouveau/include/nvif/cl506f.h 0 additions, 14 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl506f.h
- drivers/gpu/drm/nouveau/include/nvif/cl826e.h 0 additions, 13 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl826e.h
- drivers/gpu/drm/nouveau/include/nvif/cl826f.h 0 additions, 14 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl826f.h
- drivers/gpu/drm/nouveau/include/nvif/cl906f.h 0 additions, 13 deletionsdrivers/gpu/drm/nouveau/include/nvif/cl906f.h
- drivers/gpu/drm/nouveau/include/nvif/cla06f.h 0 additions, 15 deletionsdrivers/gpu/drm/nouveau/include/nvif/cla06f.h
- drivers/gpu/drm/nouveau/include/nvif/class.h 14 additions, 14 deletionsdrivers/gpu/drm/nouveau/include/nvif/class.h
- drivers/gpu/drm/nouveau/include/nvif/clc36f.h 0 additions, 16 deletionsdrivers/gpu/drm/nouveau/include/nvif/clc36f.h
- drivers/gpu/drm/nouveau/include/nvif/if0020.h 32 additions, 0 deletionsdrivers/gpu/drm/nouveau/include/nvif/if0020.h
- drivers/gpu/drm/nouveau/include/nvif/if0021.h 16 additions, 0 deletionsdrivers/gpu/drm/nouveau/include/nvif/if0021.h
- drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h 2 additions, 5 deletionsdrivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h
- drivers/gpu/drm/nouveau/nouveau_abi16.c 0 additions, 1 deletiondrivers/gpu/drm/nouveau/nouveau_abi16.c
- drivers/gpu/drm/nouveau/nouveau_chan.c 95 additions, 127 deletionsdrivers/gpu/drm/nouveau/nouveau_chan.c
- drivers/gpu/drm/nouveau/nouveau_chan.h 3 additions, 0 deletionsdrivers/gpu/drm/nouveau/nouveau_chan.h
- drivers/gpu/drm/nouveau/nouveau_dma.c 4 additions, 4 deletionsdrivers/gpu/drm/nouveau/nouveau_dma.c
- drivers/gpu/drm/nouveau/nouveau_drm.c 0 additions, 1 deletiondrivers/gpu/drm/nouveau/nouveau_drm.c
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/Kbuild 1 addition, 15 deletionsdrivers/gpu/drm/nouveau/nvkm/engine/fifo/Kbuild
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c 21 additions, 9 deletionsdrivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 44 additions, 53 deletionsdrivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
Loading
Please register or sign in to comment