diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-12-11 13:34:42 +0100 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-12-11 14:00:09 +0100 |
commit | 96006a770df80d69cbde4802e1e7cdfd70c510b3 (patch) | |
tree | 8f99791fa1a346effdff490dc880dd341cebca9a /drivers/gpu/drm/sti/sti_cursor.h | |
parent | 5e03abc52cd16c852552f9eaae497c9d6e55e5d0 (diff) | |
download | linux-96006a770df80d69cbde4802e1e7cdfd70c510b3.tar.gz linux-96006a770df80d69cbde4802e1e7cdfd70c510b3.tar.bz2 linux-96006a770df80d69cbde4802e1e7cdfd70c510b3.zip |
drm: sti: add cursor plane
stih407 SoC have a dedicated hardware cursor plane,
this patch enable it.
The hardware have a color look up table, fix it to
be able to use ARGB8888.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_cursor.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_cursor.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_cursor.h b/drivers/gpu/drm/sti/sti_cursor.h new file mode 100644 index 000000000000..3c9827404f27 --- /dev/null +++ b/drivers/gpu/drm/sti/sti_cursor.h @@ -0,0 +1,12 @@ +/* + * Copyright (C) STMicroelectronics SA 2013 + * Authors: Vincent Abriou <vincent.abriou@st.com> for STMicroelectronics. + * License terms: GNU General Public License (GPL), version 2 + */ + +#ifndef _STI_CURSOR_H_ +#define _STI_CURSOR_H_ + +struct sti_layer *sti_cursor_create(struct device *dev); + +#endif |