[PATCH v3 1/5] dt-bindings: display: Add bindings for JDI LPM102A188A

2023-08-07 Thread Diogo Ivo
The LPM102A188A is a 10.2" 2560x1800 IPS panel found in the Google Pixel C. Signed-off-by: Diogo Ivo Reviewed-by: Krzysztof Kozlowski --- Changes in v2: - removed the touch screen property Changes in v3: - add Reviewed-by from Krzysztof Kozlowski .../display/panel/jdi,lpm102a188a

[PATCH v3 2/5] drm/panel: Add driver for JDI LPM102A188A

2023-08-07 Thread Diogo Ivo
-tegra-dragon-3.18-oreo/drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c Signed-off-by: Diogo Ivo --- Changes in v2: - tuned backlight delays Changed in v3: - removed "-dsi" from driver name, renamed "control"->"command" (Rayyan Ansari) - fix error handling - remove

[PATCH v3 0/5] Add JDI LPM102A188A display panel support

2023-08-07 Thread Diogo Ivo
Reviewed-by - Patch 2: fix error handling, remove enabled/prepared booleans, add dc/dc setting - Patches 3-5: Split previous patch 3 into three different patches, each adding a separate node - removed previous patch 2 pertaining to Tegra DSI reset as it was upstreamed Diogo Ivo (5): dt

Re: [PATCH v2 0/2] Enable GPU on Smaug

2023-06-07 Thread Diogo Ivo
On Tue, May 16, 2023 at 09:28:27AM +0100, Diogo Ivo wrote: > Hello, > > This patch series enables the use of the GM20B GPU in the > Google Pixel C. > > Patch 1 adds the needed regulator DT node for the GPU. > > Patch 2 enables the GPU in the DT. Hello, Gentle ping on t

[PATCH v2 1/2] arm64: dts: tegra: smaug: add GPU power rail regulator

2023-05-16 Thread Diogo Ivo
Add the GPU power rail regulator node for the Pixel C. Signed-off-by: Diogo Ivo --- V1 -> V2: Use generic DT node name and GPIO flag defines (Krzysztof Kozlowski) arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/a

[PATCH v2 2/2] arm64: dts: tegra: smaug: add GPU node

2023-05-16 Thread Diogo Ivo
Enable the GPU on the Pixel C. Signed-off-by: Diogo Ivo --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts index 929372f24339..db25f3ae8e0b

[PATCH v2 0/2] Enable GPU on Smaug

2023-05-16 Thread Diogo Ivo
@tecnico.ulisboa.pt/ V1 -> V2: - Patch 1: Use generic DT node name for regulator and GPIO flag defines. Best regards, Diogo Ivo (2): arm64: dts: tegra: smaug: add GPU power rail regulator arm64: dts: tegra: smaug: add GPU node arch/arm64/boot/dts/nvidia/tegra210-smaug.dts |

Re: [PATCH 0/2] drm/tegra: handle implicit scanout modifiers

2023-01-30 Thread Diogo Ivo
On Tue, Jan 24, 2023 at 03:25:09PM +0100, Thierry Reding wrote: > On Fri, Jan 20, 2023 at 10:58:56AM +0000, Diogo Ivo wrote: > > Hello! > > > > This patch series adds support for correctly displaying tiled > > framebuffers when no modifiers are reported by users

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-30 Thread Diogo Ivo
On Mon, Jan 30, 2023 at 08:36:06AM +1000, Ben Skeggs wrote: > On Fri, 27 Jan 2023 at 20:42, Diogo Ivo wrote: > > > > On Fri, Jan 27, 2023 at 04:00:59PM +1000, Ben Skeggs wrote: > > > On Fri, 20 Jan 2023 at 21:37, Diogo Ivo > > > wrote: > > > > >

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-27 Thread Diogo Ivo
On Fri, Jan 27, 2023 at 10:03:17AM +0100, Nicolas Chauvet wrote: > I've tried to run glmark2-wayland under weston with DRI_PRIME=1, it > seems to work at the beginning, but then I have the following error: > > [ 1510.861730] nouveau 5700.gpu: gr: DATA_ERROR 0003 > [INVALID_OPERATION] ch 3

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-27 Thread Diogo Ivo
On Fri, Jan 27, 2023 at 04:00:59PM +1000, Ben Skeggs wrote: > On Fri, 20 Jan 2023 at 21:37, Diogo Ivo wrote: > > > > On Wed, Jan 18, 2023 at 11:28:49AM +1000, Ben Skeggs wrote: > > > On Mon, 16 Jan 2023 at 22:27, Diogo Ivo > > > wrote: > > > > On

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-20 Thread Diogo Ivo
On Wed, Jan 18, 2023 at 11:28:49AM +1000, Ben Skeggs wrote: > On Mon, 16 Jan 2023 at 22:27, Diogo Ivo wrote: > > On Mon, Jan 16, 2023 at 07:45:05AM +1000, David Airlie wrote: > > > As a quick check can you try changing > > > > > &g

[PATCH 1/2] drm/tegra: add sector layout to SET/GET_TILING IOCTLs

2023-01-20 Thread Diogo Ivo
Signed-off-by: Diogo Ivo --- drivers/gpu/drm/tegra/drm.c | 29 + include/uapi/drm/tegra_drm.h | 16 ++-- 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 6748ec1e0005..27afb7fa6

[PATCH 2/2] drm/tegra: add scanout support for implicit tiling parameters

2023-01-20 Thread Diogo Ivo
so that the framebuffer is correctly scanned out. Signed-off-by: Diogo Ivo --- drivers/gpu/drm/tegra/fb.c | 59 -- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/fb.c b/drivers/gpu/drm/tegra/fb.c index 9291209154a7

[PATCH 0/2] drm/tegra: handle implicit scanout modifiers

2023-01-20 Thread Diogo Ivo
the buffer object passed to create a framebuffer is allocated with non-linear tiling but no modifier is reported. Diogo Ivo (2): drm/tegra: add sector layout to SET/GET_TILING IOCTLs drm/tegra: add scanout support for implicit tiling parameters drivers/gpu/drm/tegra/drm.c | 29

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-16 Thread Diogo Ivo
On Mon, Jan 16, 2023 at 07:45:05AM +1000, David Airlie wrote: > On Thu, Dec 29, 2022 at 12:58 AM Diogo Ivo > wrote: > As a quick check can you try changing > > drivers/gpu/drm/nouveau/nvkm/core/firmware.c:nvkm_firmware_mem_target > from NVKM_MEM_TARGET_HOST to NVKM_MEM_TA

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-14 Thread Diogo Ivo
On Sat, Jan 14, 2023 at 04:27:38AM +0100, Karol Herbst wrote: > I tried to look into it, but my jetson nano, just constantly behaves > in very strange ways. I tried to compile and install a 6.1 kernel onto > it, but any kernel just refuses to boot and I have no idea what's up > with that device.

Re: [REGRESSION] GM20B probe fails after commit 2541626cfb79

2023-01-14 Thread Diogo Ivo
On Fri, Jan 13, 2023 at 02:19:06PM +0100, Linux kernel regression tracking (Thorsten Leemhuis) wrote: > Diogo, for that it would be really helpful to known: is the issue still > happening with latest mainline? Is it possible to revert 2541626cfb79 > easily? And if so: do things work afterwards

Re: [PATCH v2 0/4] Add JDI LPM102A188A display panel support

2023-01-09 Thread Diogo Ivo
On Tue, Oct 25, 2022 at 04:37:43PM +0100, Diogo Ivo wrote: > Hello, > > These patches add support for the JDI LPM102A188A display panel, > found in the Google Pixel C. > > Patch 1 adds the DT bindings for the panel. > > Patch 2 adds a register clear to the

[REGRESSION] GM20B probe fails after commit 2541626cfb79

2022-12-28 Thread Diogo Ivo
#regzbot introduced: 2541626cfb79 Thanks, Diogo Ivo

Re: [v2,3/4] drm/panel: Add driver for JDI LPM102A188A

2022-12-27 Thread Diogo Ivo
Hello, On Fri, Dec 23, 2022 at 03:33:40PM +, Rayyan Ansari wrote: > On 25/10/2022 16:37, Diogo Ivo wrote: > > +config DRM_PANEL_JDI_LPM102A188A > > + tristate "JDI LPM102A188A DSI panel" > > + depends on OF && GPIOLIB > >

Re: [PATCH v2 RESEND 0/4] Add JDI LPM102A188A display panel support

2022-12-22 Thread Diogo Ivo
On Mon, Nov 28, 2022 at 04:28:48PM +, Diogo Ivo wrote: > Hello, > > These patches add support for the JDI LPM102A188A display panel, > found in the Google Pixel C. Hello, Gentle ping on this series. Thank you, Diogo Ivo

[PATCH v2 RESEND 3/4] drm/panel: Add driver for JDI LPM102A188A

2022-11-28 Thread Diogo Ivo
-tegra-dragon-3.18-oreo/drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c Signed-off-by: Diogo Ivo --- Changes in v2: - tuned backlight delays drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 509

[PATCH v2 RESEND 0/4] Add JDI LPM102A188A display panel support

2022-11-28 Thread Diogo Ivo
backlight delay values - Patch 4: add generic node names, remove underscores Thank you. Diogo Ivo (4): dt-bindings: display: Add bindings for JDI LPM102A188A drm/tegra: dsi: Clear enable register if powered by bootloader drm/panel: Add driver for JDI LPM102A188A arm64: dts: smaug: Add display

[PATCH v2 RESEND 2/4] drm/tegra: dsi: Clear enable register if powered by bootloader

2022-11-28 Thread Diogo Ivo
In cases where the DSI module is left on by the bootloader some panels may fail to initialize if the enable register is not cleared before the panel's initialization sequence is sent, so clear it if that is the case. Signed-off-by: Diogo Ivo --- Changes in v2: - detect if the DSI module

[PATCH v2 RESEND 4/4] arm64: dts: smaug: Add display panel node

2022-11-28 Thread Diogo Ivo
The Google Pixel C has a JDI LPM102A188A display panel. Add a DT node for it. Tested on Pixel C. Signed-off-by: Diogo Ivo --- Changes in v2: - renamed backlight node to a generic name - removed underscores arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 70 +++ 1 file changed

[PATCH v2 4/4] arm64: dts: smaug: Add display panel node

2022-10-25 Thread Diogo Ivo
The Google Pixel C has a JDI LPM102A188A display panel. Add a DT node for it. Tested on Pixel C. Signed-off-by: Diogo Ivo --- Changes in v2: - renamed backlight node to a generic name - removed underscores arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 70 +++ 1 file changed

[PATCH v2 3/4] drm/panel: Add driver for JDI LPM102A188A

2022-10-25 Thread Diogo Ivo
-tegra-dragon-3.18-oreo/drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c Signed-off-by: Diogo Ivo --- Changes in v2: - tuned backlight delays drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 509

[PATCH v2 2/4] drm/tegra: dsi: Clear enable register if powered by bootloader

2022-10-25 Thread Diogo Ivo
In cases where the DSI module is left on by the bootloader some panels may fail to initialize if the enable register is not cleared before the panel's initialization sequence is sent, so clear it if that is the case. Signed-off-by: Diogo Ivo --- Changes in v2: - detect if the DSI module

[PATCH v2 1/4] dt-bindings: display: Add bindings for JDI LPM102A188A

2022-10-25 Thread Diogo Ivo
The LPM102A188A is a 10.2" 2560x1800 IPS panel found in the Google Pixel C. Signed-off-by: Diogo Ivo --- Changes in v2: - removed the touch screen property .../display/panel/jdi,lpm102a188a.yaml| 94 +++ 1 file changed, 94 insertions(+) create mode 1

[PATCH v2 0/4] Add JDI LPM102A188A display panel support

2022-10-25 Thread Diogo Ivo
in v2: - Patch 1: remove touchscreen reset gpio property - Patch 2: clear register based on its value rather than a DT property - Patch 3: tune backlight delay values - Patch 4: add generic node names, remove underscores Thank you. Diogo Ivo (4): dt-bindings: display: Add bindings for JDI

Re: [PATCH 1/4] dt-bindings: display: Add bindings for JDI LPM102A188A

2022-10-04 Thread Diogo Ivo
On Tue, Oct 04, 2022 at 01:05:04PM +0200, Krzysztof Kozlowski wrote: > On 03/10/2022 19:06, Diogo Ivo wrote: > > On Fri, Sep 30, 2022 at 12:49:31PM +0200, Krzysztof Kozlowski wrote: > >> Isn't touchscreen a separate (input) device? > > > > Hello, thank you for th

Re: [PATCH 2/4] drm/tegra: dsi: Clear enable register if powered by bootloader

2022-10-03 Thread Diogo Ivo
On Fri, Sep 30, 2022 at 01:11:10PM +0200, Thierry Reding wrote: > On Thu, Sep 29, 2022 at 06:05:00PM +0100, Diogo Ivo wrote: > > + > > err = tegra_dsi_prepare(dsi); > > if (err < 0) { > > dev_err(dsi->dev, "failed to prepare: %d\n",

Re: [PATCH 1/4] dt-bindings: display: Add bindings for JDI LPM102A188A

2022-10-03 Thread Diogo Ivo
On Fri, Sep 30, 2022 at 12:49:31PM +0200, Krzysztof Kozlowski wrote: > > + ts-reset-gpios: > > +maxItems: 1 > > +description: | > > + Specifier for a GPIO connected to the touchscreen reset control > > signal. > > + The reset signal is active low. > > Isn't touchscreen a

[PATCH 3/4] drm/panel: Add driver for JDI LPM102A188A

2022-09-29 Thread Diogo Ivo
-tegra-dragon-3.18-oreo/drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c Signed-off-by: Diogo Ivo --- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 513 ++ 3 files changed, 525

[PATCH 4/4] arm64: dts: smaug: Add display panel node

2022-09-29 Thread Diogo Ivo
The Google Pixel C has a JDI LPM102A188A display panel. Add a DT node for it. Tested on Pixel C. Signed-off-by: Diogo Ivo --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b

[PATCH 1/4] dt-bindings: display: Add bindings for JDI LPM102A188A

2022-09-29 Thread Diogo Ivo
The LPM102A188A is a 10.2" 2560x1800 IPS panel found in the Google Pixel C. Signed-off-by: Diogo Ivo --- .../display/panel/jdi,lpm102a188a.yaml| 100 ++ 1 file changed, 100 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/pane

[PATCH 0/4] Add JDI LPM102A188A display panel support

2022-09-29 Thread Diogo Ivo
. Thank you! Diogo Ivo (4): dt-bindings: display: Add bindings for JDI LPM102A188A drm/tegra: dsi: Clear enable register if powered by bootloader drm/panel: Add driver for JDI LPM102A188A arm64: dts: smaug: Add display panel node .../display/panel/jdi,lpm102a188a.yaml| 100

[PATCH 2/4] drm/tegra: dsi: Clear enable register if powered by bootloader

2022-09-29 Thread Diogo Ivo
In cases where the DSI module is left on by the bootloader some panels may fail to initialize if the enable register is not cleared before the panel's initialization sequence. Clear it and add an optional device tree property to inform the driver if this is the case. Signed-off-by: Diogo Ivo