aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@nvidia.com>2024-07-26 14:37:56 +1000
committerDanilo Krummrich <dakr@kernel.org>2024-07-27 03:05:21 +0200
commit6777264dfabe2a7c75453031bee5bcc2e7882cf7 (patch)
tree54113926b388b2a8ea7923b42f5385acec9fe335 /tools/perf/scripts/python
parentc0bfe34330b5fafdbbc63a7124841711651b96b9 (diff)
drm/nouveau: store nvkm_device pointer in nouveau_drm
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 will no longer exist. This provides a safer replacement for accessing the nvkm_device, and will used more in upcoming patches to cleanup other cases. v2: - fixup printk macros to not oops if used before client ctor 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-6-bskeggs@nvidia.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions