Re: Etnaviv issues on i.MX8M-Mini

2020-02-27 Thread Schrempf Frieder
On 25.02.20 09:13, Frieder Schrempf wrote: > Hi Lucas, > > On 24.02.20 12:08, Lucas Stach wrote: >> On Mo, 2020-02-24 at 10:53 +, Schrempf Frieder wrote: >>> Hi Lucas, >>> >>> On 24.02.20 11:37, Lucas Stach wrote: >>>> Hi Frieder, >&g

Re: Etnaviv issues on i.MX8M-Mini

2020-03-03 Thread Schrempf Frieder
On 26.02.20 17:05, Guido Günther wrote: > On Wed, Feb 26, 2020 at 04:54:35PM +0100, Lucas Stach wrote: >> On Mi, 2020-02-26 at 15:31 +, Schrempf Frieder wrote: >>> On 25.02.20 09:13, Frieder Schrempf wrote: >>>> Hi Lucas, >>>> >>>> On 24.0

Re: Etnaviv issues on i.MX8M-Mini

2020-03-03 Thread Schrempf Frieder
On 02.03.20 09:44, Frieder Schrempf wrote: > On 26.02.20 17:05, Guido Günther wrote: >> On Wed, Feb 26, 2020 at 04:54:35PM +0100, Lucas Stach wrote: >>> On Mi, 2020-02-26 at 15:31 +, Schrempf Frieder wrote: >>>> On 25.02.20 09:13, Frieder Schrempf wrote: >>&

Re: Etnaviv issues on i.MX8M-Mini

2020-03-03 Thread Schrempf Frieder
On 03.03.20 16:59, Guido Günther wrote: > Hi, > On Tue, Mar 03, 2020 at 11:43:14AM +, Schrempf Frieder wrote: >> On 02.03.20 09:44, Frieder Schrempf wrote: >>> On 26.02.20 17:05, Guido Günther wrote: >>>> On Wed, Feb 26, 2020 at 04:54:35PM +0100, Lucas Stach

Re: Re: [PATCH v2 2/2] drm: bridge: adv7511: Add support for ADV7535

2019-11-28 Thread Schrempf Frieder
Hi Bogdan, On 21.08.19 07:34, Togorean, Bogdan wrote: > On Tue, 2019-08-20 at 10:53 +0200, Daniel Vetter wrote: >> [External] >> >> On Mon, Aug 19, 2019 at 12:46:16PM +0200, Sam Ravnborg wrote: >>> Hi Bogdan. >>> >> adv7533_detach_dsi(adv7511); >> i2c_unregister_d

Re: [PATCH v2 2/2] drm: bridge: adv7511: Add support for ADV7535

2019-11-28 Thread Schrempf Frieder
reat to hear that. Thanks for your effort. I will try to test your v3 when I have received the new hardware and got it up and running. > > I also started work on HDCP support for this driver and hope to send > soon a patch for that. > > Best regards, > Bogdan > > On

[RFC PATCH 3/4] drm/etnaviv: Change order of enabling clocks to fix boot on i.MX8MM

2020-05-01 Thread Schrempf Frieder
From: Frieder Schrempf On some i.MX8MM devices the boot hangs when enabling the GPU clocks. Changing the order of clock initalization to core -> shader -> bus -> reg fixes the issue. This is the same order used in the imx platform code of the downstream GPU driver in the NXP kernel [1]. For the

[RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv

2020-05-01 Thread Schrempf Frieder
From: Frieder Schrempf According to the documents, the i.MX8M-Mini features a GC320 and a GCNanoUltra GPU core. Etnaviv detects them as: etnaviv-gpu 3800.gpu: model: GC600, revision: 4653 etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341 This seems to work fine more or

[RFC PATCH 1/4] drm/etnaviv: Prevent IRQ triggering at probe time on i.MX8MM

2020-05-01 Thread Schrempf Frieder
From: Frieder Schrempf On i.MX8MM there is an interrupt getting triggered immediately after requesting the IRQ, which leads to a stall as the handler accesses the GPU registers whithout the clock being enabled. Enabling the clocks briefly seems to clear the IRQ state, so we do this before reques

Re: [RFC PATCH 1/4] drm/etnaviv: Prevent IRQ triggering at probe time on i.MX8MM

2020-05-01 Thread Schrempf Frieder
On 30.04.20 16:23, Daniel Baluta wrote: > On 4/30/20 3:46 PM, Schrempf Frieder wrote: >> +    /* >> + * On i.MX8MM there is an interrupt getting triggered immediately >> + * after requesting the IRQ, which leads to a stall as the handler >> + * accesses the

Re: [RFC PATCH 3/4] drm/etnaviv: Change order of enabling clocks to fix boot on i.MX8MM

2020-05-01 Thread Schrempf Frieder
On 30.04.20 16:35, Lucas Stach wrote: > Am Donnerstag, den 30.04.2020, 12:46 + schrieb Schrempf Frieder: >> From: Frieder Schrempf >> >> On some i.MX8MM devices the boot hangs when enabling the GPU clocks. >> Changing the order of clock initalization to >>

[RFC PATCH 0/4] Add support for i.MX8MM GPUs through Etnaviv

2020-05-01 Thread Schrempf Frieder
From: Frieder Schrempf This series contains patches to enable GPU support for the i.MX8MM. There is currently no upstream support for the display subsystem of the i.MX8MM, but I have a 5.4-based tree with some ported drivers for LCDIF, DSIM bridge, etc. (see [1]) which I used to test the GPU with

Re: [RFC PATCH 1/4] drm/etnaviv: Prevent IRQ triggering at probe time on i.MX8MM

2020-05-01 Thread Schrempf Frieder
Hi Lucas, On 30.04.20 16:32, Lucas Stach wrote: > Hi Frieder, > > Am Donnerstag, den 30.04.2020, 12:46 + schrieb Schrempf Frieder: >> From: Frieder Schrempf >> >> On i.MX8MM there is an interrupt getting triggered immediately after >> requesting the I

[RFC PATCH 2/4] drm/etnaviv: Fix error path in etnaviv_gpu_clk_enable()

2020-05-01 Thread Schrempf Frieder
From: Frieder Schrempf In case enabling of the bus clock fails etnaviv_gpu_clk_enable() returns without disabling the already enabled reg clock. Fix this. Fixes: 65f037e8e908 ("drm/etnaviv: add support for slave interface clock") Signed-off-by: Frieder Schrempf --- drivers/gpu/drm/etnaviv/etna

Re: [RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv

2020-05-07 Thread Schrempf Frieder
On 06.05.20 13:45, Frieder Schrempf wrote: > On 03.05.20 16:49, Adam Ford wrote: >> On Thu, Apr 30, 2020 at 7:46 AM Schrempf Frieder >> wrote: >>> >>> From: Frieder Schrempf >>> >>> According to the documents, the i.MX8M-Mini features a GC320 a

Re: [RFC PATCH 3/4] drm/etnaviv: Change order of enabling clocks to fix boot on i.MX8MM

2020-05-07 Thread Schrempf Frieder
Hi Peng, On 01.05.20 14:36, Peng Fan wrote: >> Subject: Re: [RFC PATCH 3/4] drm/etnaviv: Change order of enabling clocks to >> fix boot on i.MX8MM >> >> On 30.04.20 16:35, Lucas Stach wrote: >>> Am Donnerstag, den 30.04.2020, 12:46 + schrieb Schrempf Fri

Re: [RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv

2020-05-07 Thread Schrempf Frieder
On 03.05.20 16:49, Adam Ford wrote: > On Thu, Apr 30, 2020 at 7:46 AM Schrempf Frieder > wrote: >> >> From: Frieder Schrempf >> >> According to the documents, the i.MX8M-Mini features a GC320 and a >> GCNanoUltra GPU core. Etnaviv detects them as: >> &