All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <56c5f618269c75d5bff313dce44fd4887f7e70c3.camel@mediatek.com>

diff --git a/N1/2.bin b/N1/2.bin
new file mode 100644
index 0000000..1ccd710
--- /dev/null
+++ b/N1/2.bin
@@ -0,0 +1,157 @@
+<html><body><p>
+<pre>
+On&#32;Mon,&#32;2025-02-17&#32;at&#32;06:04&#32;+0000,&#32;CK&#32;Hu&#32;(&#32993;&#20426;&#20809;)&#32;wrote:
+&gt;&#32;On&#32;Tue,&#32;2025-02-11&#32;at&#32;10:52&#32;+0800,&#32;Sunny&#32;Shen&#32;wrote:
+&gt;&#32;&gt;&#32;Add&#32;MDP-RSZ&#32;component&#32;support&#32;for&#32;MT8196.
+&gt;&#32;&gt;&#32;
+&gt;&#32;&gt;&#32;Signed-off-by:&#32;Sunny&#32;Shen&#32;&lt;sunny.shen@mediatek.com&gt;
+&gt;&#32;&gt;&#32;---
+&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_ddp_comp.c&#32;|&#32;24
+&gt;&#32;&gt;&#32;++++++++++++++++++++++++
+&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_ddp_comp.h&#32;|&#160;&#32;1&#32;+
+&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_drm_drv.c&#160;&#32;|&#160;&#32;2&#32;++
+&gt;&#32;&gt;&#32;&#160;3&#32;files&#32;changed,&#32;27&#32;insertions(+)
+&gt;&#32;&gt;&#32;
+&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
+&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
+&gt;&#32;&gt;&#32;index&#32;7f09a8977965..65878d3fe8a9&#32;100644
+&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
+&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
+&gt;&#32;&gt;&#32;@@&#32;-46,6&#32;+46,10&#32;@@
+&gt;&#32;&gt;&#32;&#160;#define&#32;DSC_BYPASSBIT(4)
+&gt;&#32;&gt;&#32;&#160;#define&#32;DSC_UFOE_SELBIT(16)
+&gt;&#32;&gt;&#32;&#160;
+&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_EN0x0000
+&gt;&#32;
+&gt;&#32;Do&#32;you&#32;config&#32;resizer&#32;in&#32;bypass&#32;mode&#32;so&#32;you&#32;need&#32;not&#32;to&#32;enable&#32;it&#63;
+
+Yes,&#32;it&#39;s&#32;bypass&#32;mode
+To&#32;use&#32;the&#32;hardware&#32;path&#32;for&#32;PQ,
+we&#32;need&#32;set&#32;this&#32;resizer&#32;to&#32;bypass&#32;mode&#32;because&#32;the&#32;path&#32;mux&#32;design&#32;of
+the&#32;MT8196
+
+&gt;&#32;
+&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_INPUT_SIZE0x0010
+&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_OUTPUT_SIZE0x0014
+&gt;&#32;&gt;&#32;+
+&gt;&#32;&gt;&#32;&#160;#define&#32;DISP_REG_OD_EN0x0000
+&gt;&#32;&gt;&#32;&#160;#define&#32;DISP_REG_OD_CFG0x0020
+&gt;&#32;&gt;&#32;&#160;#define&#32;OD_RELAYMODEBIT(0)
+&gt;&#32;&gt;&#32;@@&#32;-235,6&#32;+239,18&#32;@@&#32;static&#32;void&#32;mtk_od_start(struct&#32;device&#32;*dev)
+&gt;&#32;&gt;&#32;&#160;writel(1,&#32;priv-&gt;regs&#32;+&#32;DISP_REG_OD_EN);
+&gt;&#32;&gt;&#32;&#160;}
+&gt;&#32;&gt;&#32;&#160;
+&gt;&#32;&gt;&#32;+static&#32;void&#32;mtk_mdp_rsz_config(struct&#32;device&#32;*dev,&#32;unsigned&#32;int&#32;w,
+&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#160;&#32;unsigned&#32;int&#32;h,&#32;unsigned&#32;int
+&gt;&#32;&gt;&#32;vrefresh,
+&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#160;&#32;unsigned&#32;int&#32;bpc,&#32;struct&#32;cmdq_pkt
+&gt;&#32;&gt;&#32;*cmdq_pkt)
+&gt;&#32;&gt;&#32;+{
+&gt;&#32;&gt;&#32;+struct&#32;mtk_ddp_comp_dev&#32;*priv&#32;=&#32;dev_get_drvdata(dev);
+&gt;&#32;&gt;&#32;+
+&gt;&#32;&gt;&#32;+mtk_ddp_write(cmdq_pkt,&#32;0,&#32;&amp;priv-&gt;cmdq_reg,&#32;priv-&gt;regs,
+&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#32;DISP_REG_MDP_RSZ_INPUT_SIZE);
+&gt;&#32;&gt;&#32;+mtk_ddp_write(cmdq_pkt,&#32;0,&#32;&amp;priv-&gt;cmdq_reg,&#32;priv-&gt;regs,
+&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#32;DISP_REG_MDP_RSZ_OUTPUT_SIZE);
+&gt;&#32;
+&gt;&#32;Do&#32;you&#32;config&#32;resizer&#32;in&#32;bypass&#32;mode&#32;so&#32;width&#32;and&#32;height&#32;is&#32;set&#32;to
+&gt;&#32;zero&#63;
+
+Yes,&#32;we&#32;set&#32;resizer&#39;s&#32;width&#32;and&#32;height&#32;to&#32;0&#32;and&#32;use&#32;the&#32;bypass&#32;mode
+
+&gt;&#32;
+&gt;&#32;Regards,
+&gt;&#32;CK
+&gt;&#32;
+&gt;&#32;&gt;&#32;+}
+&gt;&#32;&gt;&#32;+
+&gt;&#32;&gt;&#32;&#160;static&#32;void&#32;mtk_postmask_config(struct&#32;device&#32;*dev,&#32;unsigned&#32;int
+&gt;&#32;&gt;&#32;w,
+&gt;&#32;&gt;&#32;&#160;unsigned&#32;int&#32;h,&#32;unsigned&#32;int
+&gt;&#32;&gt;&#32;vrefresh,
+&gt;&#32;&gt;&#32;&#160;unsigned&#32;int&#32;bpc,&#32;struct&#32;cmdq_pkt
+&gt;&#32;&gt;&#32;*cmdq_pkt)
+&gt;&#32;&gt;&#32;@@&#32;-391,6&#32;+407,12&#32;@@&#32;static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs
+&gt;&#32;&gt;&#32;ddp_ovlsys_adaptor&#32;=&#32;{
+&gt;&#32;&gt;&#32;&#160;.get_num_formats&#32;=&#32;mtk_ovlsys_adaptor_get_num_formats,
+&gt;&#32;&gt;&#32;&#160;};
+&gt;&#32;&gt;&#32;&#160;
+&gt;&#32;&gt;&#32;+static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs&#32;ddp_mdp_rsz&#32;=&#32;{
+&gt;&#32;&gt;&#32;+.clk_enable&#32;=&#32;mtk_ddp_clk_enable,
+&gt;&#32;&gt;&#32;+.clk_disable&#32;=&#32;mtk_ddp_clk_disable,
+&gt;&#32;&gt;&#32;+.config&#32;=&#32;mtk_mdp_rsz_config,
+&gt;&#32;&gt;&#32;+};
+&gt;&#32;&gt;&#32;+
+&gt;&#32;&gt;&#32;&#160;static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs&#32;ddp_postmask&#32;=&#32;{
+&gt;&#32;&gt;&#32;&#160;.clk_enable&#32;=&#32;mtk_ddp_clk_enable,
+&gt;&#32;&gt;&#32;&#160;.clk_disable&#32;=&#32;mtk_ddp_clk_disable,
+&gt;&#32;&gt;&#32;@@&#32;-454,6&#32;+476,7&#32;@@&#32;static&#32;const&#32;char&#32;*&#32;const
+&gt;&#32;&gt;&#32;mtk_ddp_comp_stem[MTK_DDP_COMP_TYPE_MAX]&#32;=&#32;{
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_DITHER]&#32;=&#32;&quot;dither&quot;,
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_DSC]&#32;=&#32;&quot;dsc&quot;,
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_GAMMA]&#32;=&#32;&quot;gamma&quot;,
+&gt;&#32;&gt;&#32;+[MTK_DISP_MDP_RSZ]&#32;=&#32;&quot;mdp-rsz&quot;,
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_MERGE]&#32;=&#32;&quot;merge&quot;,
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_MUTEX]&#32;=&#32;&quot;mutex&quot;,
+&gt;&#32;&gt;&#32;&#160;[MTK_DISP_OD]&#32;=&#32;&quot;od&quot;,
+&gt;&#32;&gt;&#32;@@&#32;-515,6&#32;+538,7&#32;@@&#32;static&#32;const&#32;struct&#32;mtk_ddp_comp_match
+&gt;&#32;&gt;&#32;mtk_ddp_matches[DDP_COMPONENT_DRM_ID_MAX]
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_DSI2]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DSI,2,&#32;&amp;ddp_dsi&#32;},
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_DSI3]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DSI,3,&#32;&amp;ddp_dsi&#32;},
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_GAMMA]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DISP_GAMMA,0,&#32;&amp;ddp_gamma&#32;},
+&gt;&#32;&gt;&#32;+[DDP_COMPONENT_MDP_RSZ0]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DISP_MDP_RSZ,0,&#32;&amp;ddp_mdp_rsz},
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE0]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DISP_MERGE,0,&#32;&amp;ddp_merge&#32;},
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE1]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DISP_MERGE,1,&#32;&amp;ddp_merge&#32;},
+&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE2]=&#32;{
+&gt;&#32;&gt;&#32;MTK_DISP_MERGE,2,&#32;&amp;ddp_merge&#32;},
+&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
+&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
+&gt;&#32;&gt;&#32;index&#32;badb42bd4f7c..87f573fcc903&#32;100644
+&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
+&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
+&gt;&#32;&gt;&#32;@@&#32;-36,6&#32;+36,7&#32;@@&#32;enum&#32;mtk_ddp_comp_type&#32;{
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVLSYS_ADAPTOR,
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVL_2L,
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVL_ADAPTOR,
+&gt;&#32;&gt;&#32;+MTK_DISP_MDP_RSZ,
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_POSTMASK,
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_PWM,
+&gt;&#32;&gt;&#32;&#160;MTK_DISP_RDMA,
+&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+&gt;&#32;&gt;&#32;index&#32;50f5f81a7da1..b810a197f58b&#32;100644
+&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+&gt;&#32;&gt;&#32;@@&#32;-885,6&#32;+885,8&#32;@@&#32;static&#32;const&#32;struct&#32;of_device_id
+&gt;&#32;&gt;&#32;mtk_ddp_comp_dt_ids[]&#32;=&#32;{
+&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_GAMMA,&#32;},
+&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8195-disp-gamma&quot;,
+&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_GAMMA,&#32;},
+&gt;&#32;&gt;&#32;+{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8196-disp-mdp-rsz&quot;,
+&gt;&#32;&gt;&#32;+&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_MDP_RSZ&#32;},
+&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8195-disp-merge&quot;,
+&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_MERGE&#32;},
+&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt2701-disp-mutex&quot;,
+&gt;&#32;
+
+
+</pre>
+</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************
+The information contained in this e-mail message (including any 
+attachments) may be confidential, proprietary, privileged, or otherwise
+exempt from disclosure under applicable laws. It is intended to be 
+conveyed only to the designated recipient(s). Any use, dissemination, 
+distribution, printing, retaining or copying of this e-mail (including its 
+attachments) by unintended recipient(s) is strictly prohibited and may 
+be unlawful. If you are not an intended recipient of this e-mail, or believe 
+that you have received this e-mail in error, please notify the sender 
+immediately (by replying to this e-mail), delete any and all copies of 
+this e-mail (including any attachments) from your system, and do not
+disclose the content of this e-mail to any other person. Thank you!
+</pre><!--}-->
diff --git a/N1/2.hdr b/N1/2.hdr
new file mode 100644
index 0000000..da1f671
--- /dev/null
+++ b/N1/2.hdr
@@ -0,0 +1,3 @@
+Content-Type: text/html;
+	charset="utf-8"
+Content-Transfer-Encoding: base64
diff --git a/a/content_digest b/N1/content_digest
index 60eb249..8d02c04 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -22,7 +22,7 @@
   linux-mediatek@lists.infradead.org <linux-mediatek@lists.infradead.org>
   matthias.bgg@gmail.com <matthias.bgg@gmail.com>
  " p.zabel@pengutronix.de <p.zabel@pengutronix.de>\0"
- "\00:1\0"
+ "\01:1\0"
  "b\0"
  "On Mon, 2025-02-17 at 06:04 +0000, CK Hu (\350\203\241\344\277\212\345\205\211) wrote:\n"
  "> On Tue, 2025-02-11 at 10:52 +0800, Sunny Shen wrote:\n"
@@ -163,5 +163,164 @@
  "> > \302\240\t\302\240 .data = (void *)MTK_DISP_MERGE },\n"
  "> > \302\240\t{ .compatible = \"mediatek,mt2701-disp-mutex\",\n"
  >
+ "\01:2\0"
+ "b\0"
+ "<html><body><p>\r\n"
+ "<pre>\r\n"
+ "On&#32;Mon,&#32;2025-02-17&#32;at&#32;06:04&#32;+0000,&#32;CK&#32;Hu&#32;(&#32993;&#20426;&#20809;)&#32;wrote:\r\n"
+ "&gt;&#32;On&#32;Tue,&#32;2025-02-11&#32;at&#32;10:52&#32;+0800,&#32;Sunny&#32;Shen&#32;wrote:\r\n"
+ "&gt;&#32;&gt;&#32;Add&#32;MDP-RSZ&#32;component&#32;support&#32;for&#32;MT8196.\r\n"
+ "&gt;&#32;&gt;&#32;\r\n"
+ "&gt;&#32;&gt;&#32;Signed-off-by:&#32;Sunny&#32;Shen&#32;&lt;sunny.shen@mediatek.com&gt;\r\n"
+ "&gt;&#32;&gt;&#32;---\r\n"
+ "&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_ddp_comp.c&#32;|&#32;24\r\n"
+ "&gt;&#32;&gt;&#32;++++++++++++++++++++++++\r\n"
+ "&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_ddp_comp.h&#32;|&#160;&#32;1&#32;+\r\n"
+ "&gt;&#32;&gt;&#32;&#160;drivers/gpu/drm/mediatek/mtk_drm_drv.c&#160;&#32;|&#160;&#32;2&#32;++\r\n"
+ "&gt;&#32;&gt;&#32;&#160;3&#32;files&#32;changed,&#32;27&#32;insertions(+)\r\n"
+ "&gt;&#32;&gt;&#32;\r\n"
+ "&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c\r\n"
+ "&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c\r\n"
+ "&gt;&#32;&gt;&#32;index&#32;7f09a8977965..65878d3fe8a9&#32;100644\r\n"
+ "&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c\r\n"
+ "&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-46,6&#32;+46,10&#32;@@\r\n"
+ "&gt;&#32;&gt;&#32;&#160;#define&#32;DSC_BYPASSBIT(4)\r\n"
+ "&gt;&#32;&gt;&#32;&#160;#define&#32;DSC_UFOE_SELBIT(16)\r\n"
+ "&gt;&#32;&gt;&#32;&#160;\r\n"
+ "&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_EN0x0000\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Do&#32;you&#32;config&#32;resizer&#32;in&#32;bypass&#32;mode&#32;so&#32;you&#32;need&#32;not&#32;to&#32;enable&#32;it&#63;\r\n"
+ "\r\n"
+ "Yes,&#32;it&#39;s&#32;bypass&#32;mode\r\n"
+ "To&#32;use&#32;the&#32;hardware&#32;path&#32;for&#32;PQ,\r\n"
+ "we&#32;need&#32;set&#32;this&#32;resizer&#32;to&#32;bypass&#32;mode&#32;because&#32;the&#32;path&#32;mux&#32;design&#32;of\r\n"
+ "the&#32;MT8196\r\n"
+ "\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_INPUT_SIZE0x0010\r\n"
+ "&gt;&#32;&gt;&#32;+#define&#32;DISP_REG_MDP_RSZ_OUTPUT_SIZE0x0014\r\n"
+ "&gt;&#32;&gt;&#32;+\r\n"
+ "&gt;&#32;&gt;&#32;&#160;#define&#32;DISP_REG_OD_EN0x0000\r\n"
+ "&gt;&#32;&gt;&#32;&#160;#define&#32;DISP_REG_OD_CFG0x0020\r\n"
+ "&gt;&#32;&gt;&#32;&#160;#define&#32;OD_RELAYMODEBIT(0)\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-235,6&#32;+239,18&#32;@@&#32;static&#32;void&#32;mtk_od_start(struct&#32;device&#32;*dev)\r\n"
+ "&gt;&#32;&gt;&#32;&#160;writel(1,&#32;priv-&gt;regs&#32;+&#32;DISP_REG_OD_EN);\r\n"
+ "&gt;&#32;&gt;&#32;&#160;}\r\n"
+ "&gt;&#32;&gt;&#32;&#160;\r\n"
+ "&gt;&#32;&gt;&#32;+static&#32;void&#32;mtk_mdp_rsz_config(struct&#32;device&#32;*dev,&#32;unsigned&#32;int&#32;w,\r\n"
+ "&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#160;&#32;unsigned&#32;int&#32;h,&#32;unsigned&#32;int\r\n"
+ "&gt;&#32;&gt;&#32;vrefresh,\r\n"
+ "&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#160;&#32;unsigned&#32;int&#32;bpc,&#32;struct&#32;cmdq_pkt\r\n"
+ "&gt;&#32;&gt;&#32;*cmdq_pkt)\r\n"
+ "&gt;&#32;&gt;&#32;+{\r\n"
+ "&gt;&#32;&gt;&#32;+struct&#32;mtk_ddp_comp_dev&#32;*priv&#32;=&#32;dev_get_drvdata(dev);\r\n"
+ "&gt;&#32;&gt;&#32;+\r\n"
+ "&gt;&#32;&gt;&#32;+mtk_ddp_write(cmdq_pkt,&#32;0,&#32;&amp;priv-&gt;cmdq_reg,&#32;priv-&gt;regs,\r\n"
+ "&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#32;DISP_REG_MDP_RSZ_INPUT_SIZE);\r\n"
+ "&gt;&#32;&gt;&#32;+mtk_ddp_write(cmdq_pkt,&#32;0,&#32;&amp;priv-&gt;cmdq_reg,&#32;priv-&gt;regs,\r\n"
+ "&gt;&#32;&gt;&#32;+&#160;&#160;&#160;&#160;&#160;&#32;DISP_REG_MDP_RSZ_OUTPUT_SIZE);\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Do&#32;you&#32;config&#32;resizer&#32;in&#32;bypass&#32;mode&#32;so&#32;width&#32;and&#32;height&#32;is&#32;set&#32;to\r\n"
+ "&gt;&#32;zero&#63;\r\n"
+ "\r\n"
+ "Yes,&#32;we&#32;set&#32;resizer&#39;s&#32;width&#32;and&#32;height&#32;to&#32;0&#32;and&#32;use&#32;the&#32;bypass&#32;mode\r\n"
+ "\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;Regards,\r\n"
+ "&gt;&#32;CK\r\n"
+ "&gt;&#32;\r\n"
+ "&gt;&#32;&gt;&#32;+}\r\n"
+ "&gt;&#32;&gt;&#32;+\r\n"
+ "&gt;&#32;&gt;&#32;&#160;static&#32;void&#32;mtk_postmask_config(struct&#32;device&#32;*dev,&#32;unsigned&#32;int\r\n"
+ "&gt;&#32;&gt;&#32;w,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;unsigned&#32;int&#32;h,&#32;unsigned&#32;int\r\n"
+ "&gt;&#32;&gt;&#32;vrefresh,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;unsigned&#32;int&#32;bpc,&#32;struct&#32;cmdq_pkt\r\n"
+ "&gt;&#32;&gt;&#32;*cmdq_pkt)\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-391,6&#32;+407,12&#32;@@&#32;static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs\r\n"
+ "&gt;&#32;&gt;&#32;ddp_ovlsys_adaptor&#32;=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;&#160;.get_num_formats&#32;=&#32;mtk_ovlsys_adaptor_get_num_formats,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;};\r\n"
+ "&gt;&#32;&gt;&#32;&#160;\r\n"
+ "&gt;&#32;&gt;&#32;+static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs&#32;ddp_mdp_rsz&#32;=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;+.clk_enable&#32;=&#32;mtk_ddp_clk_enable,\r\n"
+ "&gt;&#32;&gt;&#32;+.clk_disable&#32;=&#32;mtk_ddp_clk_disable,\r\n"
+ "&gt;&#32;&gt;&#32;+.config&#32;=&#32;mtk_mdp_rsz_config,\r\n"
+ "&gt;&#32;&gt;&#32;+};\r\n"
+ "&gt;&#32;&gt;&#32;+\r\n"
+ "&gt;&#32;&gt;&#32;&#160;static&#32;const&#32;struct&#32;mtk_ddp_comp_funcs&#32;ddp_postmask&#32;=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;&#160;.clk_enable&#32;=&#32;mtk_ddp_clk_enable,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;.clk_disable&#32;=&#32;mtk_ddp_clk_disable,\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-454,6&#32;+476,7&#32;@@&#32;static&#32;const&#32;char&#32;*&#32;const\r\n"
+ "&gt;&#32;&gt;&#32;mtk_ddp_comp_stem[MTK_DDP_COMP_TYPE_MAX]&#32;=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_DITHER]&#32;=&#32;&quot;dither&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_DSC]&#32;=&#32;&quot;dsc&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_GAMMA]&#32;=&#32;&quot;gamma&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;+[MTK_DISP_MDP_RSZ]&#32;=&#32;&quot;mdp-rsz&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_MERGE]&#32;=&#32;&quot;merge&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_MUTEX]&#32;=&#32;&quot;mutex&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[MTK_DISP_OD]&#32;=&#32;&quot;od&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-515,6&#32;+538,7&#32;@@&#32;static&#32;const&#32;struct&#32;mtk_ddp_comp_match\r\n"
+ "&gt;&#32;&gt;&#32;mtk_ddp_matches[DDP_COMPONENT_DRM_ID_MAX]\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_DSI2]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DSI,2,&#32;&amp;ddp_dsi&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_DSI3]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DSI,3,&#32;&amp;ddp_dsi&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_GAMMA]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DISP_GAMMA,0,&#32;&amp;ddp_gamma&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;+[DDP_COMPONENT_MDP_RSZ0]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DISP_MDP_RSZ,0,&#32;&amp;ddp_mdp_rsz},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE0]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DISP_MERGE,0,&#32;&amp;ddp_merge&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE1]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DISP_MERGE,1,&#32;&amp;ddp_merge&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;[DDP_COMPONENT_MERGE2]=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;MTK_DISP_MERGE,2,&#32;&amp;ddp_merge&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h\r\n"
+ "&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h\r\n"
+ "&gt;&#32;&gt;&#32;index&#32;badb42bd4f7c..87f573fcc903&#32;100644\r\n"
+ "&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h\r\n"
+ "&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-36,6&#32;+36,7&#32;@@&#32;enum&#32;mtk_ddp_comp_type&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVLSYS_ADAPTOR,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVL_2L,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_OVL_ADAPTOR,\r\n"
+ "&gt;&#32;&gt;&#32;+MTK_DISP_MDP_RSZ,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_POSTMASK,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_PWM,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;MTK_DISP_RDMA,\r\n"
+ "&gt;&#32;&gt;&#32;diff&#32;--git&#32;a/drivers/gpu/drm/mediatek/mtk_drm_drv.c\r\n"
+ "&gt;&#32;&gt;&#32;b/drivers/gpu/drm/mediatek/mtk_drm_drv.c\r\n"
+ "&gt;&#32;&gt;&#32;index&#32;50f5f81a7da1..b810a197f58b&#32;100644\r\n"
+ "&gt;&#32;&gt;&#32;---&#32;a/drivers/gpu/drm/mediatek/mtk_drm_drv.c\r\n"
+ "&gt;&#32;&gt;&#32;+++&#32;b/drivers/gpu/drm/mediatek/mtk_drm_drv.c\r\n"
+ "&gt;&#32;&gt;&#32;@@&#32;-885,6&#32;+885,8&#32;@@&#32;static&#32;const&#32;struct&#32;of_device_id\r\n"
+ "&gt;&#32;&gt;&#32;mtk_ddp_comp_dt_ids[]&#32;=&#32;{\r\n"
+ "&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_GAMMA,&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8195-disp-gamma&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_GAMMA,&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;+{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8196-disp-mdp-rsz&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;+&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_MDP_RSZ&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt8195-disp-merge&quot;,\r\n"
+ "&gt;&#32;&gt;&#32;&#160;&#160;&#32;.data&#32;=&#32;(void&#32;*)MTK_DISP_MERGE&#32;},\r\n"
+ "&gt;&#32;&gt;&#32;&#160;{&#32;.compatible&#32;=&#32;&quot;mediatek,mt2701-disp-mutex&quot;,\r\n"
+ "&gt;&#32;\r\n"
+ "\r\n"
+ "\r\n"
+ "</pre>\r\n"
+ "</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************\r\n"
+ "The information contained in this e-mail message (including any \r\n"
+ "attachments) may be confidential, proprietary, privileged, or otherwise\r\n"
+ "exempt from disclosure under applicable laws. It is intended to be \r\n"
+ "conveyed only to the designated recipient(s). Any use, dissemination, \r\n"
+ "distribution, printing, retaining or copying of this e-mail (including its \r\n"
+ "attachments) by unintended recipient(s) is strictly prohibited and may \r\n"
+ "be unlawful. If you are not an intended recipient of this e-mail, or believe \r\n"
+ "that you have received this e-mail in error, please notify the sender \r\n"
+ "immediately (by replying to this e-mail), delete any and all copies of \r\n"
+ "this e-mail (including any attachments) from your system, and do not\r\n"
+ "disclose the content of this e-mail to any other person. Thank you!\r\n"
+ </pre><!--}-->
 
-da010e23f70081ee8bce53880c1cd10a1307b9e7f1c69608fef33f8dd9a6b4ab
+c965187a387913fdcc82d724c37bda17eef7fe6b9eefceec2d751be7d7795e4e

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.