From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 977D5C43334 for ; Wed, 6 Jul 2022 21:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233973AbiGFVtF (ORCPT ); Wed, 6 Jul 2022 17:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbiGFVtE (ORCPT ); Wed, 6 Jul 2022 17:49:04 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6EFA140F9 for ; Wed, 6 Jul 2022 14:49:03 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8376730A; Wed, 6 Jul 2022 23:49:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1657144142; bh=10kNBLu5wyjbkpqD2913q/MCHJ9mBOP0MyfQuT7lUYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dBaaOco2v71CjDcd6hIHr5DqlHQT5v3tmZkAL4cnPNe+QsxmcW4vqmVZIjHUXV2Q4 bLMljHlTI/MrhLJiKfWxotagN7nNr6jV3/V4h5vlAHy6YoPnkQJfDCPBuo8PDDH0RJ LZQNJxHdpNTW/b96MJZ50QfsvTZRqZLRVX/f2Hso= Date: Thu, 7 Jul 2022 00:48:37 +0300 From: Laurent Pinchart To: Petko Manolov Cc: Alexander Stein , linux-media@vger.kernel.org, jacopo@jmondi.org Subject: Re: Re: Re: hooking Sony 47MPixel sensor to NXP imx8m-mini MIPI CSI2 Message-ID: References: <12352558.O9o76ZdvQC@steina-w> <2450654.irdbgypaU6@steina-w> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Wed, Jul 06, 2022 at 11:07:56PM +0300, Petko Manolov wrote: > On 22-07-06 22:26:54, Petko Manolov wrote: > > > > VID_MEM_LIMIT is only 64MB while the image is ~90MB, but it looks like four of > > those are required. I increased the CMA to 640MB, defined VID_MEM_LIMIT to > > 512MB and got something that look like it's working. I am yet to convert the > > Forgot to mention - with debug disabled vb2_core_reqbufs() would trip on line 829 > WARN_ON() and dump its guts. With debug 'on' this doesn't happen. > > Not sure if this is the intended behavior, just mentioning it here. I don't think that's intended, it would be nice to figure out why. -- Regards, Laurent Pinchart