[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2220890.jZfb76A358@phil>
Date: Mon, 17 Oct 2022 13:29:11 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: Johan Jonker <jbx6244@...il.com>, John Keeping <john@...anate.com>
Cc: dri-devel@...ts.freedesktop.org, Sandy Huang <hjc@...k-chips.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org
Subject: Re: [BUG] [PATCH] drm/rockchip: use generic fbdev setup
Am Montag, 17. Oktober 2022, 12:05:16 CEST schrieb John Keeping:
> Hi Johan,
>
> On Mon, Oct 17, 2022 at 10:11:32AM +0200, Johan Jonker wrote:
> > Your patch contribution causes a kernel panic on MK808 with Rockchip rk3066a SoC.
> > Would you like to contribute to fix this issue?
> > The assumtion that drm_fbdev_generic_setup() does what rockchip_drm_fbdev_init did is not true!
> > A revert makes it work again.
>
> It looks like there are 3 different ways to end up with -ENOMEM here,
> can you track down whether you're hitting one of the cases in
> rockchip_gem_prime_vmap() or if it's the iosys_map_is_null case in
> drm_gem_vmap()?
>
> I guess the memory usage increases slightly using the generic code and
> RK3066 has less memory available.
also rk3066 and rk3188 do not have an iommu, so rely
on cma allocations.
Heiko
Powered by blists - more mailing lists