Change History (5)
comment:1 by , 6 years ago
| Summary: | linux-5.1.7 → linux-5.1.8 |
|---|
comment:3 by , 6 years ago
Skip 5.1.9. Compile errors may occur:
On Sat, 15 Jun 2019 11:21:55 +1000
Wayne Blaszczyk <wblaszcz@bigpond.net.au> wrote:
> ERROR: "drm_legacy_mmap" [drivers/gpu/drm/nouveau/nouveau.ko] undefined!
It seems there is a discussion and patch on the Linux Kernel Mailing List
about this: https://lkml.org/lkml/2019/6/15/61
For the record, here's the patch:
--- a/drivers/gpu/drm/nouveau/nouveau_ttm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c
@@ -169,7 +169,11 @@ nouveau_ttm_mmap(struct file *filp, struct
vm_area_struct *vma)
struct nouveau_drm *drm = nouveau_drm(file_priv->minor->dev);
if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET))
+#if defined(CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT)
return drm_legacy_mmap(filp, vma);
+#else
+ return -EINVAL;
+#endif
return ttm_bo_mmap(filp, vma, &drm->ttm.bdev);
}
(copied from lfs-support list).
Note:
See TracTickets
for help on using tickets.

Now version 5.1.8.