Home
last modified time | relevance | path

Searched refs:alpha_max (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c193 u32 alpha_max; in logicvc_plane_atomic_update() local
212 alpha_max = BIT(alpha_bits) - 1; in logicvc_plane_atomic_update()
213 alpha = new_state->alpha * alpha_max / DRM_BLEND_ALPHA_OPAQUE; in logicvc_plane_atomic_update()
216 alpha, alpha_max); in logicvc_plane_atomic_update()