diff options
author | Tobias Jakobi <[email protected]> | 2015-04-27 23:11:59 +0200 |
---|---|---|
committer | Inki Dae <[email protected]> | 2015-05-19 22:50:52 +0900 |
commit | 7a57ca7c89ad7e61f8ca45fa1fa892f0d5102808 (patch) | |
tree | 35b82d5b5ff6dab02eb59fc63befb9a98c986ead /scripts/gdb/linux/tasks.py | |
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 <[email protected]>.
v2: Use the shorter MXR_FORMAT as prefix.
v3: Re-add ARGB8888 because of compatibility reasons
(suggested by Joonyoung Shim).
Reviewed-by: Gustavo Padovan <[email protected]>
Signed-off-by: Tobias Jakobi <[email protected]>
Acked-by: Joonyoung Shim <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions