Re: [PATCH] drm/lima: add trace point for tasks

2020-03-14 Thread Vasily Khoruzhick
On Sat, Mar 7, 2020 at 5:55 AM Qiang Yu wrote: > > track lima task start which can be combined with > dma_fence_signal to identify task execution time. > > example command to record: > > trace-cmd record -i \ > -e "lima:lima_task_submit" -e "lima:lima_task_run" \ > -e "*fence:*fence_signaled"

Re: [PATCH 0/5] drm/lima: add error debug functionality

2020-03-14 Thread Vasily Khoruzhick
On Fri, Feb 21, 2020 at 6:43 PM Qiang Yu wrote: > > Save task error state when it fail and export to user by > sysfs as a binary file which can be dumped and replayed > by lima_dump tool at: > https://gitlab.freedesktop.org/lima/lima_dump With v2 of Patch 3, series is: Reviewed-by: Vasily

Re: [PATCH v2] dt-bindings: display: ti: Fix dtc unit-address warnings in examples

2020-03-14 Thread Jyri Sarha
On 13/03/2020 20:07, Rob Herring wrote: > Extra dtc warnings (roughly what W=1 enables) are now enabled by default > when building the binding examples. These were fixed treewide in > 5.6-rc5, but some new display bindings have been added with new > warnings: > >

[PATCH v1 2/3] drm/panel-simple: drop use of data-mapping property

2020-03-14 Thread Sam Ravnborg
The "data-mapping" property may not be the best way to describe the interface between panels and display interfaces. Drop use of in the panel-simple driver, so we have time to find the right way to describe this interface. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Rob Herring Cc:

[PATCH v1 3/3] dt-bindings: display: grammar fixes in panel/

2020-03-14 Thread Sam Ravnborg
Fix a few grammar/editorial issues spotted by Laurent Pinchart. Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Rob Herring --- .../bindings/display/panel/display-timings.yaml | 8 .../devicetree/bindings/display/panel/panel-common.yaml | 4 ++-- 2 files changed, 6

[PATCH v1 0/3] drm: drop data-mapping property from panel-dpi

2020-03-14 Thread Sam Ravnborg
With the review of Laurent Pinchart we realised that the data-mapping property introduced in panel-dpi binding is not the right solution. Remove it now, while we are working on finding a better way to specify the interface between panels and display interfaces. Include a patch to fix some

[PATCH v1 1/3] dt-bindings: display: drop data-mapping from panel-dpi

2020-03-14 Thread Sam Ravnborg
data-mapping may not be the best way to describe the data format used between panels and display interface. Drop it from the panel-dpi binding so we do not start to rely on it. We can then work out how to best describe this mapping and when we know it, we can add it to this binding.

Re: [RESEND PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation)

2020-03-14 Thread Krzysztof Kozlowski
On Wed, Feb 19, 2020 at 06:49:59PM +0100, Krzysztof Kozlowski wrote: > The ioreadX() and ioreadX_rep() helpers have inconsistent interface. On > some architectures void *__iomem address argument is a pointer to const, > on some not. > > Implementations of ioreadX() do not modify the memory under

Re: [RESEND PATCH v2 6/9] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)

2020-03-14 Thread Krzysztof Kozlowski
On Thu, Mar 12, 2020 at 11:49:05AM +0100, Thomas Zimmermann wrote: > Hi Krzysztof, > > I just received a resend email from 3 weeks ago :/ > > Do you want me to merge the mgag200 patch into drm-misc-next? Thanks but it depends on the first patch in the series so either it could go with your ack

Re: [PATCH 3/5] drm: panel: add Xingbangda XBD599 panel

2020-03-14 Thread Sam Ravnborg
Hi Icenowy > >> +++ b/drivers/gpu/drm/panel/panel-xingbangda-xbd599.c > >> @@ -0,0 +1,367 @@ > >> +// SPDX-License-Identifier: GPL-2.0 > >> +/* > >> + * Xingbangda XBD599 MIPI-DSI panel driver > >> + * > >> + * Copyright (C) 2019 Icenowy Zheng > >2020? > > The work started at Mid 2019. > > Is

Re: [PATCH 3/5] drm: panel: add Xingbangda XBD599 panel

2020-03-14 Thread Sam Ravnborg
Hi Icenowy A few details in the following. Sam On Thu, Mar 12, 2020 at 12:33:27AM +0800, Icenowy Zheng wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by > Xingbangda, which is used on PinePhone final assembled phones. > > Add support for it. > >

Re: [PATCH 2/5] dt-bindings: panel: add binding for Xingbangda XBD599 panel

2020-03-14 Thread Sam Ravnborg
Hi Icenowy A few comment below. Sam On Thu, Mar 12, 2020 at 12:33:26AM +0800, Icenowy Zheng wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. > > Add its device tree binding. > > Signed-off-by: Icenowy Zheng > --- > .../display/panel/xingbangda,xbd599.yaml | 50

Re: [PATCH v4 1/2] dt-bindings: display: Add idk-1110wr binding

2020-03-14 Thread Sam Ravnborg
Hi Prabhakar On Wed, Mar 11, 2020 at 08:03:39PM +, Lad Prabhakar wrote: > From: Fabrizio Castro > > Add binding for the idk-1110wr LVDS panel from Advantech. > > Some panel-specific documentation can be found here: >

Re: [PATCH] drm/tiny: fix sparse warning: incorrect type in assignment (different base types)

2020-03-14 Thread Sam Ravnborg
Hi Kamlesh On Sun, Mar 08, 2020 at 09:44:44PM +0530, Kamlesh Gurudasani wrote: > This fixes the following sparse warning: > > drivers/gpu/drm/tiny/ili9486.c:61:16: sparse: sparse: incorrect type in > assignment (different base types) > drivers/gpu/drm/tiny/ili9486.c:61:16: sparse:expected

Re: [PATCH v1 1/1] dt-bindings: display: fix panel warnings

2020-03-14 Thread Sam Ravnborg
On Sun, Mar 08, 2020 at 12:50:17PM +0100, Sam Ravnborg wrote: > Fix following type af warnings in the panel bindings: > > Warning (unit_address_vs_reg): /example-0/dsi/panel: node has a reg or ranges > property, but no unit name > Warning (unit_address_vs_reg): /example-0/dsi@ff45: node has