From 4447176b61afe3cb9a4868671ec95c9fbfe92e34 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 11 Jul 2018 15:57:59 +0200 Subject: apalis-t30/tk1-mainline: update patchset Latest additions: - 0024-apalis_t30-enable-broken-hpi-on-emmc.patch Avoid a rare soft lockup upon installing an image from within Tezi. - 0025-tegra_defconfig-disable-sound-in-tezi-configuration.patch Avoid keyboard/mouse being unresponsive for 10-15 Seconds. - 0026-apalis_t30-fix-mmc1-cmd-pull-up.patch Avoid issues with higher speed SD cards. - 0027-apalis_t30-pull-up-sd-card-detect-pins.patch Avoid floating SD card detect pins. - 0028-Revert-mmc-tegra-Disable-UHS-I-modes-for-Tegra124.patch Allow for UHS-I modes on TK1. - 0029-mmc-tegra-fix-eMMC-DDR-mode.patch Fix eMMC DDR mode. - 0030-apalis-tk1-enable-ddr52-mode-on-emmc.patch Enable eMMC DDR mode. - 0031-apalis-tk1-force-fixed-ids-for-sdmmc-controllers.patch Avoid re-ordering of SDMMC controller instances. - 0032-apalis-tk1-fix-pcie-reset-for-reliable-gigabit-ether.patch Fix PCIe gigabit bring-up issue on Apalis TK1. Signed-off-by: Marcel Ziswiler Acked-by: Stefan Agner --- ...-gem-Make-__tegra_gem_mmap-available-more-w.patch | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'recipes-kernel/linux/linux-toradex-mainline-4.14/0010-drm-tegra-gem-Make-__tegra_gem_mmap-available-more-w.patch') diff --git a/recipes-kernel/linux/linux-toradex-mainline-4.14/0010-drm-tegra-gem-Make-__tegra_gem_mmap-available-more-w.patch b/recipes-kernel/linux/linux-toradex-mainline-4.14/0010-drm-tegra-gem-Make-__tegra_gem_mmap-available-more-w.patch index 7fb4233..b8ca0cb 100644 --- a/recipes-kernel/linux/linux-toradex-mainline-4.14/0010-drm-tegra-gem-Make-__tegra_gem_mmap-available-more-w.patch +++ b/recipes-kernel/linux/linux-toradex-mainline-4.14/0010-drm-tegra-gem-Make-__tegra_gem_mmap-available-more-w.patch @@ -1,7 +1,11 @@ -From 04c0746663bd3ae3cce5e02d5b32c8ade2a833b8 Mon Sep 17 00:00:00 2001 +From 67619709309f73e21c785901e3535048fd05b62f Mon Sep 17 00:00:00 2001 +Message-Id: <67619709309f73e21c785901e3535048fd05b62f.1531317141.git.marcel.ziswiler@toradex.com> +In-Reply-To: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com> +References: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com> From: Thierry Reding Date: Wed, 7 Feb 2018 18:45:55 +0100 -Subject: drm/tegra: gem: Make __tegra_gem_mmap() available more widely +Subject: [PATCH 10/33] drm/tegra: gem: Make __tegra_gem_mmap() available more + widely This function allows mapping a GEM object into a virtual memory address space, which makes it useful outside of the GEM code. @@ -16,10 +20,10 @@ Signed-off-by: Thierry Reding 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c -index 49b9bf2..d3b3aa1 100644 +index ab1e53d434e8..8d702dfe817e 100644 --- a/drivers/gpu/drm/tegra/gem.c +++ b/drivers/gpu/drm/tegra/gem.c -@@ -459,8 +459,7 @@ const struct vm_operations_struct tegra_bo_vm_ops = { +@@ -460,8 +460,7 @@ const struct vm_operations_struct tegra_bo_vm_ops = { .close = drm_gem_vm_close, }; @@ -29,7 +33,7 @@ index 49b9bf2..d3b3aa1 100644 { struct tegra_bo *bo = to_tegra_bo(gem); -@@ -507,7 +506,7 @@ int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma) +@@ -508,7 +507,7 @@ int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma) gem = vma->vm_private_data; @@ -38,7 +42,7 @@ index 49b9bf2..d3b3aa1 100644 } static struct sg_table * -@@ -600,7 +599,7 @@ static int tegra_gem_prime_mmap(struct dma_buf *buf, struct vm_area_struct *vma) +@@ -601,7 +600,7 @@ static int tegra_gem_prime_mmap(struct dma_buf *buf, struct vm_area_struct *vma) if (err < 0) return err; @@ -48,7 +52,7 @@ index 49b9bf2..d3b3aa1 100644 static void *tegra_gem_prime_vmap(struct dma_buf *buf) diff --git a/drivers/gpu/drm/tegra/gem.h b/drivers/gpu/drm/tegra/gem.h -index 1fcf94d..6bd7dd7 100644 +index 1fcf94dce45c..6bd7dd7e55b4 100644 --- a/drivers/gpu/drm/tegra/gem.h +++ b/drivers/gpu/drm/tegra/gem.h @@ -70,6 +70,7 @@ int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm, @@ -60,5 +64,5 @@ index 1fcf94d..6bd7dd7 100644 struct dma_buf *tegra_gem_prime_export(struct drm_device *drm, -- -cgit v1.1 +2.14.4 -- cgit v1.2.3