Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c178 u32 val, ch_base, hw_fmt; in sun8i_ui_layer_update_formats() local
184 ret = sun8i_mixer_drm_format_to_hw(fmt->format, &hw_fmt); in sun8i_ui_layer_update_formats()
190 val = hw_fmt << SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_ui_layer_update_formats()
Dsun8i_vi_layer.c234 u32 val, ch_base, csc_mode, hw_fmt; in sun8i_vi_layer_update_formats() local
241 ret = sun8i_mixer_drm_format_to_hw(fmt->format, &hw_fmt); in sun8i_vi_layer_update_formats()
247 val = hw_fmt << SUN8I_MIXER_CHAN_VI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_vi_layer_update_formats()