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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44772C433EF for ; Sun, 23 Jan 2022 14:57:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 322A382F7E; Sun, 23 Jan 2022 15:57:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="q/E+gcgW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 062A080FAE; Sun, 23 Jan 2022 15:57:53 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A8C4C81277 for ; Sun, 23 Jan 2022 15:57:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2B06660DCB; Sun, 23 Jan 2022 14:57:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7058DC340E4; Sun, 23 Jan 2022 14:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642949868; bh=6OEGWVhBtu4YAoA2ipH3m+XccO+Y8AeO34RuswZsbkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q/E+gcgWPat2JtQQpLVPxMij7fWx/fXiIw+sFdIx3LoiTEXR/grtyfu7v5ljoaD4h HIVAKucxiWqAyUD7vEhJPGtvhgZtSJjyEVHAnUk/rPnwlmivbrk+AX1miEbKIQwim0 NU7EuCmB4ZD1CGdWPyEz/ETDxJiLoXYANPbvN20z3uEi2C9SBDOinkn/NoqBOul8Ko /ILMIiMC2Qh40sZtHUTkkAzsEpA6Z35O8dPclTRaw1zGWXixEH51fTIIgMjQrk11In 1w3bUHAltMz5Idab30LEPNiJjL+++Sau9n9Hf3Ux0j6324//DosxXC4rloHrwlbHFN /Db1zKNbjodJg== Received: by pali.im (Postfix) id EFE19777; Sun, 23 Jan 2022 15:57:45 +0100 (CET) Date: Sun, 23 Jan 2022 15:57:45 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Simon Glass Cc: Merlijn Wajer , maemo-leste@lists.dyne.org, Ivaylo Dimitrov , U-Boot Mailing List , Anatolij Gustschin , Jagan Teki , Andre Przywara Subject: Re: [PATCH 02/14] video: nokia_rx51: Drop obsolete video code Message-ID: <20220123145745.72bmbb2stvg5d7kg@pali> References: <20220123140415.3091482-1-sjg@chromium.org> <20220123140415.3091482-3-sjg@chromium.org> <20220123140820.lhzmqnwrnupwtd5s@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Sunday 23 January 2022 07:36:22 Simon Glass wrote: > Hi Pali, > > On Sun, 23 Jan 2022 at 07:08, Pali Rohár wrote: > > > > + Maemo > > > > On Sunday 23 January 2022 07:04:03 Simon Glass wrote: > > > Drop this code which uses a header that is about to be deleted. > > > > And what / where is the replacement? > > This is DM_VIDEO. There are quite a few example drivers in > drivers/video - perhaps the mxsfb.c one is a reasonable example. See > the top of video_uclass.c for how frame-buffer allocation works. I have already WIP patches for usage of video-uclass.c but because reviewing of N900 patches is slow, I have not sent them yet. So could you please do NOT remove N900 support? I would really appreciative for reviewing pending patches instead of sending patches with board removal. Note that there is some issue with video_post_bind(), it throws false-positive error "Video device '%s' cannot allocate frame buffer memory" with "return -ENOSPC". If I remove that "return -ENOSPC" it is working fine.