2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/gpu/drm/etnaviv
Arnd Bergmann f0c379a1cc drm: add more MMU dependencies
Many DRM drivers only work with an MMU, and after the patch to enable
core DRM support without MMU, we already had one fixup for many of them.
The etnaviv, armada and msm drivers were missed and have the same problem:

warning: (DRM_ETNAVIV) selects IOMMU_SUPPORT which has unmet direct dependencies (MMU)
warning: (DRM_I915 && DRM_MSM && DRM_ETNAVIV) selects SHMEM which has unmet direct dependencies (MMU)
drivers/gpu/drm/armada/armada_gem.o: In function `armada_gem_vm_fault':
armada_gem.c:(.text.armada_gem_vm_fault+0x14): undefined reference to `vm_insert_pfn'
arch/arm/mm/dma-mapping.c: In function '__iommu_alloc_remap':
arch/arm/mm/dma-mapping.c:1390:4: error: 'VM_ARM_DMA_CONSISTENT' undeclared (first use in this function)
arch/arm/mm/dma-mapping.c:1456:31: error: 'atomic_pool' undeclared (first use in this function); did you mean 'atomic_xor'?

Fixes: 011cda5899 ("drm: fix compilations issues introduced by "drm: allow to use mmuless SoC"")
Fixes: 62a0d98a18 ("drm: allow to use mmuless SoC")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170111133357.3664191-2-arnd@arndb.de
2017-01-11 17:24:58 +01:00
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm/etnaviv: ensure write caches are flushed at end of user cmdstream 2016-10-10 15:26:38 +02:00
etnaviv_cmd_parser.c drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
etnaviv_drv.c drm/mm: Convert to drm_printer 2016-12-30 12:08:28 +01:00
etnaviv_drv.h drm/etnaviv: implement dma-buf mmap 2016-12-02 19:30:21 +01:00
etnaviv_dump.c drm/etnaviv: don't invoke OOM killer from dump code 2016-12-02 19:30:23 +01:00
etnaviv_dump.h
etnaviv_gem_prime.c drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 2016-12-02 19:30:23 +01:00
etnaviv_gem_submit.c kernel.h: add u64_to_user_ptr() 2016-04-29 17:03:49 -07:00
etnaviv_gem.c mm: use vmf->address instead of of vmf->virtual_address 2016-12-14 16:04:09 -08:00
etnaviv_gem.h drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gpu.c Merge branch 'drm-etnaviv-next' of git://git.pengutronix.de/lst/linux into drm-next 2016-12-06 11:00:16 +10:00
etnaviv_gpu.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
etnaviv_iommu_v2.c drm/etnaviv: implement IOMMUv2 translation 2016-09-15 15:29:43 +02:00
etnaviv_iommu.c drm/etnaviv: move IOMMU domain allocation into etnaviv MMU 2016-09-15 15:29:36 +02:00
etnaviv_iommu.h drm/etnaviv: implement IOMMUv2 translation 2016-09-15 15:29:43 +02:00
etnaviv_mmu.c drm: Compute tight evictions for drm_mm_scan 2016-12-28 11:50:55 +01:00
etnaviv_mmu.h drm/etnaviv: map cmdbuf through MMU on version 2 2016-09-15 15:29:40 +02:00
Kconfig drm: add more MMU dependencies 2017-01-11 17:24:58 +01:00
Makefile
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: handle MMU exception in IRQ handler 2016-09-15 15:29:42 +02:00
state.xml.h