projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nouveau: fix migrate_to_ram() for faulting page
[platform/kernel/linux-starfive.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nouveau_dmem.c
diff --git
a/drivers/gpu/drm/nouveau/nouveau_dmem.c
b/drivers/gpu/drm/nouveau/nouveau_dmem.c
index
5fe2091
..
20fe538
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_dmem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_dmem.c
@@
-176,6
+176,7
@@
static vm_fault_t nouveau_dmem_migrate_to_ram(struct vm_fault *vmf)
.src = &src,
.dst = &dst,
.pgmap_owner = drm->dev,
+ .fault_page = vmf->page,
.flags = MIGRATE_VMA_SELECT_DEVICE_PRIVATE,
};