diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-08 06:47:37 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 10:50:51 +0200 |
commit | f7a7d22ad6781a34ffc718865700883d3cbf6c06 (patch) | |
tree | c48892fe3b0bdbe631d195fc74f415fd358aa850 /drivers/gpu/drm/nouveau/nouveau_svm.c | |
parent | drm/nouveau/nvif: give every disp object a human-readable identifier (diff) | |
download | linux-f7a7d22ad6781a34ffc718865700883d3cbf6c06.tar.xz linux-f7a7d22ad6781a34ffc718865700883d3cbf6c06.zip |
drm/nouveau/nvif: give every notify object a human-readable name
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_svm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_svm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_svm.c b/drivers/gpu/drm/nouveau/nouveau_svm.c index 6f65fa73e1cd..d4b4f866ab78 100644 --- a/drivers/gpu/drm/nouveau/nouveau_svm.c +++ b/drivers/gpu/drm/nouveau/nouveau_svm.c @@ -905,7 +905,7 @@ nouveau_svm_fault_buffer_dtor(struct nouveau_svm *svm, int id) nouveau_svm_fault_buffer_fini(svm, id); - nvif_notify_fini(&buffer->notify); + nvif_notify_dtor(&buffer->notify); nvif_object_dtor(&buffer->object); } @@ -932,8 +932,8 @@ nouveau_svm_fault_buffer_ctor(struct nouveau_svm *svm, s32 oclass, int id) buffer->getaddr = args.get; buffer->putaddr = args.put; - ret = nvif_notify_init(&buffer->object, nouveau_svm_fault, true, - NVB069_V0_NTFY_FAULT, NULL, 0, 0, + ret = nvif_notify_ctor(&buffer->object, "svmFault", nouveau_svm_fault, + true, NVB069_V0_NTFY_FAULT, NULL, 0, 0, &buffer->notify); if (ret) return ret; |