From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sascha Hauer Subject: Re: [RFC PATCH] KMS support for i.MX51/53 Date: Tue, 7 Jun 2011 21:12:06 +0200 Message-ID: <20110607191205.GK23771@pengutronix.de> References: <1307443550-25549-1-git-send-email-s.hauer@pengutronix.de> <20110607121701.71cdd06e@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [92.198.50.35]) by gabe.freedesktop.org (Postfix) with ESMTP id 079779EED8 for ; Tue, 7 Jun 2011 12:12:20 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20110607121701.71cdd06e@lxorguk.ukuu.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alan Cox Cc: Jason Chen , Konstantinos Margaritis , DRI mailing list , Eric Miao , linux-arm-kernel@lists.infradead.org List-Id: dri-devel@lists.freedesktop.org On Tue, Jun 07, 2011 at 12:17:01PM +0100, Alan Cox wrote: > > Currently I don't use any sophisticated memory allocater like GEM > > or similar. I helped myself with simple dma_alloc where needed. At > > GEM is actually pretty sane when you get your head around it a spot. The > main thing it took me a bit of time to get my head around is that it > allocates backing memory and handles but it doesn't allocate address > space on the card side. I'm not sure I understand you correctly. I have no address space on the card side since my 'card' just uses main memory. The memory I need must be a physically contiguous portion of sdram. I'm afraid shmem backing memory is not of much use for me. Correct me if I mix things up... Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |