Home
last modified time | relevance | path

Searched hist:"7 a57ca7c89ad7e61f8ca45fa1fa892f0d5102808" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/exynos/
H A Dexynos_mixer.cdiff 7a57ca7c89ad7e61f8ca45fa1fa892f0d5102808 Mon Apr 27 23:11:59 CEST 2015 Tobias Jakobi <tjakobi@math.uni-bielefeld.de> 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>