OSDN Git Service

nouveau/dmem: fix copy-paste error in nouveau_dmem_migrate_chunk()
authorDanilo Krummrich <dakr@redhat.com>
Mon, 7 Aug 2023 16:32:22 +0000 (18:32 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Tue, 8 Aug 2023 02:45:00 +0000 (04:45 +0200)
commit65c54fe0c85520f800091ae8d95b60792918d07a
tree940e6f0ccfb0bc35ed0f4230284415df6e066c9c
parent4940e40d5a2d5974450275e864f4b8677f34ae80
nouveau/dmem: fix copy-paste error in nouveau_dmem_migrate_chunk()

Fix call to nouveau_fence_emit() with wrong channel parameter.

Fixes: 7f2a0b50b2b2 ("drm/nouveau: fence: separate fence alloc and emit")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230807163238.2091-2-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_dmem.c