linux/drivers/gpu/drm/exynos
Tobias Jakobi 7a57ca7c89 drm/exynos: mixer: cleanup pixelformat handling
Move the defines for the pixelformats that the mixer supports out
of mixer_graph_buffer() to the top of the source.
Then select the mixer pixelformat (pf) in mixer_graph_buffer() based on
the plane's pf (and not bpp).
Also add handling of RGB565 and XRGB1555 to the switch statement and
exit early if the plane has an unsupported pf.

Partially based on 'drm/exynos: enable/disable blend based on pixel
format' by Gustavo Padovan <gustavo.padovan@collabora.co.uk>.

v2: Use the shorter MXR_FORMAT as prefix.
v3: Re-add ARGB8888 because of compatibility reasons
    (suggested by Joonyoung Shim).

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-05-19 22:50:52 +09:00
..
exynos7_drm_decon.c drm/exynos: use src_x and src_y instead of fb_x and fb_y 2015-04-13 11:39:41 +09:00
exynos_dp_core.c drm/exynos: Enable DP clock to fix display on Exynos5250 and other 2015-04-13 11:39:42 +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 dma-buf: cleanup dma_buf_export() to make it easily extensible 2015-04-21 14:47:16 +05:30
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: add ratio calculation 2015-04-13 11:39:41 +09:00
exynos_drm_dsi.c drm/exynos: dsi: remove the empty mode_valid callback 2015-04-13 11:39:41 +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: fb: use drm_format_num_planes to get buffer count 2015-05-19 22:50:51 +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: Fix FIMD buffer size calculation 2015-04-13 11:48:20 +09:00
exynos_drm_fimd.h drm/exynos: Enable DP clock to fix display on Exynos5250 and other 2015-04-13 11:39:42 +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: plane: honor buffer offset for dma_addr 2015-05-19 22:50:52 +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 Merge tag 'topic/drm-misc-2015-04-15' of git://anongit.freedesktop.org/drm-intel into drm-next 2015-04-16 08:34:24 +10:00
exynos_mixer.c drm/exynos: mixer: cleanup pixelformat handling 2015-05-19 22:50:52 +09:00
exynos_mixer.h drm/exynos: Remove exynos_drm_hdmi shim 2014-03-24 00:36:32 +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
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