summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/sti_mixer.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-12-08 16:32:36 (GMT)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-12-11 13:00:04 (GMT)
commit5e03abc52cd16c852552f9eaae497c9d6e55e5d0 (patch)
tree752885efb1af30670d79b1c878e1922026bf2860 /drivers/gpu/drm/sti/sti_mixer.h
parent7f2d479c017473b655b68acdf1f7335e1fac7bc5 (diff)
downloadlinux-5e03abc52cd16c852552f9eaae497c9d6e55e5d0.tar.xz
drm: sti: enable auxiliary CRTC
For stih407 SoC enable the second mixer to get two CRTC. Allow GPD planes and encoders to be connected to this new CRTC. Cursor plane can only be set on first CRTC. GPD clocks needed change the parent clock depending on which CRTC GPD are used. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_mixer.h')
-rw-r--r--drivers/gpu/drm/sti/sti_mixer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_mixer.h b/drivers/gpu/drm/sti/sti_mixer.h
index 750e1fd..b972821 100644
--- a/drivers/gpu/drm/sti/sti_mixer.h
+++ b/drivers/gpu/drm/sti/sti_mixer.h
@@ -23,6 +23,7 @@
* @id: id of the mixer
* @drm_crtc: crtc object link to the mixer
* @pending_event: set if a flip event is pending on crtc
+ * @enabled: to know if the mixer is active or not
*/
struct sti_mixer {
struct device *dev;
@@ -30,6 +31,7 @@ struct sti_mixer {
int id;
struct drm_crtc drm_crtc;
struct drm_pending_vblank_event *pending_event;
+ bool enabled;
};
const char *sti_mixer_to_str(struct sti_mixer *mixer);