Hi, Frank:
Frank Wunderlich 於 2021年7月12日 週一 下午4:08寫道:
>
> From: Frank Wunderlich
>
> bridge->driver_private is not set (NULL) so use bridge_to_dpi(bridge)
> like it's done in bridge_atomic_get_output_bus_fmts
Applied to mediatek-drm-fixes [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/
Hi, Hsin-yi:
Hsin-Yi Wang 於 2021年7月12日 週一 下午5:47寫道:
>
> atomic_get_output_bus_fmts() is only called when the bridge is the last
> element in the bridge chain.
>
> If mtk-dpi is not the last bridge, the format of output_bus_cfg is
> MEDIA_BUS_FMT_FIXED, and mtk_dpi_dual_edge() will fail to write c
Hi, Jason:
jason-jh.lin 於 2021年7月22日 週四 上午9:47寫道:
>
> The cursor plane should use the current plane state in atomic_async_update
> because it would not be the new plane state in the global atomic state
> since _swap_state happened when those hook are run.
>
> Fix cursor plane issue by below modif
Hi, Yongqiang:
Yongqiang Niu 於 2021年7月16日 週五 下午2:32寫道:
>
> mt8183 aal has no gamma function
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
>
> Signed-off-by: Yongqiang Niu
> -
Hi, Yongqiang:
Yongqiang Niu 於 2021年7月16日 週五 下午2:32寫道:
>
> This patch add mt8183 private data
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
>
> Signed-off-by: Yongqiang Niu
>
Hi, Nancy:
Nancy.Lin 於 2021年7月22日 週四 下午5:46寫道:
>
> Add pseudo ovl module files:
My English is not good. The word 'pseudo' seems like 'looks like but
indeed not the same'.
I think the 'real' ovl also has rdma and mixer inside it, so I prefer
to treat these two ovl as different kind of ovl, not a
Hi, Frank:
Frank Wunderlich 於 2021年7月25日 週日 上午1:06寫道:
>
> >On 12.07.21 19:16, Frank Wunderlich wrote:
> >> Hi,
> >>
> >> it turns out that problem is the read+or of the new value
> >>
> >> i reverted my patch and changed
> >>
> >> reg = readl_relaxed(mmsys->regs + routes[i].addr) | routes[i].val;
Hi, Nancy:
Nancy.Lin 於 2021年7月22日 週四 下午5:46寫道:
>
> Add ETHDR module files:
> ETHDR is designed for HDR video and graphics conversion in the external
> display path. It handles multiple HDR input types and performs tone
> mapping, color space/color format conversion, and then combines
> different
Hi, Chunfeng:
Chunfeng Yun 於 2021年7月28日 週三 下午3:59寫道:
>
> Use devm_platform_ioremap_resource to simplify code
Acked-by: Chun-Kuang Hu
>
> Signed-off-by: Chunfeng Yun
> ---
> drivers/phy/mediatek/phy-mtk-hdmi.c | 7 ++-
> 1 file changed, 2 insertions(+), 5 deletion
Hi, Chunfeng:
Chunfeng Yun 於 2021年7月28日 週三 下午3:59寫道:
>
> Return the error number directly without assignment
Acked-by: Chun-Kuang Hu
>
> Signed-off-by: Chunfeng Yun
> ---
> drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 6 ++
> 1 file changed, 2 insertions(+), 4 deletion
Hi, Chunfeng:
Chunfeng Yun 於 2021年7月28日 週三 下午3:59寫道:
>
> Use devm_platform_ioremap_resource to simplify code
Acked-by: Chun-Kuang Hu
>
> Signed-off-by: Chunfeng Yun
> ---
> drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 7 ++-
> 1 file changed, 2 insertions(+), 5 deleti
Hi, Jason:
jason-jh.lin 於 2021年7月30日 週五 上午1:07寫道:
>
> Add DSC into mtk_drm_ddp_comp to support for mt8195.
>
> DSC is designed for real-time systems with real-time compression,
> transmission, decompression and display.
> The DSC standard is a specification of the algorithms used for
> compressin
Hi, Jason:
jason-jh.lin 於 2021年7月30日 週五 上午1:07寫道:
>
> Add MERGE module file:
>
> MERGE module is used to merge two slice-per-line inputs
> into one side-by-side output.
>
> Signed-off-by: jason-jh.lin
> ---
> This patch is base on [1]
>
> [1]add mt8195 SoC DRM binding
> - https://patchwork.kerne
Hi, Jason:
jason-jh.lin 於 2021年7月30日 週五 上午1:07寫道:
>
> Add display node for vdosys0.
>
> Signed-off-by: jason-jh.lin
> ---
> This patch is based on [1][2][3][4]
>
> [1]arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile
> -
> https://patchwork.kernel.org/project/linux-media
Hi, Jason:
jason-jh.lin 於 2021年7月29日 週四 下午11:49寫道:
>
> Change mediatek,dislpay.txt to mediatek,display.yaml
>
> Signed-off-by: jason-jh.lin
> ---
> .../display/mediatek/mediatek,disp.txt| 219 -
> .../display/mediatek/mediatek,disp.yaml | 432 ++
> 2 files
Hi, Jitao:
Jitao Shi 於 2021年8月1日 週日 下午12:06寫道:
Move this patch before the patch "drm/mediatek: force hsa hbp hfp
packets multiple of lanenum to avoid screen shift",
and this patch's title should be "dt-bindings: drm/bridge: anx7625:
add force_dsi_end_without_null"
Regards,
Chun-Kuang.
>
> The
Hi, Yongqiang:
Yongqiang Niu 於 2021年7月20日 週二 下午2:30寫道:
>
> dither 6 setting is missed in a6b7c98afdca
> bit 1 is lfsr_en( "Enables LFSR-type dithering"), need enable
> bit 2 is rdither_en(Enables running order dithering), need disable
>
> Fixes: a6b7c98afdca(drm/mediatek: add mtk_dither_set_commo
Hi, Yongqiang:
Yongqiang Niu 於 2021年8月2日 週一 下午3:11寫道:
>
> In cmdq mode, packet may be flushed before it is executed, so
> the pending flag should be cleared after cmdq packet is done.
>
> Signed-off-by: Yongqiang Niu
> ---
> drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 51
> ++
ption, also is not needed on all of them, the reset is optional,
> so the change is compatible with all boards.
Acked-by: Chun-Kuang Hu
>
> Cc: Jitao Shi
> Suggested-by: Chun-Kuang Hu
> Signed-off-by: Enric Balletbo i Serra
> ---
>
> (no changes since v1)
>
> driver
Hi, Jitao:
Jitao Shi 於 2021年4月7日 週三 下午10:37寫道:
>
> The bridge chip ANX7625 require the line packets ending at the sametime
> or ANX7625 will shift the screen.
>
> Change-Id: Ia324ad28fbff54140feedb9a1d6bfb2b246d0447
> Signed-off-by: Jitao Shi
> ---
> drivers/gpu/drm/mediatek/mtk_dsi.c | 12
Hi, Neil:
Neil Armstrong 於 2021年4月9日 週五 下午4:43寫道:
>
> On MT8167, only CEA modes and anything using a clock below 148500 is
> supported for HDMI. This change adds some checks to make sure the
> video format is OK for MT8167.
I think this patch should be separated to 3 patches. check CEA mode,
che
viewed-by: Chun-Kuang Hu
>
> Reported-by: Hulk Robot
> Signed-off-by: Wang Li
> ---
> drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c
> b/drivers/gpu/drm/me
Hi, Yongqiang:
Yongqiang Niu 於 2021年4月12日 週一 下午7:19寫道:
>
> This reverts commit f83b03fc727ab56a77e68713d6e40299698f3c9f.
>
> Signed-off-by: Yongqiang Niu
> ---
> Documentation/devicetree/bindings/mailbox/mtk-gce.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Docume
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年4月20日 週二 下午5:05寫道:
>
> On Fri, Apr 9, 2021 at 12:53 PM Hsin-Yi Wang wrote:
> >
> > drm_dev_register() sets connector->registration_state to
> > DRM_CONNECTOR_REGISTERED and dev->registered to true. If
> > drm_connector_set_panel_orientation() is first called afte
Hi, Jitao:
Jitao Shi 於 2021年4月20日 週二 下午9:26寫道:
>
> Add the drm_panel_prepare_power and drm_panel_unprepare_power control.
> Turn on panel power(drm_panel_prepare_power) and control before dsi
> enable. And then dsi enable, send dcs cmd in drm_panel_prepare, last
> turn on backlight.
Please descr
Hi, Jitao:
Jitao Shi 於 2021年4月20日 週二 下午9:26寫道:
>
> Reset dsi HW to default when power on. Prevent the setting differet
> between bootloader and kernel.
>
> Signed-off-by: Jitao Shi
> ---
> drivers/gpu/drm/mediatek/mtk_dsi.c | 36 +-
> 1 file changed, 35 insertions(+)
Hi, Neil:
Neil Armstrong 於 2021年4月19日 週一 下午3:33寫道:
>
> Some SoCs like the MT8167 are not validated and supported for HDMI modes
> out of HDMI CEA modes, so add a configuration boolean to filter out
> non-CEA modes.
Reviewed-by: Chun-Kuang Hu
>
> Signed-off-by: Fabien Paren
Hi, Neil:
Neil Armstrong 於 2021年4月19日 週一 下午3:33寫道:
>
> Some SoCs like the MT8167 have a hard limit on the maximal supported HDMI TMDS
> clock, so add a configuration value to filter out those modes.
Reviewed-by: Chun-Kuang Hu
>
> Signed-off-by: Fabien Parent
> Signed-off-
Hi, Neil:
Neil Armstrong 於 2021年4月19日 週一 下午3:33寫道:
>
> The MT8167 SoC have a hard limit on the maximal supported HDMI TMDS clock,
> and is not validated and supported for HDMI modes out of HDMI CEA modes,
> so add a configuration entry linked to the MT8167 compatible.
Reviewed-by: C
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年4月27日 週二 下午12:49寫道:
>
> Init panel orientation property after connector is initialized. Let the
> panel driver decides the orientation value later.
>
> Signed-off-by: Hsin-Yi Wang
> ---
> drivers/gpu/drm/mediatek/mtk_dsi.c | 1 +
> 1 file changed, 1 insertion(+)
Hi, Yongqiang:
Yongqiang Niu 於 2021年5月1日 週六 上午11:13寫道:
>
> move page flip handle into cmdq cb
> irq callback will before cmdq flush ddp register
> into hardware, that will cause the display frame page
> flip event before it realy display out time
After apply patch [1], we don't need to care abou
Hi, Yongqiang:
Yongqiang Niu 於 2021年5月1日 週六 上午11:13寫道:
>
> In cmdq mode, packet may be flushed before it is executed, so
> the pending flag should be cleared after cmdq packet is done.
>
> Signed-off-by: CK Hu
> Signed-off-by: Yongqiang Niu
> ---
> drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 57
Hi, Jason:
jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道:
>
> DSC is designed for real-time systems with real-time compression,
> transmission, decompression and display.
> The DSC standard is a specification of the algorithms used for
> compressing and decompressing image display streams, including
> the
Hi, Jason:
jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道:
>
> Add driver data of mt8195 vdosys0 to mediatek-drm and the sub driver.
>
Reviewed-by: Chun-Kuang Hu
> Signed-off-by: jason-jh.lin
> ---
> This patch is base on [1]
>
> [1] dt-bindings: mediatek: display: add mt
Hi, Jason:
jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道:
>
> Add MERGE engine file:
> MERGE module is used to merge two slice-per-line inputs
> into one side-by-side output.
>
> Signed-off-by: jason-jh.lin
> ---
> This patch is base on [1]
>
> [1] dt-bindings: mediatek: display: add mt8195 SoC binding
>
These refinements include using standard mailbox callback interface,
timeout detection, and a fixed cmdq_handle.
Changes in v2:
1. Define mtk_drm_cmdq_pkt_create() and mtk_drm_cmdq_pkt_destroy()
when CONFIG_MTK_CMDQ is reachable.
Chun-Kuang Hu (4):
drm/mediatek: Use mailbox rx_callback
rx_callback is a standard mailbox callback mechanism and could cover the
function of proprietary cmdq_task_cb, so use the standard one instead of
the proprietary one.
Signed-off-by: Chun-Kuang Hu
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 16 +---
1 file changed, 13 insertions
mbox_client to get
struct mtk_drm_crtc.
Signed-off-by: Chun-Kuang Hu
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 80 +++--
1 file changed, 62 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c
b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c
index
CMDQ is used to update display register in vblank period, so
it should be execute in next vblank. If it fail to execute
in next 2 vblank, tiemout happen.
Signed-off-by: Chun-Kuang Hu
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 14 --
1 file changed, 12 insertions(+), 2 deletions
One mtk_crtc need just one cmdq_handle, so add one cmdq_handle
in mtk_crtc to prevent frequently allocation and free of
cmdq_handle.
Signed-off-by: Chun-Kuang Hu
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 28 -
1 file changed, 18 insertions(+), 10 deletions(-)
diff
Hi, Thomas:
Thomas Zimmermann 於 2021年6月25日 週五 下午4:22寫道:
>
> The field drm_device.irq_enabled is only used by legacy drivers
> with userspace modesetting. Don't set it in mediatek.
>
Acked-by: Chun-Kuang Hu
> Signed-off-by: Thomas Zimmermann
> Reviewed-by: Laurent Pinch
Hi, Thomas:
Thomas Zimmermann 於 2021年6月24日 週四 下午5:01寫道:
>
> Moving the driver-specific mmap code into a GEM object function allows
> for using DRM helpers for various mmap callbacks.
>
> The respective mediatek functions are being removed. The file_operations
> structure fops is now being created
Hi, Fabien:
Fabien Parent 於 2020年10月23日 週五 下午9:31寫道:
>
> Add the main (DSI) drm display path for MT8167.
>
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
> Signed-off-by: Fabie
Hi, Fabien:
Fabien Parent 於 2020年10月23日 週五 下午9:31寫道:
>
> Add binding documentation for the MT8167 SoC.
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
>
> Signed-off-by: Fabien
Hi, Dafna:
Dafna Hirschfeld 於 2021年7月13日 週二 上午2:12寫道:
>
> The initialization is currently tested in a later stage in
> the function for no reason.
> In addition, the test '!comp' will never fail since comp is
> set with the '&' operator. Instead, test if a comp was not
> initialized by testing "!
Hi, Jason:
jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道:
>
> 1. Adjust to the alphabetic order for the define, function, struct
>and array in mediatek-drm driver
> 2. Remove the unsed define in mtk_drm_ddp_comp.c
Separate the 2nd part to another patch.
>
> Signed-off-by: jason-jh.lin
> ---
> driv
Hi, Jitao:
Jitao Shi 於 2021年8月8日 週日 下午9:41寫道:
>
> The bridge chip ANX7625 requires the packets on lanes aligned at the end,
> or ANX7625 will shift the screen.
In anx7625_attach_dsi(), it call mipi_dsi_attach(), and it call into
mtk_dsi_host_attach().
I would like to pass this information from a
Hi, Dave & Daniel:
This includes:
1. Fix dpi bridge bug.
2. Fix cursor plane no update.
Regards,
Chun-Kuang.
The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:
Linux 5.14-rc1 (2021-07-11 15:07:40 -0700)
are available in the Git repository at:
https://git.kernel.
Hi, Jason:
jason-jh.lin 於 2021年8月10日 週二 上午10:55寫道:
>
> To avoid the output width and height is incorrect,
> AAL_OUTPUT_SIZE configuration should be set.
Applied to mediatek-drm-fixes [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-fix
Hi, Jason:
jason-jh.lin 於 2021年8月10日 週二 下午12:02寫道:
>
> Add component_del in OVL and COLOR remove function.
Applied to mediatek-drm-fixes [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-fixes
Regards,
Chun-Kuang.
>
> Fixes: ff1395609
Chun-Kuang Hu 於 2021年8月9日 週一 上午7:47寫道:
>
> These refinements include using standard mailbox callback interface,
> timeout detection, and a fixed cmdq_handle.
For this series, applied to mediatek-drm-next [1].
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.g
Hi, Yongqiang:
Yongqiang Niu 於 2021年8月11日 週三 上午9:48寫道:
>
> In cmdq mode, packet may be flushed before it is executed, so
> the pending flag should be cleared after cmdq packet is done.
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/li
p as GEM object function.
3. Add support for MT8167.
4. Test component initialization earlier in the function mtk_drm_crtc_create.
5. CMDQ refinement.
----
Chun-Kuang Hu (4):
drm/mediatek: Use mailbox rx_callback instead of cmdq_tas
p as GEM object function.
3. Add support for MT8167.
4. Test component initialization earlier in the function mtk_drm_crtc_create.
5. CMDQ refinement.
----
Chun-Kuang Hu (4):
drm/mediatek: Use mailbox rx_callback instead of cmdq_tas
t; that and resend?
I've resent the v2 request. Sorry for the inconvenient.
Regards,
Chun-Kuang.
>
> Dave.
>
> On Mon, 16 Aug 2021 at 09:55, Chun-Kuang Hu wrote:
> >
> > Hi, Dave & Daniel:
> >
> > This includes:
> >
> > 1. MT8133 AAL su
Hi, Dave & Daniel:
This includes:
1. Fix AAL output size setting.
2. Delete component in remove function.
Regards,
Chun-Kuang.
The following changes since commit 1a64a7aff8da352c9419de3d5c34343682916411:
drm/mediatek: Fix cursor plane no update (2021-07-22 22:57:52 +0800)
are available in t
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:23寫道:
>
> 1. There are 2 mmsys, namely vdosys0 and vdosys1 in mt8195.
>Each of them is bound to a display pipeline, so add their
>definition in mtk-mmsys documentation with 2 compatibles.
>
> 2. Add description for power-domain property.
>
> Si
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:23寫道:
>
> Add mtk-mutex support for mt8195 vdosys0.
>
> Signed-off-by: jason-jh.lin
> ---
> drivers/soc/mediatek/mtk-mutex.c | 98 +++-
> 1 file changed, 95 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/soc/mediat
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:23寫道:
>
> Remove the unsed define in mtk_drm_ddp_comp.c
Reviewed-by: Chun-Kuang Hu
>
> Signed-off-by: jason-jh.lin
> ---
> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 10 --
> 1 file changed, 10 deletions(-)
>
&g
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:23寫道:
>
> Add DISP_REG prefix for the define of register offset to
> make the difference from the define of register value.
>
Reviewed-by: Chun-Kuang Hu
> Signed-off-by: jason-jh.lin
> ---
> drivers/gpu/drm/mediatek/mt
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:24寫道:
>
> Adjust to the alphabetic order for the define, function, struct
> and array in mediatek-drm driver
>
> Signed-off-by: jason-jh.lin
> ---
> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 133 ++--
> drivers/gpu/drm/mediatek/mt
eams, including
> the specification of the syntax and semantics of the compressed
> video bit stream.
>
Reviewed-by: Chun-Kuang Hu
> Signed-off-by: jason-jh.lin
> ---
> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 46 +
> drivers/gpu/drm/mediatek/mtk_drm_
Hi, Nancy:
Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道:
>
> Add vdosys1 MERGE definition.
>
> Signed-off-by: Nancy.Lin
> ---
> .../devicetree/bindings/display/mediatek/mediatek,merge.yaml| 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git
> a/Documentation/devicetree/bindings/display/mediatek/
Hi, Jason:
jason-jh.lin 於 2021年8月19日 週四 上午10:23寫道:
>
> Add MERGE engine file:
> MERGE module is used to merge two slice-per-line inputs
> into one side-by-side output.
>
> Signed-off-by: jason-jh.lin
> ---
> drivers/gpu/drm/mediatek/Makefile | 1 +
> drivers/gpu/drm/mediatek/mtk_dis
Hi, Nancy:
Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道:
>
> Add driver data of mt8195 vdosys1 to mediatek-drm and modify drm for
> multi-mmsys support. The two mmsys (vdosys0 and vdosys1) will bring
> up two drm drivers, only one drm driver register as the drm device.
> Each drm driver binds its own compo
$id: http://devicetree.org/schemas/display/mediatek/mediatek,dsc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: mediatek display DSC controller
> +
> +maintainers:
> + - CK Hu
According to [1], the maintainer should be
Chun-Kuang H
Hi, Nancy:
Nancy.Lin 於 2021年8月18日 週三 下午5:19寫道:
>
> Add ovl_adaptor driver for MT8195.
> Ovl_adaptor is an encapsulated module and designed for simplified
> DRM control flow. This module is composed of 8 RDMAs, 4 MERGEs and
> an ETHDR. Two RDMAs merge into one layer, so this module support 4
> lay
Hi, Nancy:
Nancy.Lin 於 2021年8月18日 週三 下午5:18寫道:
>
> Add driver data of mt8195 vdosys1 to mediatek-drm and modify drm for
> multi-mmsys support. The two mmsys (vdosys0 and vdosys1) will bring
> up two drm drivers, only one drm driver register as the drm device.
> Each drm driver binds its own compo
Hi, Enric:
Enric Balletbo i Serra 於 2021年8月25日 週三 下午6:26寫道:
>
> Update device tree binding documentation for the dsi to add the optional
> property to reset the dsi controller.
Reviewed-by: Chun-Kuang Hu
>
> Signed-off-by: Enric Balletbo i Serra
> Acked-by: Rob Herring
>
While updating config, the irq would occur and get the partial
config, so use variable config_updating to make updating atomic.
Signed-off-by: Chun-Kuang Hu
---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a
Hi, Wang:
Wang Qing 於 2021年3月13日 週六 下午3:48寫道:
>
> platform_get_irq() has already checked and printed the return value,
> the printing here is nothing special, it is not necessary at all.
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/
Hi, Jitao:
Jitao Shi 於 2021年2月1日 週一 上午11:48寫道:
>
> Some panels or bridges require customized hs_da_trail time.
> So add a property in devicetree for this panels and bridges.
>
> Signed-off-by: Jitao Shi
> ---
> drivers/gpu/drm/mediatek/mtk_dsi.c | 10 +-
> 1 file changed, 9 insertions(+
Hi, Matthias:
Chun-Kuang Hu 於 2020年12月29日 週二 下午11:23寫道:
>
> Hi, Yongqiang:
>
> Yongqiang Niu 於 2020年12月28日 週一 下午4:37寫道:
> >
> > This patch add component OVL_2L2
>
> Reviewed-by: Chun-Kuang Hu
How do you think about this patch? One drm patch [1] depe
Hi, Matthias:
Yongqiang Niu 於 2021年1月5日 週二 上午11:07寫道:
>
> This patch add component RDMA4
>
> Signed-off-by: Yongqiang Niu
> Reviewed-by: Chun-Kuang Hu
How do you think about this patch? One drm patch [1] depends on this patch.
[1]
https://patchwork.kernel.org/project/linux
> Signed-off-by: Dafna Hirschfeld
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 9e876927c60d..8260bc5afe66 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -5963,6 +5963,7 @@ DRM DRIVERS FOR
Applied to mediatek-drm-next [1].
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
Chun-Kuang Hu 於 2021年3月13日 週六 下午5:43寫道:
>
> While updating config, the irq would occur and get the partial
> config, so use
Hi, Enric:
Enric Balletbo i Serra 於 2021年3月30日 週二 下午5:43寫道:
>
> Hi,
>
> On 3/2/21 12:07, Enric Balletbo i Serra wrote:
> > From: Boris Brezillon
> >
> > This patch adds the missing MODULE_DEVICE_TABLE definitions on different
> > Mediatek drivers which generates correct modalias for automatic lo
Hi, Dafna:
Dafna Hirschfeld 於 2021年3月30日 週二 下午7:09寫道:
>
> commit f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges")
> broke the display support for elm device since mtk_dpi calls
> drm_bridge_attach with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR
> while mtk_hdmi does not yet suppo
connector creation.
Boris Brezillon (1):
drm/mediatek: Add missing MODULE_DEVICE_TABLE()
Chun-Kuang Hu (1):
drm/mediatek: crtc: Make config-updating atomic
Dafna Hirschfeld (3):
MAINTAINERS: Add linux-mediatek ML for drm Mediatek drivers
Rob Herring 於 2021年1月15日 週五 上午3:11寫道:
>
> On Mon, 11 Jan 2021 15:43:37 +0800, Yongqiang Niu wrote:
> > add description for postmask
> > postmask is used control round corner for display frame
> >
> > Signed-off-by: Yongqiang Niu
> > ---
> > Documentation/devicetree/bindings/display/mediatek/medi
Hi, Yongqiang:
Yongqiang Niu 於 2021年1月11日 週一 下午3:48寫道:
>
> the orginal setting is not correct, fix it follow hardware data sheet.
> if keep this error setting, mt8173/mt8183 display ok
> but mt8192 display abnormal.
>
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm
Hi, Yongqiang:
Chun-Kuang Hu 於 2021年1月7日 週四 下午6:05寫道:
>
> Hi, Yongqiang:
>
> Yongqiang Niu 於 2021年1月7日 週四 上午11:12寫道:
> >
> > Get the fifo size from device tree
> > because each rdma in the same SoC may have different fifo size
>
> Reviewed-by: Chun-Kuang
Chun-Kuang Hu 於 2021年1月7日 週四 上午7:17寫道:
>
> mtk mutex is a driver used by DRM and MDP [1], so this series move
> mtk mutex driver from DRM folder to soc folder, so it could be used
> by DRM and MDP.
Applied [1/5] ~ [4/5] to mediatek-drm-next [1].
[1]
https://git.kernel.org/pub/scm/
Hi, Matthias:
Matthias Brugger 於 2021年1月21日 週四 上午2:33寫道:
>
> On Thu, Jan 07, 2021 at 07:17:29AM +0800, Chun-Kuang Hu wrote:
> > From: CK Hu
> >
> > mtk mutex is used by DRM and MDP driver, and its function is SoC-specific,
> > so move it to soc folder.
> >
Hi, Matthias:
Matthias Brugger 於 2021年1月21日 週四 上午2:27寫道:
>
> On Thu, Jan 07, 2021 at 07:17:27AM +0800, Chun-Kuang Hu wrote:
> > From: CK Hu
> >
> > mtk mutex is used by both drm and mdp driver, so change disp/ddp term to
> > mutex to show that it
Matthias Brugger 於 2021年1月21日 週四 下午4:19寫道:
>
> On Thu, Jan 21, 2021 at 07:46:44AM +0800, Chun-Kuang Hu wrote:
> > Hi, Matthias:
> >
> > Matthias Brugger 於 2021年1月21日 週四 上午2:27寫道:
> > >
> > > On Thu, Jan 07, 2021 at 07:17:27AM +0800, Chun-Kuang Hu wrote
Hi, Matthias:
Chun-Kuang Hu 於 2021年1月10日 週日 上午6:59寫道:
>
> Hi, Matthias:
>
> Chun-Kuang Hu 於 2020年12月3日 週四 上午7:59寫道:
> >
> > rx_callback is a standard mailbox callback mechanism and could
> > cover the function of proprietary cmdq_task_cb, so it is better
> >
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道:
>
> Current implementation of mtk_dither_set() cast dev data to
> struct mtk_ddp_comp_dev. But other devices with different dev data
> would also call this function.
>
> Separate necessary parameters out so other device components (dither,
> gam
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道:
>
> From: Yongqiang Niu
>
> mt8183 gamma module will different with mt8173
> separate gamma for add private data
After I clean up all checkpatch error, applied to mediatek-drm-next
[1]. Remember to clean up all checkpatch error before send out
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道:
>
> From: Yongqiang Niu
>
> Not all SoC has dither function in gamma module.
> Add private data to control this function setting.
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linu
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道:
>
> From: Yongqiang Niu
>
> 1. add ovl private data
> 2. add rdma private data
> 3. add gamma privte data
> 4. add main and external path module for crtc create
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/lin
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道:
>
> From: Yongqiang Niu
>
> Enable dither function to improve the display quality for dither
> supported bpc 4, 6, 8. For not supported bpc, use relay mode.
>
> Signed-off-by: Yongqiang Niu
> Signed-off-by: Hsin-Yi Wang
> ---
> drivers/gpu/d
Hi, Hsin-Yi:
CK Hu 於 2021年1月29日 週五 下午4:21寫道:
>
> Hi, Hsin-Yi:
>
> On Fri, 2021-01-29 at 15:34 +0800, Hsin-Yi Wang wrote:
> > From: Yongqiang Niu
> >
> > enable OVL_LAYER_SMI_ID_EN for multi-layer usecase, without this patch,
> > ovl will hang up when more than 1 layer enabled.
>
> Reviewed-by: C
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月29日 週五 下午3:35寫道:
>
> From: Yongqiang Niu
>
> ccorr ctm matrix bits will be different in mt8192
>
> Signed-off-by: Yongqiang Niu
> Signed-off-by: Hsin-Yi Wang
> ---
> drivers/gpu/drm/mediatek/Makefile | 3 +-
> drivers/gpu/drm/mediatek/mtk_disp_cc
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年1月31日 週日 下午1:11寫道:
>
> From: Yongqiang Niu
>
> Enable dither function to improve the display quality.
Reviewed-by: Chun-Kuang Hu
>
> Signed-off-by: Yongqiang Niu
> Signed-off-by: Hsin-Yi Wang
> ---
> Previous version:
> https:
Hi, Hsin-Yi:
Chun-Kuang Hu 於 2021年2月1日 週一 上午12:20寫道:
>
> Hi, Hsin-Yi:
>
> Hsin-Yi Wang 於 2021年1月31日 週日 下午1:11寫道:
> >
> > From: Yongqiang Niu
> >
> > Enable dither function to improve the display quality.
>
> Reviewed-by: Chun-Kuang Hu
>
Applied
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年2月2日 週二 下午4:13寫道:
>
> From: Yongqiang Niu
>
> ccorr ctm matrix bits will be different in mt8192
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年2月2日 週二 下午4:13寫道:
>
> From: Yongqiang Niu
>
> Fix setting to follow hardware datasheet. The original error setting
> affects mt8192 display.
>
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/
Hi, Hsin-Yi:
Hsin-Yi Wang 於 2021年2月2日 週二 下午4:14寫道:
>
> From: Yongqiang Niu
>
> Add matrix_bits and coeffs_precision to ccorr private data:
> - matrix bits of mt8183 is 10
> - matrix bits of mt8192 is 11
Applied to mediatek-drm-next [1], thanks.
[1]
https://git.kernel.org/pub/scm/linux/kernel/
ex driver
drm/mediatek: Automatically search unclaimed mtk mutex in mtk_mutex_get()
soc / drm: mediatek: Move mtk mutex driver to soc folder
Chun-Kuang Hu (2):
drm/mediatek: Get CMDQ client register for all ddp component
drm/mediatek: Use correct device pointer to get CM
1 - 100 of 771 matches
Mail list logo