diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-02-08 01:24:07 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-30 17:11:52 +0200 |
commit | 83d29c9dde04d0c8f2460831a6b22bce6579a72e (patch) | |
tree | 9fc9450da3e798fb2de1b63649ec1d6d04030561 /recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch | |
parent | b2a5d3a1b7d5987ec1c3f5b85f944b29149afcaa (diff) |
linux-toradex-mainline: apalis tk1 mainline, fbdev mmap fixColibri-T30_LXDE-Image_2.8b2.97-20180331Colibri-T20_LXDE-Image_2.8b2.97-20180331Apalis-TK1_LXDE-Image_2.8b2.97-20180331Apalis-TK1-Mainline_LXDE-Image_2.8b2.97-20180331Apalis-T30_LXDE-Image_2.8b2.97-20180331
Integrate Thierry's fbdev mmap fix allowing legacy applications that use
the mmap() syscall on the fbdev device to map framebuffer memory without
causing a hang. Useful e.g. for Tezi.
While at it also update to 4.14.30.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch b/recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch new file mode 100644 index 0000000..8be8142 --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-mainline-4.14/0009-drm-tegra-gem-Reshuffle-declarations.patch @@ -0,0 +1,33 @@ +From b6d7974d10b30bf3baed7e50d8e574f5184cfdd1 Mon Sep 17 00:00:00 2001 +From: Thierry Reding <treding@nvidia.com> +Date: Wed, 7 Feb 2018 18:45:54 +0100 +Subject: [PATCH] drm/tegra: gem: Reshuffle declarations + +Move declarations in the gem.h header file into the same order as the +corresponding definitions in gem.c. + +Signed-off-by: Thierry Reding <treding@nvidia.com> +--- + drivers/gpu/drm/tegra/gem.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/tegra/gem.h b/drivers/gpu/drm/tegra/gem.h +index 8eb9fd24ef0e..1fcf94dce45c 100644 +--- a/drivers/gpu/drm/tegra/gem.h ++++ b/drivers/gpu/drm/tegra/gem.h +@@ -68,10 +68,10 @@ void tegra_bo_free_object(struct drm_gem_object *gem); + int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm, + struct drm_mode_create_dumb *args); + +-int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma); +- + extern const struct vm_operations_struct tegra_bo_vm_ops; + ++int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma); ++ + struct dma_buf *tegra_gem_prime_export(struct drm_device *drm, + struct drm_gem_object *gem, + int flags); +-- +2.15.1 + |