From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Prasad Joshi <prasadjoshi124@gmail.com>
Cc: "Michel Dänzer" <michel@daenzer.net>,
linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: A query on frame buffers
Date: Fri, 07 Jan 2011 19:24:37 +0000 [thread overview]
Message-ID: <20110107192437.GD27871@dumpdata.com> (raw)
In-Reply-To: <AANLkTik_YENOcUioFFEN73i9ASZ7oZ80FZ_NXt-Ti5RV@mail.gmail.com>
On Fri, Jan 07, 2011 at 05:47:59PM +0000, Prasad Joshi wrote:
> 2011/1/7 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>:
> >> > The errors
> >> >
> >> > [ 3.778476] [drm:r100_ring_test] *ERROR* radeon: ring test failed
> >> > (sracth(0x15E4)=0xCAFEDEAD)
> >> > [ 3.781010] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
> >> > [ 3.782542] radeon 0000:00:04.0: failled initializing CP (-22).
> >> > [ 3.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.pci-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?
Go for it. I am still at lost why you would see those errors unless..
well, what is the DMA code that gets turned on when you run your guest?
What do you see for 'PCI-DMA' ? Is it bounce buffer or swiotlb?
How much memory do you pass to the guest? less than 4GB?
next prev parent reply other threads:[~2011-01-07 19:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 4:51 A query on frame buffers Prasad Joshi
2010-12-27 15:30 ` Konrad Rzeszutek Wilk
2011-01-07 2:42 ` Prasad Joshi
2011-01-07 9:00 ` Michel Dänzer
2011-01-07 16:58 ` Konrad Rzeszutek Wilk
2011-01-07 17:47 ` Prasad Joshi
2011-01-07 19:24 ` Konrad Rzeszutek Wilk [this message]
2011-01-08 2:12 ` Prasad Joshi
2011-01-10 12:31 ` Prasad Joshi
2011-01-10 18:17 ` Konrad Rzeszutek Wilk
2011-01-10 19:57 ` Prasad Joshi
2011-01-10 20:24 ` Konrad Rzeszutek Wilk
2011-01-11 16:58 ` Prasad Joshi
2011-01-11 17:10 ` Alex Deucher
2011-01-11 18:17 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110107192437.GD27871@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=michel@daenzer.net \
--cc=prasadjoshi124@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).