1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/nouveau/include
Ben Skeggs 6901f1d647 drm/nouveau: move nvxx_* definitions to nouveau_drv.h
These are some dodgy "convenience" macros for the DRM driver to peek
into NVKM state.  They're still used in a few places, but don't belong
in nvif/device.h in any case.

Move them to nouveau_drv.h, and modify callers to pass a nouveau_drm
instead of an nvif_device.

v2:
- use drm->nvkm pointer for nvxx_*() macros, removing some void*
v3:
- add some explanation of the nvxx_*() macros

Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240726043828.58966-28-bskeggs@nvidia.com
2024-07-27 03:05:38 +02:00
..
nvfw drm/nouveau/fb/ga102: Replace zero-length array of trailing structs with flex-array 2023-01-16 18:18:12 +01:00
nvhw drm/nouveau: Fix spelling typo in comments 2022-06-16 18:37:03 -04:00
nvif drm/nouveau: move nvxx_* definitions to nouveau_drv.h 2024-07-27 03:05:38 +02:00
nvkm drm/nouveau/nvif: remove disp chan rd/wr 2024-07-27 03:05:37 +02:00
nvrm nouveau/gsp: document some aspects of GSP-RM 2023-11-30 00:40:23 +01:00