Home
last modified time | relevance | path

Searched +full:mt8188 +full:- +full:disp +full:- +full:padding (Results 1 – 2 of 2) sorted by relevance

/linux-6.8/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,padding.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,padding.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek Display Padding
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Philipp Zabel <p.zabel@pengutronix.de>
14 Padding provides ability to add pixels to width and height of a layer with
16 width of a layer to be 2-pixel-align, or 4-pixel-align when ETHDR is enabled,
17 we need Padding to deal with odd width.
[all …]
/linux-6.8/drivers/gpu/drm/mediatek/
Dmtk_padding.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/soc/mediatek/mtk-cmdq.h>
27 * struct mtk_padding - Basic information of the Padding
29 * @reg: Virtual address of the Padding for CPU to access
30 * @cmdq_reg: CMDQ setting of the Padding
32 * Every Padding should have different clock source, register base, and
43 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_clk_enable() local
45 return clk_prepare_enable(padding->clk); in mtk_padding_clk_enable()
50 struct mtk_padding *padding = dev_get_drvdata(dev); in mtk_padding_clk_disable() local
52 clk_disable_unprepare(padding->clk); in mtk_padding_clk_disable()
[all …]