diff options
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2015-04-27 23:11:59 +0200 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-05-19 22:50:52 +0900 |
commit | 7a57ca7c89ad7e61f8ca45fa1fa892f0d5102808 (patch) | |
tree | 35b82d5b5ff6dab02eb59fc63befb9a98c986ead /sound/aoa | |
parent | 8f2590f8e3a7aeeaf2ff5a875684fc6790ae58b5 (diff) |
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>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions