|
@@ -54,16 +54,6 @@ void sun8i_mixer_layer_enable(struct sun8i_mixer *mixer,
|
|
|
regmap_update_bits(mixer->engine.regs,
|
|
|
SUN8I_MIXER_CHAN_UI_LAYER_ATTR(chan, layer),
|
|
|
SUN8I_MIXER_CHAN_UI_LAYER_ATTR_EN, val);
|
|
|
-
|
|
|
- /* Set the alpha configuration */
|
|
|
- regmap_update_bits(mixer->engine.regs,
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR(chan, layer),
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MODE_MASK,
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MODE_DEF);
|
|
|
- regmap_update_bits(mixer->engine.regs,
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR(chan, layer),
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MASK,
|
|
|
- SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_DEF);
|
|
|
}
|
|
|
|
|
|
static int sun8i_mixer_drm_format_to_layer(struct drm_plane *plane,
|