[PATCH v7 00/17] Add RCar DU lib support

2023-04-11 Thread Biju Das
@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()

[PATCH v2 1/8] arm64: dts: renesas: r9a07g044: Add fcpvd node

2023-04-11 Thread Biju Das
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

[PATCH v2 0/8] Enable DSI and ADV7535 on RZ/G2{L, LC} and RZ/V2L platforms

2023-04-11 Thread Biju Das
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

RE: [PATCH 2/2] drm/bridge: adv7533: Add option to disable lane switching

2023-04-10 Thread Biju Das
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

RE: [PATCH 1/2] dt-bindings: drm: bridge: adi,adv7533: Document adi,disable-lanes-override property

2023-04-10 Thread Biju Das
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 ;

RE: [PATCH v6 00/19] Add RZ/G2L Display support

2023-02-14 Thread Biju Das
/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.

RE: [PATCH] dt-bindings: display: bridge: renesas,rzg2l-mipi-dsi: Document RZ/V2L support

2023-01-17 Thread Biju Das
; 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.

RE: [PATCH v6 00/19] Add RZ/G2L Display support

2023-01-09 Thread Biju Das
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.

RE: [PATCH v2 7/7] drm: rcar-du: dsi: Add r8a779g0 support

2022-11-29 Thread Biju Das
> -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.

[PATCH v6 18/19] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-11-23 Thread Biju Das
) 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

[PATCH v6 04/19] drm: rcar-du: Move rcar_du_vsp_atomic_begin()

2022-11-23 Thread Biju Das
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/

[PATCH v6 05/19] drm: rcar-du: Move rcar_du_vsp_atomic_flush()

2022-11-23 Thread Biju Das
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 |

[PATCH v6 09/19] drm: rcar-du: Add rcar_du_lib_vsp_init()

2022-11-23 Thread Biju Das
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

[PATCH v6 15/19] drm: rcar-du: Move rcar_du_encoders_init()

2022-11-23 Thread Biju Das
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

[PATCH v6 14/19] drm: rcar-du: Add rcar_du_lib_mode_cfg_helper_get()

2022-11-23 Thread Biju Das
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

[PATCH v6 10/19] drm: rcar-du: Move rcar_du_vsp_plane_prepare_fb()

2022-11-23 Thread Biju Das
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/

[PATCH v6 08/19] drm: rcar-du: Move rcar_du_gem_prime_import_sg_table()

2022-11-23 Thread Biju Das
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

[PATCH v6 07/19] drm: rcar-du: Move rcar_du_dumb_create()

2022-11-23 Thread Biju Das
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 |

[PATCH v6 06/19] drm: rcar-du: Move vsp rcar_du_vsp_{map,unmap}_fb()

2022-11-23 Thread Biju Das
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

[PATCH v6 19/19] drm: rcar-du: Add RZ/G2L DU Support

2022-11-23 Thread Biju Das
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

[PATCH v6 11/19] drm: rcar-du: Move rcar_du_vsp_plane_cleanup_fb()

2022-11-23 Thread Biju Das
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

[PATCH v6 16/19] drm: rcar-du: Move rcar_du_properties_init()

2022-11-23 Thread Biju Das
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

[PATCH v6 12/19] drm: rcar-du: Move rcar_du_vsp_plane_atomic_update()

2022-11-23 Thread Biju Das
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 |

[PATCH v6 13/19] drm: rcar-du: Add rcar_du_lib_fb_create()

2022-11-23 Thread Biju Das
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

[PATCH v6 17/19] drm: rcar-du: Add rcar_du_lib_vsps_init()

2022-11-23 Thread Biju Das
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

[PATCH v6 03/19] drm: rcar-du: Add vsp lib support

2022-11-23 Thread Biju Das
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/

[PATCH v6 02/19] drm: rcar-du: Add kms lib support

2022-11-23 Thread Biju Das
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

[PATCH v6 01/19] drm: rcar-du: Add encoder lib support

2022-11-23 Thread Biju Das
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

[PATCH v6 00/19] Add RZ/G2L Display support

2022-11-23 Thread Biju Das
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

Re: [PATCH v2 5/6] drm/fb-helper: Schedule deferred-I/O worker after writing to framebuffer

2022-11-23 Thread Biju Das
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:

[PATCH] dt-bindings: display: bridge: renesas, rzg2l-mipi-dsi: Document RZ/V2L support

2022-11-22 Thread Biju Das
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

[PATCH] drm: rcar-du: Fix Kconfig dependency between DRM and RZG2L_MIPI_DSI

2022-11-21 Thread Biju Das
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.

RE: [bug report] drm: rcar-du: Add RZ/G2L DSI driver

2022-11-18 Thread Biju Das
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

RE: [PATCH v2 02/10] drm: rcar-du: Add encoder lib support

2022-10-22 Thread Biju Das
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: >

RE: [PATCH v8 0/3] Add RZ/G2L DSI driver

2022-10-15 Thread Biju Das
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

RE: [PATCH v8 0/3] Add RZ/G2L DSI driver

2022-10-15 Thread Biju Das
> 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

[PATCH v8 3/3] drm: rcar-du: rzg2l_mipi_dsi: Enhance device lanes check

2022-09-20 Thread Biju Das
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

[PATCH v8 2/3] drm: rcar-du: Add RZ/G2L DSI driver

2022-09-20 Thread Biju Das
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

[PATCH v8 1/3] dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings

2022-09-20 Thread Biju Das
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

[PATCH v8 0/3] Add RZ/G2L DSI driver

2022-09-20 Thread Biju Das
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

RE: [PATCH v7 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-09-19 Thread Biju Das
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

[PATCH v7 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-09-16 Thread Biju Das
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

[PATCH v7 1/2] dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings

2022-09-16 Thread Biju Das
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

[PATCH v7 0/2] Add RZ/G2L DSI driver

2022-09-16 Thread Biju Das
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

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-09-15 Thread 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,

RE: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the recommended one to configure and enable regulator

2022-09-06 Thread Biju Das
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

RE: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the recommended one to configure and enable regulator

2022-09-05 Thread Biju Das
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

RE: [PATCH v3 4/5] drm/panfrost: devfreq: set opp to the recommended one to configure and enable regulator

2022-09-05 Thread Biju Das
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

[PATCH v2 10/10] drm: rcar-du: Add rcar_du_lib_vsp_init()

2022-09-02 Thread Biju Das
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/

[PATCH v2 09/10] drm: rcar-du: Move rcar_du_gem_prime_import_sg_table()

2022-09-02 Thread Biju Das
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

[PATCH v2 08/10] drm: rcar-du: Move rcar_du_dumb_create()

2022-09-02 Thread Biju Das
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 |

[PATCH v2 07/10] drm: rcar-du: Move vsp rcar_du_vsp_{map,unmap}_fb()

2022-09-02 Thread Biju Das
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

[PATCH v2 06/10] drm: rcar-du: Move rcar_du_vsp_atomic_flush()

2022-09-02 Thread Biju Das
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 |

[PATCH v2 05/10] drm: rcar-du: Move rcar_du_vsp_atomic_begin()

2022-09-02 Thread Biju Das
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

[PATCH v2 04/10] drm: rcar-du: Add vsp lib support

2022-09-02 Thread Biju Das
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

[PATCH v2 03/10] drm: rcar-du: Add kms lib support

2022-09-02 Thread Biju Das
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

[PATCH v2 02/10] drm: rcar-du: Add encoder lib support

2022-09-02 Thread Biju Das
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

[PATCH v2 01/10] drm: rcar-du: Add RZ/G2L reset and clocks to struct rcar_du_crtc

2022-09-02 Thread Biju Das
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 ++

[PATCH v2 00/10] Add RCar DU lib support

2022-09-02 Thread Biju Das
* 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

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-30 Thread Biju Das
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

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-30 Thread Biju Das
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

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-30 Thread Biju Das
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

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-30 Thread Biju Das
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:

RE: [PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-29 Thread Biju Das
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

[PATCH v6 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-29 Thread Biju Das
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/

[PATCH v6 1/2] dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings

2022-08-29 Thread Biju Das
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

[PATCH v6 0/2] Add RZ/G2L DSI driver

2022-08-29 Thread Biju Das
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

RE: [PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format

2022-08-27 Thread Biju Das
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

RE: [PATCH v5 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-27 Thread Biju Das
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

RE: [PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format

2022-08-27 Thread Biju Das
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

[PATCH v5 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-08-25 Thread Biju Das
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()

[PATCH v5 1/2] dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings

2022-08-25 Thread Biju Das
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

[PATCH v5 0/2] Add RZ/G2L DSI driver

2022-08-25 Thread Biju Das
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

[PATCH 2/2] drm: rcar-du: Use %p4cc to print 4CC format

2022-08-25 Thread Biju Das
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

[PATCH 1/2] drm: rcar-du: Drop unused encoder header files

2022-08-25 Thread Biju Das
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

RE: [PATCH v5 04/10] drm: rcar-du: Add rcar_du_lib_fb_create()

2022-08-24 Thread Biju Das
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

RE: [PATCH v2 1/4] drm: rcar-du: dsi: Properly stop video mode TX

2022-08-22 Thread Biju Das
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

RE: [PATCH v2 1/4] drm: rcar-du: dsi: Properly stop video mode TX

2022-08-22 Thread Biju Das
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

RE: imx8mm lcdif->dsi->adv7535 no video, no errors

2022-08-05 Thread Biju Das
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 > > > > > > >

RE: imx8mm lcdif->dsi->adv7535 no video, no errors

2022-08-04 Thread Biju Das
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

[PATCH v5 10/10] drm: rcar-du: Add RZ/G2L DU Support

2022-07-27 Thread Biju Das
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

[PATCH v5 05/10] drm: rcar-du: Add rcar_du_lib_mode_cfg_helper_fns()

2022-07-27 Thread Biju Das
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

[PATCH v5 06/10] drm: rcar-du: Move rcar_du_encoders_init()

2022-07-27 Thread Biju Das
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

[PATCH v5 07/10] drm: rcar-du: Move rcar_du_properties_init()

2022-07-27 Thread Biju Das
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

[PATCH v5 09/10] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-07-27 Thread Biju Das
) 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

[PATCH v5 01/10] drm: rcar-du: Move rcar_du_vsp_plane_prepare_fb()

2022-07-27 Thread Biju Das
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

[PATCH v5 08/10] drm: rcar-du: Add rcar_du_lib_vsps_init()

2022-07-27 Thread Biju Das
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

[PATCH v5 04/10] drm: rcar-du: Add rcar_du_lib_fb_create()

2022-07-27 Thread Biju Das
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 |

[PATCH v5 03/10] drm: rcar-du: Move rcar_du_vsp_plane_atomic_update()

2022-07-27 Thread Biju Das
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

[PATCH v5 02/10] drm: rcar-du: Move rcar_du_vsp_plane_cleanup_fb()

2022-07-27 Thread Biju Das
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

[PATCH v5 00/10] Add RZ/G2L Display support

2022-07-27 Thread Biju Das
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

RE: [PATCH 02/10] drm: rcar-du: Add encoder lib support

2022-07-27 Thread Biju Das
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=

[PATCH 10/10] drm: rcar-du: Add rcar_du_lib_vsp_init()

2022-07-26 Thread Biju Das
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

[PATCH 07/10] drm: rcar-du: Move vsp rcar_du_vsp_{map,unmap}_fb()

2022-07-26 Thread Biju Das
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

[PATCH 09/10] drm: rcar-du: Move rcar_du_gem_prime_import_sg_table()

2022-07-26 Thread Biju Das
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

[PATCH 08/10] drm: rcar-du: Move rcar_du_dumb_create()

2022-07-26 Thread Biju Das
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

[PATCH 02/10] drm: rcar-du: Add encoder lib support

2022-07-26 Thread Biju Das
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

[PATCH 06/10] drm: rcar-du: Move rcar_du_vsp_atomic_flush()

2022-07-26 Thread Biju Das
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

[PATCH 03/10] drm: rcar-du: Add kms lib support

2022-07-26 Thread Biju Das
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

[PATCH 01/10] drm: rcar-du: Add RZ/G2L reset and clocks to struct rcar_du_crtc

2022-07-26 Thread Biju Das
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

<    1   2   3   4   5   6   >