diff options
Diffstat (limited to 'drivers/gpu/drm/sti/sti_mixer.c')
-rw-r--r-- | drivers/gpu/drm/sti/sti_mixer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c index 79f369db9fb6..6bcdf3f86d22 100644 --- a/drivers/gpu/drm/sti/sti_mixer.c +++ b/drivers/gpu/drm/sti/sti_mixer.c | |||
@@ -215,6 +215,15 @@ int sti_mixer_set_layer_status(struct sti_mixer *mixer, | |||
215 | return 0; | 215 | return 0; |
216 | } | 216 | } |
217 | 217 | ||
218 | void sti_mixer_clear_all_layers(struct sti_mixer *mixer) | ||
219 | { | ||
220 | u32 val; | ||
221 | |||
222 | DRM_DEBUG_DRIVER("%s clear all layer\n", sti_mixer_to_str(mixer)); | ||
223 | val = sti_mixer_reg_read(mixer, GAM_MIXER_CTL) & 0xFFFF0000; | ||
224 | sti_mixer_reg_write(mixer, GAM_MIXER_CTL, val); | ||
225 | } | ||
226 | |||
218 | void sti_mixer_set_matrix(struct sti_mixer *mixer) | 227 | void sti_mixer_set_matrix(struct sti_mixer *mixer) |
219 | { | 228 | { |
220 | unsigned int i; | 229 | unsigned int i; |