@bp.renesas.com/
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-19-biju.das...@bp.renesas.com/
Biju Das (17):
drm: rcar-du: Add encoder lib support
drm: rcar-du: Add kms lib support
drm: rcar-du: Add vsp lib support
drm: rcar-du: Move rcar_du_vsp_atomic_begin()
Add fcpvd node to RZ/G2L SoC DTSI.
Signed-off-by: Biju Das
Reviewed-by: Geert Uytterhoeven
---
v1->v2:
* Added Rb tag from Geert.
---
arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
b/a
depend upon the binding patch [2]
[2]
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20230406171324.837247-2-biju.das...@bp.renesas.com/
Biju Das (8):
arm64: dts: renesas: r9a07g044: Add fcpvd node
arm64: dts: renesas: r9a07g054: Add fcpvd node
arm64: dts: renesas: r9a07g044: Add
inux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/bridge/adv7511/adv7533.c?h=next-20230406&id=ee0285e13455fdbce5de315bdbe91b5f198a2a06
Cheers,
Biju
> -Original Message-----
> From: Biju Das
> Sent: Wednesday, March 9, 2022 3:11 PM
> To: Andrzej Hajda ; Neil Armst
inux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/bridge/adv7511/adv7533.c?h=next-20230406&id=ee0285e13455fdbce5de315bdbe91b5f198a2a06
Cheers,
Biju
> -Original Message-----
> From: Biju Das
> Sent: Wednesday, March 9, 2022 3:11 PM
> To: David Airlie ; Daniel Vetter ;
/20220316131100.30685-6-biju.das...@bp.renesas.com/
Cheers,
Biju
> -Original Message-
> From: Biju Das
> Sent: Wednesday, November 23, 2022 5:29 PM
> To: David Airlie ; Daniel Vetter ; Rob
> Herring ; Krzysztof Kozlowski
> Cc: Biju Das ; Laurent Pinchart
> ; dri-
> de.
; From: Biju Das
> Sent: 22 November 2022 19:54
> To: Andrzej Hajda ; Neil Armstrong
> ; Robert Foss ; David
> Airlie ; Daniel Vetter ; Rob Herring
> ; Krzysztof Kozlowski
>
> Cc: Biju Das ; Laurent Pinchart
> ; Jonas Karlman ; Jernej
> Skrabec ; dri-devel@lists.freedesktop.
Hi Laurent and DRM folks,
Gentle ping for review.
Cheers,
Biju
> -Original Message-
> From: Biju Das
> Sent: 23 November 2022 17:29
> To: David Airlie ; Daniel Vetter ; Rob
> Herring ; Krzysztof Kozlowski
> Cc: Biju Das ; Laurent Pinchart
> ; dri-
> de.
> -Original Message-
> From: Tomi Valkeinen
> Sent: 29 November 2022 11:30
> To: Laurent Pinchart
> Cc: Kieran Bingham ; Rob
> Herring ; Krzysztof Kozlowski
> ; Geert Uytterhoeven
> ; Magnus Damm ; dri-
> de...@lists.freedesktop.org; linux-renesas-...@vger.kernel.org;
> devicet...@vger.
) for Parallel Output
This patch document DU module found on RZ/G2L LCDC.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
---
v5->v6:
* No change.
v4->v5:
* Added Rb tag from Rob.
v3->v4:
* Changed compatible name from renesas,du-r9a07g044->renesas,r9a07g044-du
* started using sam
Move rcar_du_vsp_atomic_begin() to RCar DU VSP lib.
Signed-off-by: Biju Das
---
v6:
* Rebased on drm-misc-next and DU-next.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 5 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 2 --
drivers/
Move rcar_du_vsp_atomic_flush() to RCar DU vsp lib.
Signed-off-by: Biju Das
---
v6:
* Rebased on drm-misc-next and DU-next.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 13 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h |
share common_init, vsp_formats and vsp_plane_funcs().
Signed-off-by: Biju Das
---
v6:
* Updated rcar_du_vsp_init() for blend config.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 157 +---
drivers/gpu/drm/rcar
RZ/G2L supports only DSI and DPI. Add rcar_du_encoders_init() to handle
the pointer to du_output_name(), so that we can share du_encoders_init()
between RCar and RZ/G2L kms drivers.
Signed-off-by: Biju Das
---
v5->v6:
* Updated header files.
v5:
* New patch
---
drivers/gpu/drm/rcar
Add rcar_du_lib_mode_cfg_helper_get() in RCar DU kms lib to get the
pointer to rcar_du_mode_config_helper, so that both rcar_du_atomic_
commit_tail() and rcar_du_mode_config_helper can be reused by
rcar_du_modeset_init() and rzg2l_du_modeset_init().
Signed-off-by: Biju Das
---
v5->v6:
* Upda
Move rcar_du_vsp_plane_prepare_fb() to RCar DU vsp lib so that
both RCar and RZ/G2L DU vsp drivers can share this function.
Signed-off-by: Biju Das
---
v5->v6:
* Fix checkpatch warning.
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 21 -
drivers/gpu/
Move rcar_du_gem_prime_import_sg_table() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
v6:
* Fixed checkpatch warnings related to alignment.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 47 ---
drivers/gpu/drm/rcar
Move rcar_du_dumb_create() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
v6:
* Rebased on drm-misc-next and DU-next.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 21 -
drivers/gpu/drm/rcar-du/rcar_du_kms.h |
Move vsp rcar_du_vsp_{map,unmap}_fb() to RCar DU VSP lib.
Signed-off-by: Biju Das
---
v6:
* Fixed check patch warning in header file.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 78 -
drivers/gpu/drm/rcar-du/rcar_du_vs
module is connected to VSPD. This patch adds support for
RZ/G2L DU by creating CRTC/DRM driver specific to RZ/G2L and
it links with RCar DU lib for the common code between both RCar
and RZ/G2L.
Signed-off-by: Biju Das
---
v5->v6:
* Updated commit description
* Updated Kconfig
* Repla
Move rcar_du_vsp_plane_cleanup_fb() to RCar DU vsp lib so that
it can be shared by both RCar and RZ/G2L DU vsp drivers.
Signed-off-by: Biju Das
---
v5->v6:
* Fixed check patch warning
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 12
drivers/gpu/drm/rcar
Move rcar_du_properties_init() to RCar DU kms lib, so that it can be
shared by both RCar and RZ/G2L kms drivers.
Signed-off-by: Biju Das
---
v5->v6:
* Rebase to drm-misc-next.
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 16
drivers/gpu/drm/rcar
Move rcar_du_vsp_plane_atomic_update() to RCar DU vsp lib so that
both RCar and RZ/G2L DU vsp drivers can share this function.
Signed-off-by: Biju Das
---
v5->v6:
* Updated rcar_du_vsp_plane_setup()
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c |
Move the common code from rcar_du_fb_create->rcar_du_lib_fb_create,
so that rzg2l_du_fb_create() can reuse the common code.
Signed-off-by: Biju Das
---
v5->v6:
* Updated rcar_du_fb_create() for the pixel fmt error.
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c
Add rcar_du_lib_vsps_init() to RCar DU kms lib to handle both
rcar_du_vsp_init() and rzg2l_du_vsp_init().
Signed-off-by: Biju Das
---
v5->v6:
* Rebased to drm-misc-next.
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 88 +-
drivers/gpu/drm/rcar
Add RCar DU vsp lib support by moving rcar_du_vsp_disable()
to the lib file so that same function can be used by both
RCar and RZ/G2L DU VSP drivers.
Signed-off-by: Biju Das
---
v6:
* Rebased on drm-misc-next and DU-next.
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/
Add RCar DU kms lib support by moving rcar_du_format_infos table and
rcar_du_format_infos() to the lib file to share the common code between
RCar and RZ/G2L DU KMS drivers.
Signed-off-by: Biju Das
---
v6:
* Rebased on drm-misc-next and DU-next.
v1->v2:
* Rebased on drm-misc-next and DU-n
Add RCar DU encoder lib support by moving rcar_du_encoder_count_ports()
and rcar_du_encoder_funcs to the lib file and added
rcar_du_encoder_funcs() to share the common code between RCar and
RZ/G2L DU encoder drivers.
Signed-off-by: Biju Das
---
v6:
* Updated rcar_du_encoder_init() to take care
None=2 Pre-multiplied=0 Coverage=1
value: 0
Frame buffers:
id sizepitch
root@smarc-rzg2l:~#
Biju Das (19):
drm: rcar-du: Add encoder lib support
drm: rcar-du: Add kms lib support
drm: rcar-du: Add vsp lib support
drm: rcar-du: Move rcar_du_vsp_atomic_begin()
drm: rca
Hi All,
The below patch in Linux-next 20221123 is causing regression on Renesas
{RZ/G2M, R-Car Gen-3}
Platforms.
Steps to reproduce:
Use the arm64 defconfig to build the kernel and then boot the board.
Is there any patch to fix the problem? I am happy to test.
Logs:-
[ 23.762999] Console:
Document RZ/V2L DSI bindings. RZ/V2L MIPI DSI is identical to one found on
the RZ/G2L SoC. No driver changes are required as generic compatible
string "renesas,rzg2l-mipi-dsi" will be used as a fallback.
Signed-off-by: Biju Das
---
.../devicetree/bindings/display/bridge/renesa
When CONFIG_DRM=m and CONFIG_DRM_RZG2L_MIPI_DSI=y, it results in a
build failure. This patch fixes the build issue by adding dependency
to DRM.
Fixes: 7a043f978ed1 ("drm: rcar-du: Add RZ/G2L DSI driver")
Reported-by: kernel test robot
Signed-off-by: Biju Das
---
Ref:
*
https://lore.
Hi Dan Carpenter,
Thanks for the feedback.
> Subject: [bug report] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hello Biju Das,
>
> The patch 7a043f978ed1: "drm: rcar-du: Add RZ/G2L DSI driver" from Sep
> 20, 2022, leads to the following Smatch static checker warning
d RCar DU encoder lib support by moving
> rcar_du_encoder_count_ports() and rcar_du_encoder_funcs to the lib
> file and added
> rcar_du_encoder_funcs() to share the common code between RCar and
> RZ/G2L DU encoder drivers.
>
> Signed-off-by: Biju Das
> ---
> v1->v2:
>
Hi Laurent,
> Subject: Re: [PATCH v8 0/3] Add RZ/G2L DSI driver
>
> Hi Biju,
>
> On Sat, Oct 15, 2022 at 01:11:20PM +, Biju Das wrote:
> > Gentle ping.
>
> I've reviewed v8, everything looks fine. I've applied the patches to
> my tree ([1
> of
> pm_runtime_get_sync()
> * Added check for unsupported formats in rzg2l_mipi_dsi_host_attach()
> * Avoided read-modify-write stopping hsclock
> * Used devm_platform_ioremap_resource for resource allocation
> * Removed unnecessary assert call from probe and remove.
&g
Enhance device lanes check by reading TXSETR register at probe(),
and enforced in rzg2l_mipi_dsi_host_attach().
As per HW manual, we can read TXSETR register only after
DPHY initialization.
Suggested-by: Laurent Pinchart
Signed-off-by: Biju Das
---
v8:
* New patch.
---
drivers/gpu/drm/rcar
This driver supports the MIPI DSI encoder found in the RZ/G2L
SoC. It currently supports DSI video mode only.
Signed-off-by: Biju Das
Acked-by: Sam Ravnborg
Reviewed-by: Laurent Pinchart
---
v7->v8:
* Added Rb tag from Laurent.
* Added hsfreq_max to struct rzg2l_mipi_dsi_timings.
* Remo
The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L family SoC's. It
can operate in DSI mode, with up to four data lanes.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
Reviewed-by: Laurent Pinchart
Reviewed-by: Geert Uytterhoeven
---
v7->v8:
* No change.
v6->v7:
* No cha
move.
* wrap the line after the PTR_ERR() in probe()
* Updated reset failure messages in probe
* Fixed the typo arstc->prstc
* Made hex constants to lower case.
RFC:
*
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-22-biju.das...@bp.renesas.com/
*
htt
Hi Laurent,
Thanks for the feedback.
> Subject: Re: [PATCH v7 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> Thank you for the patch.
>
> On Fri, Sep 16, 2022 at 09:48:07AM +0100, Biju Das wrote:
> > This driver supports the MIPI DSI encoder fo
This driver supports the MIPI DSI encoder found in the RZ/G2L
SoC. It currently supports DSI video mode only.
Signed-off-by: Biju Das
Acked-by: Sam Ravnborg
---
v6->v7:
* Added rzg2l_mipi_dsi_stop_video() counterpart of
rzg2l_mipi_dsi_start_video().
* Error labels are named according to
The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L family SoC's. It
can operate in DSI mode, with up to four data lanes.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
Reviewed-by: Laurent Pinchart
Reviewed-by: Geert Uytterhoeven
---
v6->v7:
* No change.
v5->v6:
* No cha
s in probe
* Fixed the typo arstc->prstc
* Made hex constants to lower case.
RFC:
*
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-22-biju.das...@bp.renesas.com/
*
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-23-biju.das
Hi Laurent,
> Subject: RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Laurent and all,
>
> Thanks for the feedback.
>
> > Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
> >
> > Hi Biju,
> >
> > On Tue,
Hi Clement,
> Subject: Re: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the
> recommended one to configure and enable regulator
>
> Hi Biju,
>
> On Tue, 6 Sept 2022 at 08:42, Biju Das
> wrote:
> >
> > Hi Clement,
> >
> > >
> > &g
Hi Clement,
>
> Hi,
>
> On Mon, 5 Sept 2022 at 20:17, Biju Das
> wrote:
> >
> > Hi,
> >
> > Thanks for the patch.
> >
> > > Subject: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the
> > > recommended one to configure and en
Hi,
Thanks for the patch.
> Subject: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the recommended
> one to configure and enable regulator
>
> devm_pm_opp_set_regulators() doesn't enable regulator, which make
> regulator framework switching it off during regulator_late_cleanup().
In that cas
share common_init, vsp_formats and vsp_plane_funcs().
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 157 +---
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 166 ++
drivers/gpu/
Move rcar_du_gem_prime_import_sg_table() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 47 ---
drivers/gpu/drm/rcar-du/rcar_du_kms.h | 8
drivers/gpu/drm/rcar
Move rcar_du_dumb_create() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 21 -
drivers/gpu/drm/rcar-du/rcar_du_kms.h | 5
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c |
Move vsp rcar_du_vsp_{map,unmap}_fb() to RCar DU VSP lib.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 78 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 18 -
drivers/gpu/drm/rcar
Move rcar_du_vsp_atomic_flush() to RCar DU vsp lib.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 13 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 2 --
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c |
Move rcar_du_vsp_atomic_begin() to RCar DU VSP lib.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 5 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 2 --
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c
Add RCar DU vsp lib support by moving rcar_du_vsp_disable()
to the lib file so that same function can be used by both
RCar and RZ/G2L DU VSP drivers.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/Kconfig | 5 +
driv
Add RCar DU kms lib support by moving rcar_du_format_infos table and
rcar_du_format_infos() to the lib file to share the common code between
RCar and RZ/G2L DU KMS drivers.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/Makef
Add RCar DU encoder lib support by moving rcar_du_encoder_count_ports()
and rcar_du_encoder_funcs to the lib file and added
rcar_du_encoder_funcs() to share the common code between RCar and
RZ/G2L DU encoder drivers.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-n
Add RZ/G2L reset and clocks to struct rcar_du_crtc, so that
we can share and optimize the common code between RCar and
RZ/G2L driver using RCar DU library.
Signed-off-by: Biju Das
---
v1->v2:
* Rebased on drm-misc-next and DU-next.
---
drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 10 ++
* The KConfig and Make file depend upon [1]
[1]
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220829091901.641784-3-biju.das...@bp.renesas.com/
v1->v2:
* Rebased on drm-misc-next and DU-next.
* Fixed the warning reported by bot for patch#2.
Biju Das (10):
drm: rcar-du: Add
Hi Laurent and all,
Thanks for the feedback.
> Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> On Tue, Aug 30, 2022 at 08:22:08AM +, Biju Das wrote:
> > Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
> > > On M
Hi Laurent,
> Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> On Tue, Aug 30, 2022 at 08:22:08AM +, Biju Das wrote:
> > Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
> > > On Mon, Aug 29, 2022 at 10
Hi Laurent,
Thanks for the feedback.
> Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> Thank you for the patch.
>
> On Mon, Aug 29, 2022 at 10:19:01AM +0100, Biju Das wrote:
> > This driver supports the MIPI DSI encoder
Hi Laurent,
Thanks for the feedback.
> Subject: Re: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> On Mon, Aug 29, 2022 at 04:26:02PM +, Biju Das wrote:
> > Hi Robert,
> >
> > Thanks for the feedback.
> >
> > > Subject:
nings.
I got a review comment[3] to use (1 << 1) style instead of BIT macro.
Some of the warnings related to this.
[3]https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220328065115.11724-1-biju.das...@bp.renesas.com/
Laurent, any thoughts??
Cheers,
Biju
>
> On Mon, 29 Au
This driver supports the MIPI DSI encoder found in the RZ/G2L
SoC. It currently supports DSI video mode only.
Signed-off-by: Biju Das
Acked-by: Sam Ravnborg
---
v5->v6:
* Updated commit description
* Moved handling of arst and prst from rzg2l_mipi_dsi_startup->runtime
PM suspend/
The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L family SoC's. It
can operate in DSI mode, with up to four data lanes.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
Reviewed-by: Laurent Pinchart
Reviewed-by: Geert Uytterhoeven
---
v5->v6:
* No change.
v4->v5:
* No cha
e.
RFC:
*
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-22-biju.das...@bp.renesas.com/
*
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-23-biju.das...@bp.renesas.com/
Biju Das (2):
dt-bindings: display: bridge: Do
Hi Laurent,
> Subject: Re: [PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format
>
> Hi Biju,
>
> On Sat, Aug 27, 2022 at 09:04:25AM +, Biju Das wrote:
> > Subject: Re: [PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format
> > > On Thu, Aug 25, 2022 at 11
Hi Laurent,
Thanks for the feedback.
> Subject: Re: [PATCH v5 2/2] drm: rcar-du: Add RZ/G2L DSI driver
>
> Hi Biju,
>
> Thank you for the patch.
>
> On Thu, Aug 25, 2022 at 02:42:29PM +0100, Biju Das wrote:
> > This driver supports the MIPI DSI encoder
Hi Laurent,
Thanks for the feedback.
> Subject: Re: [PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format
>
> Hi Biju,
>
> Thank you for the patch.
>
> On Thu, Aug 25, 2022 at 11:39:05AM +0100, Biju Das wrote:
> > Replace use of struct rcar_du_format_info
This driver supports the MIPI DSI encoder found in the RZ/G2L
SoC. It currently supports DSI mode only.
Signed-off-by: Biju Das
Acked-by: Sam Ravnborg
---
v4->v5:
* Added Ack from Sam.
* Added a trivial change, replaced rzg2l_mipi_dsi_parse_dt()
with drm_of_get_data_lanes_count_ep()
The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L family SoC's. It
can operate in DSI mode, with up to four data lanes.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
Reviewed-by: Laurent Pinchart
Reviewed-by: Geert Uytterhoeven
---
v4->v5:
* No change.
v3->v4:
* No cha
ect/linux-renesas-soc/patch/20220112174612.10773-23-biju.das...@bp.renesas.com/
Biju Das (2):
dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings
drm: rcar-du: Add RZ/G2L DSI driver
.../bindings/display/bridge/renesas,dsi.yaml | 182 +
drivers/gpu/drm/rcar-du/Kconfig
Replace use of struct rcar_du_format_info with %p4cc for printing
4CC formats.
Reported-by: Geert Uytterhoeven
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
b
Drop unused header files from rcar_du_encoder.c
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
b/drivers/gpu/drm/rcar-du/rcar_du_encoder.c
index 60d6be78323b..bfd5c087eb0a
Hi Geert,
Thanks for the feedback.
> Subject: Re: [PATCH v5 04/10] drm: rcar-du: Add rcar_du_lib_fb_create()
>
> Hi Biju,
>
> On Wed, Jul 27, 2022 at 6:08 PM Biju Das
> wrote:
> > Move the common code from rcar_du_fb_create->rcar_du_lib_fb_create,
> > so th
Hi,
> Subject: Re: [PATCH v2 1/4] drm: rcar-du: dsi: Properly stop video mode
> TX
>
> Hi,
>
> On 22/08/2022 16:25, Biju Das wrote:
> > Hi Tomi,
> >
> > Thanks for the patch.
> >
> >> Subject: [PATCH v2 1/4] drm: rcar-du: dsi: Properly sto
Hi Tomi,
Thanks for the patch.
> Subject: [PATCH v2 1/4] drm: rcar-du: dsi: Properly stop video mode TX
>
> From: Tomi Valkeinen
>
> The driver does not explicitly stop the video mode transmission when
> disabling the output. While this doesn't seem to be causing any issues,
> lets follow the
Hi Adam and all,
> Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors
>
> On Thu, Aug 4, 2022 at 9:52 AM Dave Stevenson
> wrote:
> >
> > On Thu, 4 Aug 2022 at 13:51, Marco Felsch
> wrote:
> > >
> > > Hi Dave,
> > >
> > > On 22-08-04, Dave Stevenson wrote:
> > > > Hi Marco
> > > >
> > >
Hi Adam,
> Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors
>
> On Thu, Aug 4, 2022 at 7:52 AM Marco Felsch
> wrote:
> >
> > Hi Dave,
> >
> > On 22-08-04, Dave Stevenson wrote:
> > > Hi Marco
> > >
> > > On Thu, 4 Aug 2022 at 10:38, Marco Felsch
> wrote:
> > > >
> > > > Hi Dave, Adam
is similar to RCar like DU is connected to VSPD, so most of
the framework related functionality is based on RCar DU.
Signed-off-by: Biju Das
---
v4->v5:
* Started using RCar DU libs(kms, vsp and encoder)
* Started using rcar_du_device, rcar_du_write, rcar_du_crtc,
rcar_du_format_info
Add rcar_du_lib_mode_cfg_helper_fns() in RCar DU kms lib to get the
pointer to rcar_du_mode_config_helper, so that both rcar_du_atomic_
commit_tail() and rcar_du_mode_config_helper can be reused by
rcar_du_modeset_init() and rzg2l_du_modeset_init().
Signed-off-by: Biju Das
---
v5:
* New patch
RZ/G2L supports only DSI and DPI. Add rcar_du_encoders_init() to handle
the pointer to du_output_name(), so that we can share du_encoders_init()
between RCar and RZ/G2L kms drivers.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 92
Move rcar_du_properties_init() to RCar DU kms lib, so that it can be
shared by both RCar and RZ/G2L kms drivers.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 16
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c | 16
) for Parallel Output
This patch document DU module found on RZ/G2L LCDC.
Signed-off-by: Biju Das
Reviewed-by: Rob Herring
---
v4->v5:
* Added Rb tag from Rob.
v3->v4:
* Changed compatible name from renesas,du-r9a07g044->renesas,r9a07g044-du
* started using same compatible for RZ/G2{L,LC
Move rcar_du_vsp_plane_prepare_fb() to RCar DU vsp lib so that
both RCar and RZ/G2L DU vsp drivers can share this function.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 21 -
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 21
Add rcar_du_lib_vsps_init() to RCar DU kms lib to handle both
rcar_du_vsp_init() and rzg2l_du_vsp_init().
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 88 +-
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c | 89
Move the common code from rcar_du_fb_create->rcar_du_lib_fb_create,
so that rzg2l_du_fb_create() can reuse the common code.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 64 +
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c |
Move rcar_du_vsp_plane_atomic_update() to RCar DU vsp lib so that
both RCar and RZ/G2L DU vsp drivers can share this function.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 51 ---
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 51
Move rcar_du_vsp_plane_cleanup_fb() to RCar DU vsp lib so that
it can be shared by both RCar and RZ/G2L DU vsp drivers.
Signed-off-by: Biju Das
---
v5:
* New patch
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 12
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 12
35
value: 65535
39 zpos:
flags: range
values: 0 1
value: 1
Frame buffers:
id sizepitch
Biju Das (10):
drm: rcar-du: Move rcar_du_vsp_plane_prepare_fb()
drm: rcar-du: Move rcar_du_vsp_plane_cleanup_fb()
dr
Hi,
> Subject: Re: [PATCH 02/10] drm: rcar-du: Add encoder lib support
>
> Hi Biju,
>
> Thank you for the patch! Perhaps something to improve:
>
> wget
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross
> W=
share common_init, vsp_formats and vsp_plane_funcs().
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 151 +
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 155 ++
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.h | 10 ++
3 files changed
Move vsp rcar_du_vsp_{map,unmap}_fb() to RCar DU VSP lib.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 75 ---
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 15 -
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 75 +++
drivers/gpu
Move rcar_du_gem_prime_import_sg_table() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 45 ---
drivers/gpu/drm/rcar-du/rcar_du_kms.h | 4 --
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c | 45 +++
drivers/gpu
Move rcar_du_dumb_create() to RCar DU KMS lib.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 21 ---
drivers/gpu/drm/rcar-du/rcar_du_kms.h | 3 ---
drivers/gpu/drm/rcar-du/rcar_du_kms_lib.c | 25 +++
drivers/gpu/drm/rcar-du
Add RCar DU encoder lib support by moving rcar_du_encoder_count_ports()
and rcar_du_encoder_funcs to the lib file and added
rcar_du_encoder_funcs() to share the common code between RCar and
RZ/G2L DU encoder drivers.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/Kconfig
Move rcar_du_vsp_atomic_flush() to RCar DU vsp lib.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 13 -
drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 2 --
drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.c | 13 +
drivers/gpu/drm/rcar-du
Add RCar DU kms lib support by moving rcar_du_format_infos table and
rcar_du_format_infos() to the lib file to share the common code between
RCar and RZ/G2L DU KMS drivers.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/Makefile | 3 +-
drivers/gpu/drm/rcar-du/rcar_du_kms.c
Add RZ/G2L reset and clocks to struct rcar_du_crtc, so that
we can share and optimize the common code between RCar and
RZ/G2L driver using RCar DU library.
Signed-off-by: Biju Das
---
drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers
301 - 400 of 549 matches
Mail list logo