diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-12-04 13:17:32 +0300 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-12-11 15:58:19 +0300 |
commit | 2f7d0e82ce9fdbb450613abe28c3bbe1bda069a6 (patch) | |
tree | 6a7bc50d4eda4dae8ce503f49222de63b471f5ff /drivers/gpu/drm/sti/sti_mixer.h | |
parent | 765692078f08d0229e545d3c1a50bddbc16c800c (diff) | |
download | linux-2f7d0e82ce9fdbb450613abe28c3bbe1bda069a6.tar.xz |
drm: sti: clear all mixer control
Make sure that mixer control register is correctly reset
before use it.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_mixer.h b/drivers/gpu/drm/sti/sti_mixer.h index 874372102e52..750e1fd5a8ce 100644 --- a/drivers/gpu/drm/sti/sti_mixer.h +++ b/drivers/gpu/drm/sti/sti_mixer.h @@ -39,6 +39,7 @@ struct sti_mixer *sti_mixer_create(struct device *dev, int id, int sti_mixer_set_layer_status(struct sti_mixer *mixer, struct sti_layer *layer, bool status); +void sti_mixer_clear_all_layers(struct sti_mixer *mixer); int sti_mixer_set_layer_depth(struct sti_mixer *mixer, struct sti_layer *layer); int sti_mixer_active_video_area(struct sti_mixer *mixer, struct drm_display_mode *mode); |