: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mutex.c | 140 ++-
1 file changed, 138 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c
index b2a9992fb232..183f3abcd7dd 100644
--- a/drivers/soc/mediatek/mtk-mutex.c
From: Paul-pl Chen
Add mediate,outproc.yaml to support OUTPROC for MT8196.
MediaTek display overlap output processor, namely OVL_OUTPROC
or OUTPROC,handles the post-stage of pixel processing in the
overlapping procedure.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
.../display
From: Nancy Lin
For the new BLENDER component, the OVL ignore pixel alpha logic
should be exported as a function and reused it.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 24 ++--
drivers/gpu/drm/mediatek
From: Nancy Lin
Add driver data for MT8196 and add the routing table for each mmsys.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/soc/mediatek/mt8196-mmsys.h| 396 +
drivers/soc/mediatek/mtk-mmsys.c | 54
include/linux/soc/mediatek
From: Paul-pl Chen
Add mediatek,blender.yaml to support BLENDER for MT8196.
MediaTek display overlap blender, namely OVL_BLENDER or BLENDER,
executes the alpha blending function for overlapping layers
from different sources.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Nancy Lin
Signed
From: Paul-pl Chen
To support multiple mmsys instances in the one mediatek-drm instance,
providing improved flexibility and scalability by the following changes:
1. Add DDP_COMPONENT_DRM_OVLSYS_ADAPTOR* to probe the
ovlsys_adaptor drivers and support different mmsys composition.
2. Added new
From: Paul-pl Chen
Reused the switch case for SOF IDs.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mutex.c | 81 ++--
1 file changed, 36 insertions(+), 45 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers
From: Paul-pl Chen
BLENDER executes the alpha blending function for overlapping
layers from different sources, which is the primary function
of the overlapping system.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu
From: Nancy Lin
Add code to support MT8196 SOC Multi MMSYS Driver
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 119 -
1 file changed, 115 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/mediatek
and refine RG24
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 9 +
drivers/gpu/drm
From: Paul-pl Chen
This patch series adds support for the MediaTek MT8196 SoC's display
subsystem in the DRM driver.
Changes in v3:
- [PATCH v3 06/17]
Refine runtime PM, top clocks and async controls for MMSYS
- [PATCH v3 08/17]
Refactor SOF settings by a
From: Nancy Lin
OUTPROC handles the post-stage of pixel processing in
the overlapping procedure.OUTPROC manages pixels for
gamma correction and ensures that pixel values are
within the correct range.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile
-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 214 ++--
drivers/gpu/drm/mediatek/mtk_disp_ovl.h | 28
2 files changed, 150 insertions(+), 92 deletions(-)
create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ovl.h
diff --git a/drivers/gpu/drm
From: Paul-pl Chen
Refactor SOF settings by adding mtk_mutex_get_output_comp_sof()
and extracting SOF logic from mtk_mutex_add_comp()
and mtk_mutex_remove_comp().
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mutex.c | 60
integrated within the
mtk_ddp_comp framework.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 28 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek
From: Paul-pl Chen
Add mediatek,exdma.yaml to support EXDMA for MT8196.
The MediaTek display overlap extended DMA engine, namely
OVL_EXDMA or EXDMA, primarily functions as a DMA engine
for reading data from DRAM with various DRAM footprints
and data formats.
Signed-off-by: Nancy Lin
Signed-off
: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mmsys.c | 152 -
drivers/soc/mediatek/mtk-mmsys.h | 18 +++
include/linux/soc/mediatek/mtk-mmsys.h | 8 ++
3 files changed, 177 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers
From: Nancy Lin
Add compatible string to support mutex for MT8196.
Acked-by: Krzysztof Kozlowski
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
.../devicetree/bindings/soc/mediatek/mediatek,mutex.yaml| 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation
From: Nancy Lin
BLENDER executes the alpha blending function for overlapping
layers from different sources, which is the primary function
of the overlapping system.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm
From: Paul-pl Chen
Add mediatek,blender.yaml to support BLENDER for MT8196.
MediaTek display overlap blender, namely OVL_BLENDER or BLENDER,
executes the alpha blending function for overlapping layers
from different sources.
Signed-off-by: Paul-pl Chen
---
.../display/mediatek/mediatek
MOD and SOF logic.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mutex.c | 121 +++--
include/linux/soc/mediatek/mtk-mutex.h | 4 +
2 files changed, 79 insertions(+), 46 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-mutex.c b
From: Paul-pl Chen
This patch series adds support for the MediaTek MT8196 SoC's display
subsystem in the DRM driver.
Changes in v2:
- add support for MT8196's new hardware components (EXDMA, BLENDER,
OUTPROC) following the previous MTK OVL software architecture.
- reuse mtk_ovl
From: Nancy Lin
Refine OVL format convert API and export to public.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 158
drivers/gpu/drm/mediatek/mtk_disp_ovl.h | 16 +++
2 files changed, 122 insertions(+), 52
From: Paul-pl Chen
Add mediatek,exdma.yaml to support EXDMA for MT8196.
The MediaTek display overlap extended DMA engine, namely
OVL_EXDMA or EXDMA, primarily functions as a DMA engine
for reading data from DRAM with various DRAM footprints
and data formats.
Signed-off-by: Paul-pl Chen
From: Paul-pl Chen
Add mediate,outproc.yaml to support OUTPROC for MT8196.
MediaTek display overlap output processor, namely OVL_OUTPROC
or OUTPROC,handles the post-stage of pixel processing in the
overlapping procedure.
Signed-off-by: Paul-pl Chen
---
.../display/mediatek/mediatek
integrated within the
mtk_ddp_comp framework.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 28 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek
: Paul-pl Chen
---
drivers/soc/mediatek/mtk-mutex.c | 140 ++-
1 file changed, 138 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c
index c026ac0e6969..f51d1cb5ad1e 100644
--- a/drivers/soc/mediatek/mtk-mutex.c
and refine RG24
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 9 +
drivers/gpu/drm
From: Nancy Lin
Add code to support MT8196 SOC Multi MMSYS Driver
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 119 -
1 file changed, 115 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/mediatek
-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/mtk_crtc.c | 342 +++-
drivers/gpu/drm/mediatek/mtk_crtc.h | 6 +-
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 102 +++
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 2 +
drivers/gpu/drm/mediatek
From: Nancy Lin
OUTPROC handles the post-stage of pixel processing in
the overlapping procedure.OUTPROC manages pixels for
gamma correction and ensures that pixel values are
within the correct range.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/gpu/drm/mediatek/Makefile
power-domains property.
4. Adding functions to configure ddp components and
set default configurations.
5. Adding the routing table for each mmsys in MT8196.
Signed-off-by: Nancy Lin
Signed-off-by: Paul-pl Chen
---
drivers/soc/mediatek/mt8196-mmsys.h| 451 +
drivers
From: Paul-pl Chen
Add compatible string to support mutex for MT8196.
Signed-off-by: Paul-pl Chen
---
.../devicetree/bindings/soc/mediatek/mediatek,mutex.yaml| 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
b
From: Paul-pl Chen
In previous SoCs, a single HW pipeline was an independent mmsys,
which included the OVL module, PQ module, and display interface
module.
In the 8196, to increase the flexibility of pipeline connection
and control, the OVL module on a single HW pipeline was separated
into two
From: "Paul-pl.Chen"
Add support multiple mmsys instances in the one mediatek-drm instance.
Nancy.Lin (7):
soc: mediatek: add mmsys support for MT8196
soc: mediatek: mutex: add mutex support for MT8196
drm/mediatek: add EXDMA support for MT8196
drm/mediatek: add BLENDER support for MT819
From: "Paul-pl.Chen"
Add mediatek,exdma.yaml to support EXDMA for MT8196.
Signed-off-by: Paul-pl.Chen
---
The header used in examples:
#include
#include
are not upstreamed yet.
It will be sent by related owner soon.
---
.../display/mediatek/mediatek,exdma.yaml | 77 +++
From: "Nancy.Lin"
To support multiple mmsys instances in the one mediatek-drm instance,
providing improved flexibility and scalability by the following changes:
1. Defined new DRM component IDs DDP_COMPONENT_DRM_OVLSYS_ADAPTOR*
to support different mmsys composition.
2. Added new component typ
From: "Nancy.Lin"
Ovlsys_adaptor is an encapsulated module designed to
simplify the DRM control flow. This module is composed
of 20 EXDMAs, 20 BLENDERs, and 12 OUTPROCs.
Two EXDMAs merge into one layer, allowing the module
to support 20 layers for 3 display paths.
Ovlsys_adaptor driver is integra
From: "Paul-pl.Chen"
Add mediatek,exdma.yaml to support EXDMA for MT8196.
Signed-off-by: Paul-pl.Chen
---
The header used in examples:
#include
#include
are not upstreamed yet.
It will be sent by related owner soon.
---
.../display/mediatek/mediatek,exdma.yaml | 77 +++
From: "Paul-pl.Chen"
Add mediatek,blender.yaml to support BLENDER for MT8196.
Signed-off-by: Paul-pl.Chen
---
The header used in examples:
#include
is not upstreamed yet.
It will be sent by related owner soon.
---
.../display/mediatek/mediatek,blender.yaml| 50 +++
1 fil
From: "Paul-pl.Chen"
Add mediate,outproc.yaml to support OUTPROC for MT8196.
Signed-off-by: Paul-pl.Chen
---
The header used in examples:
#include
is not upstreamed yet.
It will be sent by related owner soon.
---
.../display/mediatek/mediatek,outproc.yaml| 57 +++
1 fil
From: "Paul-pl.Chen"
Add compatible string to support mutex for MT8196.
Signed-off-by: Paul-pl.Chen
---
.../devicetree/bindings/soc/mediatek/mediatek,mutex.yaml| 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
b/Do
From: "Nancy.Lin"
OUTPROC handles the post-stage of pixel processing in
the overlapping procedure.OUTPROC manages pixels for
gamma correction and ensures that pixel values are
within the correct range.
Signed-off-by: Nancy.Lin
Signed-off-by: Paul-pl.Chen
---
drivers/gpu/drm/mediatek/Makefile
From: "Nancy.Lin"
Add mutex support the main and external display for MT8196.
Signed-off-by: Nancy.Lin
Signed-off-by: Paul-pl.Chen
---
drivers/soc/mediatek/mtk-mutex.c | 233 +++--
include/linux/soc/mediatek/mtk-mutex.h | 2 +
2 files changed, 222 insertions(+), 13
From: "Nancy.Lin"
EXDMA is a DMA engine for reading data from DRAM with
various DRAM footprints and data formats. For input
sources in certain color formats and color domains,
EXDMA also includes a color transfer function to
process pixels into a consistent color domain.
Signed-off-by: Nancy.Lin
From: "Nancy.Lin"
BLENDER executes the alpha blending function for overlapping
layers from different sources, which is the primary function
of the overlapping system.
Signed-off-by: Nancy.Lin
Signed-off-by: Paul-pl.Chen
---
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/
From: "Nancy.Lin"
1. Defining driver data and adding compatible string
for different subsystems
(DISPSYS0, DISPSYS1, OVLSYS0, OVLSYS1, VDISP_AO)
2. Adding functions to control top clocks and ddp clocks.
3. Updating the probe function to initialize clocks and
enable runtime PM if its node has the
From: "Paul-pl.Chen"
Add compatible for mmsys yaml of MT8196
Signed-off-by: Paul-pl.Chen
---
.../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
b/Documentation
48 matches
Mail list logo