From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Re: [drm:r100_ring_test] *ERROR* radeon: ring test failed Date: Tue, 27 Oct 2009 19:30:36 +0200 Message-ID: <20091027173036.GM1434@reaktio.net> References: <20091011153900.GW1434@reaktio.net> <20091012200248.GA16486@phenom.dumpdata.com> <20091014211415.GQ1434@reaktio.net> <20091015200409.GD11348@phenom.dumpdata.com> <20091016090159.GI1434@reaktio.net> <20091020165805.GA12035@phenom.dumpdata.com> <20091021115434.GF1434@reaktio.net> <20091021183130.GA11691@phenom.dumpdata.com> <20091027154651.GI1434@reaktio.net> <20091027170019.GA5961@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20091027170019.GA5961@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, Oct 27, 2009 at 01:00:19PM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Oct 27, 2009 at 05:46:51PM +0200, Pasi K=E4rkk=E4inen wrote: > > On Wed, Oct 21, 2009 at 02:31:30PM -0400, Konrad Rzeszutek Wilk wrote= : > > > > I updated the pv_ops dom0 git tree to the latest 2.6.31.4 tree as= of > > > > today, and also applied your ttm.patch. > > > >=20 > > > > Modesetting works now, and there are no drm/radeon errors. > > >=20 > > > Thank you for testing it. > > >=20 > >=20 > > Btw are you going to post this for inclusion in drm/ttm trees? >=20 > I am not really comfortable with it. It has the same drawbacks > as the fix for the drm_scatter, where we blindly assume > phys_to_bus(virt_to_phys(X)) will give us the same value as > what dma_alloc_coherent provides. We should save that bus address > somewhere... >=20 > Saving it somewhere (perhaps in some of the structs the drm_ttm allocat= es) > could do it. But we should probably differentiate between memory > that is being allocated for DMA transfers vs other things so that > we don't over-exercise the dma_alloc_coherent. Thought maybe > the memory returned via drm_tt calls are only used for DMA transfers. > Ok.. > We can figure this out. Pasi, I don't have a modesetting working machi= ne, > but you do. Can you compile your pv_ops with the fix I provided earlier= , > along with enabling CONFIG_DMA_API_DEBUG=3Dy. Once mode-setting is turn= ed > on and your machine is humming along (maybe even run glxgears), compile > the attached module and load it. You should get a kernel dump > off all devices that are using the DMA buffers. Can you e-mail me that = back > please? >=20 Yeah, I'll do that and get back to you. -- Pasi