linux/drivers/gpu/drm/nouveau
Alistair Popple 97061d4411 nouveau: fix migrate_to_ram() for faulting page
Commit 16ce101db8 ("mm/memory.c: fix race when faulting a device private
page") changed the migrate_to_ram() callback to take a reference on the
device page to ensure it can't be freed while handling the fault. 
Unfortunately the corresponding update to Nouveau to accommodate this
change was inadvertently dropped from that patch causing GPU to CPU
migration to fail so add it here.

Link: https://lkml.kernel.org/r/20221019122934.866205-1-apopple@nvidia.com
Fixes: 16ce101db8 ("mm/memory.c: fix race when faulting a device private page")
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-20 21:27:24 -07:00
..
dispnv04 drm/plane-helper: Provide DRM_PLANE_NON_ATOMIC_FUNCS initializer macro 2022-09-20 09:42:31 +02:00
dispnv50 drm/display/dp_mst: Move all payload info into the atomic state 2022-08-23 16:54:09 -04:00
include drm/nouveau/disp: move DAC load detection method 2022-07-27 09:05:49 +10:00
nvif drm/nouveau/disp: move DAC load detection method 2022-07-27 09:05:49 +10:00
nvkm Merge tag 'drm-misc-next-2022-09-09' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2022-09-11 22:03:07 +10:00
Kbuild
Kconfig drm/nouveau/Kconfig: Drop duplicate "select ACPI_VIDEO" 2022-06-23 12:15:04 +02:00
nouveau_abi16.c drm/nouveau: remove double WFI when destroying channels 2022-07-13 13:57:06 +10:00
nouveau_abi16.h drm/nouveau/ce/gv100-: move method buffer to ce ctx 2022-07-13 13:56:50 +10:00
nouveau_acpi.c drm/nouveau: Register ACPI video backlight when nv_backlight registration fails (v2) 2022-09-03 12:17:26 +02:00
nouveau_acpi.h drm/nouveau: Register ACPI video backlight when nv_backlight registration fails (v2) 2022-09-03 12:17:26 +02:00
nouveau_backlight.c drm/nouveau: Register ACPI video backlight when nv_backlight registration fails (v2) 2022-09-03 12:17:26 +02:00
nouveau_bios.c drm/nouveau/disp: add output class 2022-07-27 09:05:49 +10:00
nouveau_bios.h
nouveau_bo74c1.c
nouveau_bo85b5.c
nouveau_bo90b5.c
nouveau_bo0039.c
nouveau_bo5039.c
nouveau_bo9039.c
nouveau_bo.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
nouveau_bo.h
nouveau_boa0b5.c
nouveau_chan.c drm/nouveau/fifo: remove rd32/wr32 accessors from channels 2022-07-13 13:56:42 +10:00
nouveau_chan.h
nouveau_connector.c drm/display/dp_mst: Add helpers for serializing SST <-> MST transitions 2022-08-23 16:53:41 -04:00
nouveau_connector.h drm/nouveau/kms: Cache DP encoders in nouveau_connector 2022-08-23 16:53:40 -04:00
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau: simplify the return expression of nouveau_debugfs_init() 2022-04-29 15:44:54 -04:00
nouveau_debugfs.h
nouveau_display.c drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend() 2022-07-14 16:42:00 -04:00
nouveau_display.h
nouveau_dma.c
nouveau_dma.h
nouveau_dmem.c nouveau: fix migrate_to_ram() for faulting page 2022-10-20 21:27:24 -07:00
nouveau_dmem.h
nouveau_dp.c drm/nouveau/disp: add conn method to query HPD pin status 2022-07-27 09:05:48 +10:00
nouveau_drm.c drm: POC drm on dyndbg - use in core, 2 helpers, 3 drivers. 2022-09-24 15:02:01 +02:00
nouveau_drv.h drm/nouveau/nvkm: rip out event uapi 2022-07-13 13:55:33 +10:00
nouveau_encoder.h drm/nouveau/disp: add output class 2022-07-27 09:05:49 +10:00
nouveau_fbcon.c drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend() 2022-07-14 16:42:00 -04:00
nouveau_fbcon.h
nouveau_fence.c drm/nouveau: remove trace_dma_fence_emit 2022-05-04 15:15:56 -04:00
nouveau_fence.h
nouveau_gem.c dma-buf: add enum dma_resv_usage v4 2022-04-07 12:53:53 +02:00
nouveau_gem.h
nouveau_hwmon.c drm/nouveau/hwmon: use simplified HWMON_CHANNEL_INFO macro 2022-08-22 22:50:57 -04:00
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c drm/nouveau: Implement intersect/compatible functions 2022-08-22 15:36:11 +02:00
nouveau_mem.h drm/nouveau: Implement intersect/compatible functions 2022-08-22 15:36:11 +02:00
nouveau_nvif.c drm/nouveau/nvkm: rip out event uapi 2022-07-13 13:55:33 +10:00
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() 2022-07-07 15:53:28 -04:00
nouveau_reg.h
nouveau_sgdma.c
nouveau_svm.c drm for 5.18-rc1 2022-03-24 16:19:43 -07:00
nouveau_svm.h
nouveau_ttm.c drm/nouveau: Implement intersect/compatible functions 2022-08-22 15:36:11 +02:00
nouveau_ttm.h
nouveau_usif.c drm/nouveau/nvkm: rip out event uapi 2022-07-13 13:55:33 +10:00
nouveau_usif.h
nouveau_vga.c
nouveau_vga.h
nouveau_vmm.c
nouveau_vmm.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c
nvc0_fence.c