From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753639AbcADLhv (ORCPT ); Mon, 4 Jan 2016 06:37:51 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:46979 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753614AbcADLhr (ORCPT ); Mon, 4 Jan 2016 06:37:47 -0500 Subject: Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator To: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <52A062A0.3070005@ti.com> <1388013159-3036-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <201601011301.27415@pali> CC: Ivaylo Dimitrov , , , , , , Ivaylo Dimitrov From: Tomi Valkeinen X-Enigmail-Draft-Status: N1110 Message-ID: <568A5970.2000201@ti.com> Date: Mon, 4 Jan 2016 13:37:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <201601011301.27415@pali> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VQjKfBFtWNrtiI5TkO637O6wjGXB8G92r" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VQjKfBFtWNrtiI5TkO637O6wjGXB8G92r Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On 01/01/16 14:01, Pali Roh=C3=A1r wrote: > Hi Tomi! Can you review this patch? It is waiting here for two years! >=20 > On Thursday 26 December 2013 00:12:39 Ivaylo Dimitrov wrote: >> From: Ivaylo Dimitrov >> >> On memory limited devices, CMA fails easily when asked to allocate >> big chunks of memory like framebuffer memory needed for video >> playback. >> >> Add boot parameter "omapfb_memsize" which allocates memory to be used >> as dma coherent memory, so dma_alloc_attrs won't hit CMA allocator >> when trying to allocate memory for the framebuffers We probably need exactly the same for omapdrm, as omapfb is on the way to being deprecated. And sounds to me that we probably need similar for other devices which try to do large allocations (camera? video decoders?)= =2E So I really think this should be somehow be a general option for any devi= ce. I also wonder if CMA can be improved to not need anything like this? If you just increase the CMA area, won't that increase the chances CMA will work? Tomi --VQjKfBFtWNrtiI5TkO637O6wjGXB8G92r Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWillwAAoJEPo9qoy8lh71tDQP/3991MfScsZ6ysMLAb9fikKR DRrpB1d2nVZD2N3DA21sz9UMKHy54UjfxajyfUXKVbAgplriWlWkk6aPvBsbEaXC 03T7DnlrT/J48/2ofCof9KMWDaUE+HOl8BgLvfRzpV5Bt97Awqcqih1WVReeKLOV f+d32cmH4AhCcO9gCsKtiiLzhrQpMGp9b1s3C9aWHXzNWFceRNDzmmTcdZk0aCy6 XGPjzwaVr4I/GUZP2JtlaxOljSgkcBR5KLYuPxSlfZSjn4HMJF0eDdDdtkN3Rj0W 2p93dIpcirDU6xWkDg1OzdPtgAbs+UvzALXBAdQ076oJmTt0YuNoGgmXYBjY7mKL N2x+ARwpb9gXM8h7U3P3A2Kc/4lxL0pq0trhtDHEabVx4Jqz4+oj39jRbEZ0x0Di 6/IbRjls82oZZFSkep/iog8SWm/h3J+laS1hJVSB4mFM1LbiNqV0iLTeLlaC7u89 XE7/QF6tqy5WsuMwvlQVu8Us8XTWwGtIN0PBkRxVawPQiQSemxQcBIojLiiVUrc7 MmTAcz+hIBQvVd3vW5rYqlXZ+3nbJxDelpMchYfpljRvOY+ofEuE8ThVJYa2pb4b H37w/2rUG3i8J+J750H3rGuofT91v+eXUPrKkTmUJ6znVlylRb6wvdDnDwvJlmQ2 qN65J006Z1SXgqAtKGbH =v9pd -----END PGP SIGNATURE----- --VQjKfBFtWNrtiI5TkO637O6wjGXB8G92r--