Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl_adaptor.c145 unsigned int align_width; in mtk_ovl_adaptor_layer_config() local
169 align_width = ALIGN_DOWN(pending->width, 2); in mtk_ovl_adaptor_layer_config()
171 if (align_width > MTK_OVL_ADAPTOR_RDMA_MAX_WIDTH) in mtk_ovl_adaptor_layer_config()
175 l_w = (align_width / 2) + ((pending->width / 2) % 2); in mtk_ovl_adaptor_layer_config()
176 r_w = align_width - l_w; in mtk_ovl_adaptor_layer_config()
178 l_w = align_width; in mtk_ovl_adaptor_layer_config()
181 mtk_mmsys_merge_async_config(ovl_adaptor->mmsys_dev, idx, align_width / 2, in mtk_ovl_adaptor_layer_config()
Dmtk_ethdr.c163 unsigned int align_width = ALIGN_DOWN(pending->width, 2); in mtk_ethdr_layer_config() local
204 MIXER_INX_MODE_BYPASS, align_width / 2 - 1, cmdq_pkt); in mtk_ethdr_layer_config()
206 mtk_ddp_write(cmdq_pkt, pending->height << 16 | align_width, &mixer->cmdq_base, in mtk_ethdr_layer_config()