diff options
Diffstat (limited to 'drivers/gpu/drm/sti/sti_mixer.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_mixer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_mixer.h b/drivers/gpu/drm/sti/sti_mixer.h index 874372102e52..b97282182908 100644 --- a/drivers/gpu/drm/sti/sti_mixer.h +++ b/drivers/gpu/drm/sti/sti_mixer.h | |||
@@ -23,6 +23,7 @@ | |||
23 | * @id: id of the mixer | 23 | * @id: id of the mixer |
24 | * @drm_crtc: crtc object link to the mixer | 24 | * @drm_crtc: crtc object link to the mixer |
25 | * @pending_event: set if a flip event is pending on crtc | 25 | * @pending_event: set if a flip event is pending on crtc |
26 | * @enabled: to know if the mixer is active or not | ||
26 | */ | 27 | */ |
27 | struct sti_mixer { | 28 | struct sti_mixer { |
28 | struct device *dev; | 29 | struct device *dev; |
@@ -30,6 +31,7 @@ struct sti_mixer { | |||
30 | int id; | 31 | int id; |
31 | struct drm_crtc drm_crtc; | 32 | struct drm_crtc drm_crtc; |
32 | struct drm_pending_vblank_event *pending_event; | 33 | struct drm_pending_vblank_event *pending_event; |
34 | bool enabled; | ||
33 | }; | 35 | }; |
34 | 36 | ||
35 | const char *sti_mixer_to_str(struct sti_mixer *mixer); | 37 | const char *sti_mixer_to_str(struct sti_mixer *mixer); |
@@ -39,6 +41,7 @@ struct sti_mixer *sti_mixer_create(struct device *dev, int id, | |||
39 | 41 | ||
40 | int sti_mixer_set_layer_status(struct sti_mixer *mixer, | 42 | int sti_mixer_set_layer_status(struct sti_mixer *mixer, |
41 | struct sti_layer *layer, bool status); | 43 | struct sti_layer *layer, bool status); |
44 | void sti_mixer_clear_all_layers(struct sti_mixer *mixer); | ||
42 | int sti_mixer_set_layer_depth(struct sti_mixer *mixer, struct sti_layer *layer); | 45 | int sti_mixer_set_layer_depth(struct sti_mixer *mixer, struct sti_layer *layer); |
43 | int sti_mixer_active_video_area(struct sti_mixer *mixer, | 46 | int sti_mixer_active_video_area(struct sti_mixer *mixer, |
44 | struct drm_display_mode *mode); | 47 | struct drm_display_mode *mode); |