linux/drivers/gpu/drm/exynos
Marek Szyprowski df547bf773 drm/exynos/gem: remove DMA-mapping hacks used for constructing page array
Exynos GEM objects contains an array of pointers to the pages, which the
allocated buffer consists of. Till now the code used some hacks (like
relying on DMA-mapping internal structures or using ARM-specific
dma_to_pfn helper) to build this array. This patch fixes this by adding
proper call to dma_get_sgtable_attrs() and using the acquired scatter-list
to construct needed array. This approach is more portable (work also for
ARM64) and finally fixes the layering violation that was present in this
code.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2015-11-03 11:46:39 +09:00
..
exynos7_drm_decon.c drm/exynos: add cursor plane support 2015-10-26 15:10:27 +09:00
exynos5433_drm_decon.c drm/exynos/decon5433: add support for DECON-TV 2015-11-03 11:46:37 +09:00
exynos_dp_core.c drm/exynos: dp: remove suspend/resume functions 2015-10-01 13:23:13 +09:00
exynos_dp_core.h drm/exynos: remove struct exynos_drm_encoder layer 2015-08-16 10:35:54 +09:00
exynos_dp_reg.c drm/exynos: Fix checkpatch warning in exynos_dp_reg.c 2014-06-02 02:07:12 +09:00
exynos_dp_reg.h drm/exynos: Move dp driver from video/ to drm/ 2014-03-24 00:36:34 +09:00
exynos_drm_core.c drm/exynos: Remove useless EXPORT_SYMBOL_GPLs 2015-09-30 16:39:41 +09:00
exynos_drm_crtc.c drm/exynos: add atomic_check callback to exynos_crtc 2015-11-03 11:46:37 +09:00
exynos_drm_crtc.h drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
exynos_drm_dpi.c drm/exynos: remove struct exynos_drm_encoder layer 2015-08-16 10:35:54 +09:00
exynos_drm_drv.c drm/exynos: separate Mixer and HDMI drivers 2015-11-03 11:46:38 +09:00
exynos_drm_drv.h drm/exynos: add atomic_check callback to exynos_crtc 2015-11-03 11:46:37 +09:00
exynos_drm_dsi.c drm/exynos: remove struct exynos_drm_encoder layer 2015-08-16 10:35:54 +09:00
exynos_drm_fb.c drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_fb.h drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_fbdev.c drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_fbdev.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimc.c drm/exynos: fix spelling errors 2015-10-26 15:10:17 +09:00
exynos_drm_fimc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimd.c drm/exynos: add cursor plane support 2015-10-26 15:10:27 +09:00
exynos_drm_g2d.c drm/exynos: Remove useless EXPORT_SYMBOL_GPLs 2015-09-30 16:39:41 +09:00
exynos_drm_g2d.h drm/exynos: add G2D driver 2012-05-17 20:14:48 +09:00
exynos_drm_gem.c drm/exynos/gem: remove DMA-mapping hacks used for constructing page array 2015-11-03 11:46:39 +09:00
exynos_drm_gem.h drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_gsc.c drm/exynos: fix spelling errors 2015-10-26 15:10:17 +09:00
exynos_drm_gsc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_iommu.c drm/exynos: fix to detach device of iommu 2015-10-26 15:10:30 +09:00
exynos_drm_iommu.h drm/exynos: remove drm_iommu_attach_device_if_possible 2015-08-16 10:23:33 +09:00
exynos_drm_ipp.c drm/exynos: remove unnecessary checking to support iommu 2015-08-16 10:23:32 +09:00
exynos_drm_ipp.h drm/exynos/ipp: remove unused field in command node 2014-09-20 00:56:10 +09:00
exynos_drm_mic.c drm/exynos: mic: add MIC driver 2015-06-22 20:04:56 +09:00
exynos_drm_plane.c drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_plane.h drm/exynos: add cursor plane support 2015-10-26 15:10:27 +09:00
exynos_drm_rotator.c drm/exynos: rotator: Clock control is unused if !PM 2015-09-30 16:44:14 +09:00
exynos_drm_rotator.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_vidi.c drm/exynos: add cursor plane support 2015-10-26 15:10:27 +09:00
exynos_drm_vidi.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_hdmi.c drm/exynos/mixer: replace direct cross-driver call with drm mode validation 2015-11-03 11:46:38 +09:00
exynos_mixer.c drm/exynos/mixer: replace direct cross-driver call with drm mode validation 2015-11-03 11:46:38 +09:00
Kconfig drm/exynos: simplify Kconfig component names 2015-11-03 11:46:38 +09:00
Makefile drm/exynos: separate Mixer and HDMI drivers 2015-11-03 11:46:38 +09:00
regs-fimc.h drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
regs-gsc.h drm/exynos: add gsc ipp driver 2012-12-15 02:40:00 +09:00
regs-hdmi.h drm/exynos/hdmi: improve HDMI/ACR related code 2015-10-26 15:10:04 +09:00
regs-mixer.h drm/exynos: fix typos in hdmi and mixer 2015-04-13 11:39:40 +09:00
regs-rotator.h drm/exynos: add rotator ipp driver 2012-12-15 02:39:41 +09:00
regs-vp.h