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

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

2022-09-02 Thread Biju Das
() to 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 enco

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
omment[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 Aug 2022 at 11:19, Bi

[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 change.

[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-28 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 enco

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

[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 change.

[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,

[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_i

[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
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() drm: rcar-du: Move rcar_du_

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 >

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

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

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

2022-07-26 Thread Biju Das
Move rcar_du_vsp_atomic_begin() to RCar DU VSP lib. Signed-off-by: Biju Das --- 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 | 5 + drivers/gpu/drm/rcar-du/rcar_du_vsp_lib.h | 2 ++ 4 files

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

2022-07-26 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 --- drivers/gpu/drm/rcar-du/Kconfig | 5 ++ drivers/gpu/drm/rcar-du/Makefile | 1 + drivers/gpu/drm

[PATCH 00/10] Add RCar DU lib support

2022-07-26 Thread Biju Das
...@os0pr01mb5922.jpnprd01.prod.outlook.com/T/#t Biju Das (10): drm: rcar-du: Add RZ/G2L reset and clocks to struct rcar_du_crtc 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: rcar

RE: [PATCH v4 0/2] Add RZ/G2L Display support

2022-07-26 Thread Biju Das
s blob decoded: > RGB8: LINEAR > AR12: LINEAR > XR12: LINEAR > AR15: LINEAR > XR15: LINEAR > RG16: LINEAR >

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

2022-07-24 Thread Biju Das
Hi Sam, Thanks for the feedback. > Subject: Re: [PATCH v4 1/2] dt-bindings: display: bridge: Document > RZ/G2L MIPI DSI TX bindings > > Hi Biju, > > On Fri, Jul 22, 2022 at 08:19:23PM +0100, Biju Das wrote: > > The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L

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

2022-07-22 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 --- v3->v4: * Updated error handling in rzg2l_mipi_dsi_startup() and rzg2l_mipi_dsi_atomic_enable() v2->v3: * pass rzg2l_mipi_dsi pointer to {Link,Phy} regis

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

2022-07-22 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 --- v3->v4: * No change. v2->v3: * Added Rb ta

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

2022-07-22 Thread Biju Das
ps://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: Document RZ/G2L M

[PATCH v4 2/2] drm: rcar-du: Add RZ/G2L DU Support

2022-07-22 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 --- v3->v4: * Removed rzg2l_du_group.h and struct rzg2l_du_group * Renamed __rzg2l_du_group_start_stop->rzg2l_du_start_stop * R

[PATCH v4 1/2] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-07-22 Thread Biju Das
) for Parallel Output This patch document DU module found on RZ/G2L LCDC. Signed-off-by: Biju Das --- v3->v4: * Changed compatible name from renesas,du-r9a07g044->renesas,r9a07g044-du * started using same compatible for RZ/G2{L,LC} v3: New patch --- .../bindings/display/renesas,rzg2l-d

[PATCH v4 0/2] Add RZ/G2L Display support

2022-07-22 Thread Biju Das
V16: LINEAR YU24: LINEAR YV24: LINEAR 37 alpha: flags: range values: 0 65535 value: 65535 38 zpos: flags: range values: 1 1 value: 1 Frame bu

RE: [PATCH v3 0/2] Add RZ/G2L DSI driver

2022-07-14 Thread Biju Das
struct rzg2l_mipi_dsi > > * Added error check for pm, using pm_runtime_resume_and_get() instead > of > >pm_runtime_get_sync() > > * Added check for unsupported formats in rzg2l_mipi_dsi_host_attach() > > * Avoided read-modify-write stopping hsclock > > * Used devm_p

RE: [PATCH v3 4/4] drm: rcar-du: Add RZ/G2L DU Support

2022-06-07 Thread Biju Das
raster operations (ROPs). > > The DU part 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 > --- > v3: > * New patch after removing all the indirections and by adding >new D

RE: [PATCH v3 3/4] drm: rcar-du: Add num_rpf to struct rcar_du_device_info

2022-06-07 Thread Biju Das
ent on R-Car and RZ/G2L R-Car Gen3 -> 5 > RPFs R-Car Gen2 -> 4 RPFs RZ/G2L -> 2 RPFs > > Add num_rpf to struct rcar_du_device_info to support later SoC without > any code changes. > > Signed-off-by: Biju Das > Reviewed-by: Laurent Pinchart > --- > v2

RE: [PATCH v3 0/2] Add RZ/G2L DSI driver

2022-05-31 Thread Biju Das
ch() > * Avoided read-modify-write stopping hsclock > * Used devm_platform_ioremap_resource for resource allocation > * Removed unnecessary assert call from probe and remove. > * wrap the line after the PTR_ERR() in probe() > * Updated reset failure messages in probe > *

RE: [PATCH v2] drm: rcar-du: Fix Alpha blending issue on Gen3

2022-05-17 Thread Biju Das
Hi Kieran, > Subject: Re: [PATCH v2] drm: rcar-du: Fix Alpha blending issue on Gen3 > > Quoting Biju Das (2022-04-26 09:41:57) > > From: LUU HOAI > > > > As per R-Car-Gen3_Common_OPC_Customer_Notifications_V30.1.pdf, > > unexpected image output(such as

[PATCH v2] drm: rcar-du: Fix Alpha blending issue on Gen3

2022-04-26 Thread Biju Das
•or DU2 and DU3(H3 Only) is used for display at the same time oDSPR2= 0x 0001 and DSPR3= 0x 0003 oDSPR2= 0x 0003 and DSPR3= 0x 0001 This patch set PnALPHAR register to 0 to avoid this issue. Signed-off-by: LUU HOAI Signed-off-by: Biju Das --- v1->

RE: [PATCH] drm: rcar-du: Add setting to PnALPHAR register on Gen3

2022-04-25 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH] drm: rcar-du: Add setting to PnALPHAR register on > Gen3 > > Hi Biju, > > On Sun, Apr 24, 2022 at 04:12:08PM +, Biju Das wrote: > > > Subject: Re: [PATCH] drm: rcar-du: Add setting to PnALPHAR register &

RE: [PATCH v3 2/4] drm: rcar-du: Fix typo

2022-04-24 Thread Biju Das
Hi Laurent, > Subject: Re: [PATCH v3 2/4] drm: rcar-du: Fix typo > > Hello, > > On Fri, Apr 22, 2022 at 09:38:00AM +, Biju Das wrote: > > > Subject: Re: [PATCH v3 2/4] drm: rcar-du: Fix typo On Thu, Apr 21, > > > 2022 at 6:31 PM Biju Das wrote: > > &g

RE: [PATCH] drm: rcar-du: Add setting to PnALPHAR register on Gen3

2022-04-24 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH] drm: rcar-du: Add setting to PnALPHAR register on > Gen3 > > Hi Biju, > > Thank you for the patch. > > On Sat, Apr 23, 2022 at 08:37:28AM +0100, Biju Das wrote: > > From: LUU HOAI > > >

[PATCH] drm: rcar-du: Add setting to PnALPHAR register on Gen3

2022-04-23 Thread Biju Das
register will be released in the R-Car Gen3 Hardware Manual Rev 2.4 (Sep. 2021). Signed-off-by: LUU HOAI Signed-off-by: Biju Das --- This patch is based on [1] [1] https://github.com/renesas-rcar/linux-bsp/commit/fcb34fe338cbde0a64919430733541035f20a784 Not sure this patches has to go with Fixes tag

RE: [PATCH v3 2/4] drm: rcar-du: Fix typo

2022-04-22 Thread Biju Das
Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v3 2/4] drm: rcar-du: Fix typo > > Hi Biju, > > On Thu, Apr 21, 2022 at 6:31 PM Biju Das > wrote: > > Fix typo rcar_du_vsp.h->rcar_du_vsp.c > > > > Signed-off-by: Biju Das > > Thanks for

RE: [PATCH v3 1/4] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-04-22 Thread Biju Das
Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v3 1/4] dt-bindings: display: Document Renesas RZ/G2L > DU bindings > > Hi Biju, > > On Fri, Apr 22, 2022 at 10:11 AM Biju Das > wrote: > > > Subject: Re: [PATCH v3 1/4] dt-bindings: display: Document Re

RE: [PATCH v3 1/4] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-04-22 Thread Biju Das
Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v3 1/4] dt-bindings: display: Document Renesas RZ/G2L > DU bindings > > Hi Biju, > > On Thu, Apr 21, 2022 at 6:31 PM Biju Das > wrote: > > The RZ/G2L LCD controller is composed of Frame Compression Processo

[PATCH v3 4/4] drm: rcar-du: Add RZ/G2L DU Support

2022-04-21 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 --- v3: * New patch after removing all the indirections and by adding new DRM driver. --- drivers/gpu/drm/rcar-du/Kconfig | 16 +- drivers

[PATCH v3 3/4] drm: rcar-du: Add num_rpf to struct rcar_du_device_info

2022-04-21 Thread Biju Das
Number of RPF's VSP is different on R-Car and RZ/G2L R-Car Gen3 -> 5 RPFs R-Car Gen2 -> 4 RPFs RZ/G2L -> 2 RPFs Add num_rpf to struct rcar_du_device_info to support later SoC without any code changes. Signed-off-by: Biju Das Reviewed-by: Laurent Pinchart --- v2->v3: * Added

[PATCH v3 2/4] drm: rcar-du: Fix typo

2022-04-21 Thread Biju Das
Fix typo rcar_du_vsp.h->rcar_du_vsp.c Signed-off-by: Biju Das --- v3: * New patch --- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_vsp.c b/drivers/gpu/drm/rcar-du/rcar_du_vsp.c index 8eb9b2b09

[PATCH v3 1/4] dt-bindings: display: Document Renesas RZ/G2L DU bindings

2022-04-21 Thread Biju Das
) for Parallel Output This patch document DU module found on RZ/G2L LCDC. Signed-off-by: Biju Das --- v3: New patch --- .../bindings/display/renesas,rzg2l-du.yaml| 159 ++ 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/renesas

[PATCH v3 0/4] Add RZ/G2L Display support

2022-04-21 Thread Biju Das
atchwork.kernel.org/project/linux-renesas-soc/patch/20220112174612.10773-19-biju.das...@bp.renesas.com/ Biju Das (4): dt-bindings: display: Document Renesas RZ/G2L DU bindings drm: rcar-du: Fix typo drm: rcar-du: Add num_rpf to struct rcar_du_device_info drm: rcar-du: Add RZ/G2L DU Support .

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

2022-04-20 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 --- v2->v3: * pass rzg2l_mipi_dsi pointer to {Link,Phy} register rd/wr function instead of the memory pointer * Fixed the comment in rzg2l_mipi_dsi_star

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

2022-04-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 --- v2->v3: * Added Rb tag from Geert and Laur

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

2022-04-20 Thread Biju Das
2174612.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: Document RZ/G2L MIPI DSI TX bindings drm: rcar-du: Add RZ/G2L DSI driver .../bindings/display/bridge/

RE: [PATCH v2 5/7] drm: rcar-du: Factorise rcar_du_{atomic_check,modeset_init}

2022-04-20 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 5/7] drm: rcar-du: Factorise > rcar_du_{atomic_check,modeset_init} > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 16, 2022 at 01:10:58PM +, Biju Das wrote: > > RZ/G2L SoC's does

RE: [PATCH v2 4/7] drm: rcar-du: Move rcar_du_output_name() to rcar_du_common.c

2022-04-20 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 4/7] drm: rcar-du: Move rcar_du_output_name() to > rcar_du_common.c > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 16, 2022 at 01:10:57PM +, Biju Das wrote: > > RZ/G2L SoC's does

RE: [PATCH v2 3/7] drm: rcar-du: Add max_width and max_height to struct rcar_du_device_info

2022-04-20 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 3/7] drm: rcar-du: Add max_width and max_height to > struct rcar_du_device_info > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 16, 2022 at 01:10:56PM +, Biju Das wrote: > > There are s

RE: [PATCH v2 2/7] drm: rcar-du: Add num_rpf to struct rcar_du_device_info

2022-04-20 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 2/7] drm: rcar-du: Add num_rpf to struct > rcar_du_device_info > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 16, 2022 at 01:10:55PM +, Biju Das wrote: > > Number of RPF's VSP is differ

RE: [PATCH v2 1/7] dt-bindings: display: renesas,du: Document r9a07g044l bindings

2022-04-20 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 1/7] dt-bindings: display: renesas,du: Document > r9a07g044l bindings > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 16, 2022 at 01:10:54PM +, Biju Das wrote: > > Extend the Renesas

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

2022-04-19 Thread Biju Das
Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v2 1/2] dt-bindings: display: bridge: Document RZ/G2L > MIPI DSI TX bindings > > Hi Biju, > > On Mon, Mar 28, 2022 at 8:49 AM Biju Das > wrote: > > The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G

[PATCH] drm: bridge: adv7511: Enable DRM_BRIDGE_OP_HPD based on HPD interrupt

2022-04-19 Thread Biju Das
. Signed-off-by: Biju Das --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index 668dcefbae17..b3f10c54e064 100644 --- a/drivers/gpu/drm

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

2022-04-18 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 2/2] drm: rcar-du: Add RZ/G2L DSI driver > > Hi Biju, > > Thank you for the patch. > > On Mon, Mar 28, 2022 at 07:51:15AM +0100, Biju Das wrote: > > This driver supports the MIPI DSI enco

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

2022-04-18 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH v2 1/2] dt-bindings: display: bridge: Document RZ/G2L > MIPI DSI TX bindings > > Hi Biju, > > Thank you for the patch. > > On Mon, Mar 28, 2022 at 07:49:30AM +0100, Biju Das wrote: > > The RZ/G2L MIPI DSI

RE: [PATCH v2 0/2] Add RZ/G2L DSI driver

2022-04-14 Thread Biju Das
m_platform_ioremap_resource for resource allocation > * Removed unnecessary assert call from probe and remove. > * 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. &g

RE: [PATCH v2 0/7] Add RZ/G2L Display support

2022-04-14 Thread Biju Das
C619fcf75486d47a9954408da074e6e1b%7C53d82571da1947e49cb4625a166a4a2 > a%7C0%7C0%7C637830330678043182%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDA > iLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=1y%2Bd5Yb > UoXnMZL97%2F4LTcG8IDtze%2FW%2BwzHRXBEbUgSw%3Dreserved=0 > > Biju

RE: [PATCH v2 1/7] dt-bindings: display: renesas,du: Document r9a07g044l bindings

2022-04-12 Thread Biju Das
Hi Geert, Thanks for the feedback > Subject: Re: [PATCH v2 1/7] dt-bindings: display: renesas,du: Document > r9a07g044l bindings > > Hi Biju, > > On Wed, Mar 16, 2022 at 2:11 PM Biju Das > wrote: > > Extend the Renesas DU display bindings to support the r9a07g044

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

2022-03-28 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 --- v1->v2: * Rework based on dt-binding change (DSI + D-PHY) as single block * Replaced link_mmio and phy_mmio with mmio in struct rzg2l_mipi_dsi * Repla

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

2022-03-28 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 --- v1->v2: * Added full path for dsi-controller.yaml * Modeled DSI + D-PHY as single block and updated reg property * Fixed typo D_PHY->

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

2022-03-28 Thread Biju Das
2174612.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: Document RZ/G2L MIPI DSI TX bindings drm: rcar-du: Add RZ/G2L DSI driver .../bindin

<    1   2   3   4   5   6   >