From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prasad Joshi Date: Fri, 07 Jan 2011 17:47:59 +0000 Subject: Re: A query on frame buffers Message-Id: List-Id: References: <20101227153011.GD3728@dumpdata.com> <1294390835.6019.218.camel@thor.local> <20110107165813.GA24320@dumpdata.com> In-Reply-To: <20110107165813.GA24320@dumpdata.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Konrad Rzeszutek Wilk Cc: =?ISO-8859-1?Q?Michel_D=E4nzer?= , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org 2011/1/7 Konrad Rzeszutek Wilk : >> > The errors >> > >> > [ =A0 =A03.778476] [drm:r100_ring_test] *ERROR* radeon: ring test fail= ed >> > (sracth(0x15E4)=3D0xCAFEDEAD) >> > [ =A0 =A03.781010] [drm:r100_cp_init] *ERROR* radeon: cp isn't working= (-22). >> > [ =A0 =A03.782542] radeon 0000:00:04.0: failled initializing CP (-22). >> > [ =A0 =A03.784006] radeon 0000:00:04.0: Disabling GPU acceleration >> > >> > Seem to be disabling GPU functionality. For now, I am interested in >> > Graphics functionality of the ATI card and not GPGPU functionality. >> > >> > I will appreciate if you can help me with some information on solving >> > this problem. Let me know if I should be asking this question on >> > another forum. Please keep me in CC. >> >> Looks like dri-devel material, added to CC. >> >> As a first guess, maybe the system memory pages accessed by the GPU GART >> aren't the same ones intended for this by the VM. > > I actually have patches for that (sorry for the late reply). > > Try: > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/ttm.pc= i-api.v3 > > But I am not sure if they would make any difference here. You said > you are using KVM-QEMU - you must also be using an IOMMU? Does the IOMMU > give you any errors? > Yes I want to pass-through the ATI Radeon card to VM in KVM. I have enabled the IOMMU support and it works perfectly alright. I tried passing through a network card it worked. Should I try the patch you suggested? >