All of lore.kernel.org
 help / color / mirror / Atom feed
* RCAR CMM : features and improvements
@ 2022-06-24  9:18 Harsha Manjula Mallikarjun (MS/ECF3-XC)
       [not found] ` <165607346815.1149771.3928519467340826398@Monstersaurus>
  0 siblings, 1 reply; 2+ messages in thread
From: Harsha Manjula Mallikarjun (MS/ECF3-XC) @ 2022-06-24  9:18 UTC (permalink / raw)
  To: kieran@bingham.xyz, laurent.pinchart+renesas
  Cc: linux-renesas-soc, Friedrich Eugen (ADITG/ESM1),
	Rajendraprasad Karammel Jayakumar (MS/ECF3-XC),
	Nguyen Trong Vinh (MS/EMC31-XC)

Hi Kieran, Hi Laurent,

We are planning to put some efforts to improve and add, on top of the RCAR CMM patches[1] and upstream them.
Following are the add-ons/improvements planned. If there are some activities with respect RCAR CMM, are ongoing already in upstream, we are happy to be involved in it and can spare efforts.

1. Double buffering support for CLU, LUT tables.
2. Add worker thread in rcar_cmm to apply the table settings. To apply the CLU settings time taken is around ~7ms. This looks a bit high and more importantly it just blocks the compositor.
3. With the patches[1] I see that CLU settings are written to registers but, the display does not show any change. Also, I see a short freeze on the display. This needs to be resolved.

Also we have some patches for weston drm-backend which can set the 3DLUT, but they could not be up-streamed because drm object properties "CUBIC_LUT" and "CUBIC_LUT_SIZE" are not the standard ones yet.

[1]: https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=404647

Best regards,

Harsha MM

ES-CM Core fn,ADIT (RBEI/ECF3)
Bosch Global Software Technologies Private Limited
Tel. +91 80 6136-4443


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RCAR CMM : features and improvements
       [not found] ` <165607346815.1149771.3928519467340826398@Monstersaurus>
@ 2022-06-26 23:12   ` Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2022-06-26 23:12 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: Harsha Manjula Mallikarjun, kieran, kieran, linux-renesas-soc,
	Friedrich Eugen, Rajendraprasad Karammel Jayakumar,
	Nguyen Trong Vinh

Hello,

On Fri, Jun 24, 2022 at 01:24:28PM +0100, Kieran Bingham wrote:
> Quoting Harsha Manjula Mallikarjun (MS/ECF3-XC) (2022-06-24 10:18:14)
> > Hi Kieran, Hi Laurent,
> > 
> > We are planning to put some efforts to improve and add, on top of the
> > RCAR CMM patches[1] and upstream them.  Following are the
> > add-ons/improvements planned. If there are some activities with
> > respect RCAR CMM, are ongoing already in upstream, we are happy to be
> > involved in it and can spare efforts.
> > 
> > 1. Double buffering support for CLU, LUT tables.
> 
> > 2. Add worker thread in rcar_cmm to apply the table settings. To apply
> >    the CLU settings time taken is around ~7ms. This looks a bit high and
> >    more importantly it just blocks the compositor.
> 
> > 3. With the patches[1] I see that CLU settings are written to
> >    registers but, the display does not show any change. Also, I see a
> >    short freeze on the display. This needs to be resolved.
> > 
> > Also we have some patches for weston drm-backend which can set the
> > 3DLUT, but they could not be up-streamed because drm object properties
> > "CUBIC_LUT" and "CUBIC_LUT_SIZE" are not the standard ones yet.
> 
> Reading [2], I think one of the blockers to getting [1] merged was the
> lack of such an implementation to userspace. So I think if you were able
> to share/post that - it would help unblock the upstreaming.

Even if the patches can't be upstreamed in Weston yet, posting them as
RFC to show how the new DRM properties are used would be extremely
helpful to get the kernel side merged.

> Your results above warrant further investigation though, as indeed 7ms
> to set some registers sounds quite high, even if it is a large table,
> and even more so if they are not taking effect.
>  
> > [1]: https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=404647
>   [2]: https://patchwork.kernel.org/project/linux-renesas-soc/patch/20201221015730.28333-4-laurent.pinchart+renesas@ideasonboard.com/

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-26 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  9:18 RCAR CMM : features and improvements Harsha Manjula Mallikarjun (MS/ECF3-XC)
     [not found] ` <165607346815.1149771.3928519467340826398@Monstersaurus>
2022-06-26 23:12   ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.