2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/gpu/drm/exynos
Marek Szyprowski 1899bd5757 drm/exynos: forbid creating framebuffers from too small GEM buffers
Add a check if the framebuffer described by the provided drm_mode_fb_cmd2
structure fits into provided GEM buffers. Without this check it is
possible to create a framebuffer object from a small buffer and set it to
the hardware, what results in displaying system memory outside the
allocated GEM buffer.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2017-08-09 07:34:23 +09:00
..
exynos7_drm_decon.c drm/exynos: kill mode_set_nofb callback 2017-06-01 16:21:35 +09:00
exynos5433_drm_decon.c drm/exynos/decon5433: remove useless check 2017-06-01 16:21:38 +09:00
exynos_dp.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
exynos_drm_core.c drm/exynos: remove superfluous inclusions of fbdev header 2016-06-19 14:37:28 +09:00
exynos_drm_crtc.c drm/exynos: kill mode_set_nofb callback 2017-06-01 16:21:35 +09:00
exynos_drm_crtc.h drm/exynos: kill exynos_drm_crtc::pipe 2017-06-01 16:21:34 +09:00
exynos_drm_dpi.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
exynos_drm_drv.c exynos_drm: Clean up duplicated assignment in exynos_drm_driver 2017-07-27 09:24:01 +09:00
exynos_drm_drv.h drm/exynos: kill mode_set_nofb callback 2017-06-01 16:21:35 +09:00
exynos_drm_dsi.c drm/exynos/dsi: Remove error handling for bridge_node DT parsing 2017-07-27 09:24:02 +09:00
exynos_drm_fb.c drm/exynos: forbid creating framebuffers from too small GEM buffers 2017-08-09 07:34:23 +09:00
exynos_drm_fb.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-01-17 13:40:25 -08:00
exynos_drm_fbdev.c Merge branch 'drm/next/platform' of git://linuxtv.org/pinchartl/media into drm-misc-next 2017-03-11 11:46:03 +01:00
exynos_drm_fbdev.h drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos_drm_fimc.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_fimc.h
exynos_drm_fimd.c drm/exynos: kill mode_set_nofb callback 2017-06-01 16:21:35 +09:00
exynos_drm_g2d.c drm/exynos: g2d: change platform driver name to 'exynos-drm-g2d' 2017-02-07 13:52:49 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00
exynos_drm_gem.h mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
exynos_drm_gsc.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_gsc.h
exynos_drm_iommu.c drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h 2016-07-13 23:06:06 +09:00
exynos_drm_iommu.h iommu/dma: Avoid PCI host bridge windows 2016-09-16 09:34:22 +01:00
exynos_drm_ipp.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +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 a bridge at probe 2017-07-27 09:24:02 +09:00
exynos_drm_plane.c drm/exynos: set plane possible_crtcs in exynos_plane_init 2017-06-01 16:21:34 +09:00
exynos_drm_plane.h drm/exynos: set plane possible_crtcs in exynos_plane_init 2017-06-01 16:21:34 +09:00
exynos_drm_rotator.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_rotator.h
exynos_drm_vidi.c drm/exynos: kill pipe field from drivers contexts 2017-06-01 16:21:34 +09:00
exynos_drm_vidi.h
exynos_hdmi.c drm: exynos: mark pm functions as __maybe_unused 2017-07-27 09:24:03 +09:00
exynos_mixer.c drm: exynos: constify mixer_match_types and *_mxr_drv_data. 2017-07-27 09:24:01 +09:00
Kconfig drm/exynos: select CEC_CORE if CEC_NOTIFIER 2017-07-27 09:24:03 +09:00
Makefile drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
regs-fimc.h
regs-gsc.h drm/exynos: gsc: add device tree support and remove usage of static mappings 2015-12-13 22:22:53 +09:00
regs-hdmi.h drm/exynos/hdmi: refactor infoframe code 2016-12-05 22:08:58 +09:00
regs-mixer.h drm/exynos: mixer: document YCbCr magic numbers 2017-06-01 16:21:36 +09:00
regs-rotator.h
regs-vp.h