]> 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)
commitba34fbbca5ab85e9f5283b9141da49b90c094fb0
tree4e8f0ca88f91dadc3fcb98f90f40960aa7f3058e
parent88eca2f70208a3355ade682787896a56b3e81fea
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]