Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#4478 closed task (fixed)

linux-5.1.9

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 9.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (5)

comment:1 by Bruce Dubbs, 2 years ago

Summary: linux-5.1.7linux-5.1.8

Now version 5.1.8.

comment:2 by Bruce Dubbs, 2 years ago

Summary: linux-5.1.8linux-5.1.9

Now version 5.1.9.

comment:3 by thomas, 2 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).

comment:4 by Bruce Dubbs, 2 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11619.

comment:5 by Bruce Dubbs, 2 years ago

Milestone: 8.59.0

Milestone renamed

Note: See TracTickets for help on using tickets.