]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b73e5c70e8542cb9b6135621594ce0b244aa679
tree4e8f0ca88f91dadc3fcb98f90f40960aa7f3058e
parent0e76c6c7f56218a36d02b6e24ae3144b3508d2dd
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]