From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Welch Subject: Re: Radeon drivers on PowerPC (e500) Date: Thu, 26 Jun 2014 09:28:41 +0100 Message-ID: <53ABD9B9.2090109@ge.com> References: <53A09378.6060101@ge.com> <1403056116.7661.187.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mx0b-00176a03.pphosted.com (mx0b-00176a03.pphosted.com [67.231.157.48]) by gabe.freedesktop.org (Postfix) with ESMTP id A6B256E71D for ; Thu, 26 Jun 2014 01:28:45 -0700 (PDT) Received: from pps.filterd (m0048205.ppops.net [127.0.0.1]) by m0048205.ppops.net-00176a03. (8.14.7/8.14.7) with SMTP id s5Q8JhT7011056 for ; Thu, 26 Jun 2014 04:28:44 -0400 Received: from alpmlip10.e2k.ad.ge.com ([12.43.191.1]) by m0048205.ppops.net-00176a03. with ESMTP id 1mrfvqg15d-1 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 26 Jun 2014 04:28:44 -0400 In-Reply-To: <1403056116.7661.187.camel@pasglop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Benjamin Herrenschmidt , Dave Airlie Cc: Alex Deucher , =?UTF-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , dri-devel List-Id: dri-devel@lists.freedesktop.org On 18/06/14 02:48, Benjamin Herrenschmidt wrote: > On Wed, 2014-06-18 at 11:05 +1000, Dave Airlie wrote: >> >> I don't think we ever ioremap GART, it should kmap GART pages, ioremap >> should only happen for VRAM areas AFAIK, >> >> This isn't some 32-bit vs 36-bit BAR or something, I seem to remember BenH >> mentioning something like that before. > > Yes, it's a recurring problem in the DRM with physical addresses that are > bigger than 32-bit on 32-bit systems. There have been patches done to > fix that but afaik never quite "completed". I can dig internally if > I can put my hand onto something. > > If possible at all, can you try to configure your SoC to bring the MMIO > space of the PCIe within the bottom 32-bit of the chip address space ? > I've go a hold of a U-Boot build that brings the chip up in 32-bit mode and modified the DTS to suit. Seemed like the easiest way to see whether it would work. It does. I have a Radeon E6460 showing an X display, at the moment using the fbdev driver. Baby steps... > (Or use a 64-bit e5500 based chip ? :-) > Yeah, haven't got any of those lying around ;-) Thanks guys, Martyn -- Martyn Welch (Lead Software Engineer) | Registered in England and Wales GE Intelligent Platforms | (3828642) at 100 Barbirolli Square T +44(0)1327322748 | Manchester, M2 3AB E martyn.welch@ge.com | VAT:GB 927559189