drm/nouveau/kms/nv50-: wrap existing command submission in nvif_push interface
authorBen Skeggs <bskeggs@redhat.com>
Fri, 19 Jun 2020 21:52:26 +0000 (07:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jul 2020 08:50:51 +0000 (18:50 +1000)
commit2853ccf09255aa7eb7122dd8816dedfd0f5d3724
tree4e8f0ca88f91dadc3fcb98f90f40960aa7f3058e
parent3e176fd0600439a8a1e0b3e95e2f0545660ab59c
drm/nouveau/kms/nv50-: wrap existing command submission in nvif_push interface

This commit pulls in a bunch of new push buffer macros which are able to
support NVIDIA's class headers, and provide more useful debug output and
error checking (compile-time, where possible) than we had previously.

Will incrementally transition each function over to the unified interfaces.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/nouveau/Kconfig
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/nouveau/dispnv50/disp.h
drivers/gpu/drm/nouveau/include/nvhw/drf.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/include/nvif/push.h [new file with mode: 0644]