OpenCloudOS-Kernel/drivers/gpu/drm/exynos
Tobias Jakobi 2611015c75 drm/exynos: mixer: add 2x scaling to mixer_graph_buffer
While the VP (video processor) supports arbitrary scaling
of its input, the mixer just supports a simple 2x (line
doubling) scaling. Expose this functionality and exit
early when an unsupported scaling configuration is
encountered.

This was tested with modetest's DRM plane test (from
the libdrm test suite) on an Odroid-X2 (Exynos4412).

v2: Put if- and return-statement on different lines.

Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2015-04-13 11:39:41 +09:00
..
Kconfig drm/exynos: fix typo config name correctly. 2015-03-18 20:41:19 +09:00
Makefile drm/exynos: Add DECON driver 2015-02-11 20:27:08 +09:00
exynos7_drm_decon.c drm/exynos: preset zpos value for overlay planes 2015-04-13 11:39:39 +09:00
exynos_dp_core.c drm/exynos: use driver internal struct 2015-02-07 16:38:41 +09:00
exynos_dp_core.h drm/exynos: dp: support drm_bridge 2015-01-28 08:47:29 +01: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_buf.c drm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage 2015-02-07 16:38:41 +09:00
exynos_drm_buf.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_core.c drm/exynos: add component framework support 2014-06-02 02:07:04 +09:00
exynos_drm_crtc.c drm/exynos: track vblank events on a per crtc basis 2015-04-13 11:39:40 +09:00
exynos_drm_crtc.h drm/exynos: remove leftover functions declarations 2015-04-13 11:39:40 +09:00
exynos_drm_dmabuf.c drm/exynos: remove to use unnecessary MODULE_xxx macro 2015-02-07 16:38:40 +09:00
exynos_drm_dmabuf.h drm/exynos: remove DRM_EXYNOS_DMABUF config 2015-02-07 16:38:40 +09:00
exynos_drm_dpi.c drm/exynos/dpi: stop using display->ctx pointer 2014-11-24 18:02:56 +09:00
exynos_drm_drv.c drm/exynos: track vblank events on a per crtc basis 2015-04-13 11:39:40 +09:00
exynos_drm_drv.h drm/exynos: track vblank events on a per crtc basis 2015-04-13 11:39:40 +09:00
exynos_drm_dsi.c drm/exynos: dsi: set TE GPIO IRQ status as IRQ_NOAUTOEN 2014-11-24 18:02:54 +09:00
exynos_drm_encoder.c drm/exynos: fix NULL pointer reference 2015-02-09 23:56:36 +09:00
exynos_drm_encoder.h drm/exynos: remove extra declaration of struct exynos_drm_manager 2014-11-24 18:02:50 +09:00
exynos_drm_fb.c drm/exynos: remove superfluous error messages 2015-04-13 11:39:40 +09:00
exynos_drm_fb.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fbdev.c drm/exynos: use correct fb width/height 2015-03-11 22:08:17 +01: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: remove DRM_FORMAT_NV12MT 2015-02-04 10:10:05 +01: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: preset zpos value for overlay planes 2015-04-13 11:39:39 +09:00
exynos_drm_g2d.c drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-04 01:04:55 +01:00
exynos_drm_g2d.h drm/exynos: add G2D driver 2012-05-17 20:14:48 +09:00
exynos_drm_gem.c drm/exynos: use drm generic mmap interface 2014-09-20 01:00:13 +09:00
exynos_drm_gem.h drm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage 2015-02-07 16:38:41 +09:00
exynos_drm_gsc.c drm: remove DRM_FORMAT_NV12MT 2015-02-04 10:10:05 +01:00
exynos_drm_gsc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_iommu.c arm: dma-mapping: remove order parameter from arm_iommu_create_mapping() 2014-02-28 11:55:18 +01:00
exynos_drm_iommu.h drm/exynos: remove uneeded declaration of struct dma_iommu_mapping 2014-11-24 18:02:50 +09:00
exynos_drm_ipp.c drm/exynos/ipp: Validate buffer enqueue requests 2015-04-13 11:39:40 +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_plane.c drm/exynos: remove exynos_plane_destroy() 2015-04-13 11:39:40 +09:00
exynos_drm_plane.h drm/exynos: preset zpos value for overlay planes 2015-04-13 11:39:39 +09:00
exynos_drm_rotator.c drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-04 01:04:55 +01: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: preset zpos value for overlay planes 2015-04-13 11:39:39 +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: fix typos in hdmi and mixer 2015-04-13 11:39:40 +09:00
exynos_mixer.c drm/exynos: mixer: add 2x scaling to mixer_graph_buffer 2015-04-13 11:39:41 +09:00
exynos_mixer.h drm/exynos: Remove exynos_drm_hdmi shim 2014-03-24 00:36:32 +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: add hdmiphy power on/off sequence 2014-06-02 02:07:15 +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 drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00