[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <108e96f7-d86a-2c1e-1a6a-c0ed02667719@gmail.com>
Date: Mon, 31 Oct 2022 13:14:30 +0200
From: Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
To: Tony Lindgren <tony@...mide.com>,
"H. Nikolaus Schaller" <hns@...delico.com>
Cc: tomba@...nel.org, airlied@...ux.ie, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, merlijn@...zup.org
Subject: Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through
DMM/TILER
On 31.10.22 г. 12:13 ч., Tony Lindgren wrote:
> * Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com> [221031 06:55]:
>> On 31.10.22 г. 0:08 ч., H. Nikolaus Schaller wrote:
>>> [ 39.419846] WARNING: CPU: 0 PID: 3673 at drivers/bus/omap_l3_noc.c:139 l3_interrupt_handler+0x23c/0x330
>>> [ 39.429914] 44000000.l3-noc:L3 Custom Error: MASTER MPU TARGET GPMC (Idle): Data Access in Supervisor mode during Functional access
>>> ...
>>>
>>
>> I have no idea what that error is supposed to mean. @Tony?
>
> The error above is GPMC related. It means GPMC is not properly clocked or powered
> while trying to access it's IO range.
>
> Maybe DSS is somehow trying to access GPMC address space registers with DMA? The
> GPMC address space starts at 0. Maybe the DSS DMA address is 0 somwhere?
I think I have an idea:
omap_framebuffer_pin() calls omap_gem_pin() without verifying the
returned plane->dma_addr. To me it seems the assumption is that plane
BOs are scanout/linear, which most-probably isn't the case. I was unable
to find who provides those BOs though (they are passed as handles to
omap_framebuffer_create(), most-probably set by the userspace)
>
> Regards,
>
> Tony
>
Powered by blists - more mailing lists