Re: [PATCH v3 05/37] drm/nouveau: store nvkm_device pointer in nouveau_drm

2024-09-29 Thread Zhi Wang
On Fri, 26 Jul 2024 14:37:56 +1000 Ben Skeggs wrote: > There's various different places in the drm code that get at the > nvkm_device via various creative (and not very type-safe) means. > > One of those being via nvif_device.object.priv. > > Another patch series is going to entirely remove the

[PATCH v3 05/37] drm/nouveau: store nvkm_device pointer in nouveau_drm

2024-07-25 Thread Ben Skeggs
There's various different places in the drm code that get at the nvkm_device via various creative (and not very type-safe) means. One of those being via nvif_device.object.priv. Another patch series is going to entirely remove the ioctl-like interfaces beween the drm code and nvkm, and that field