From: Arvind R <arvino55@gmail.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Nouveau on dom0
Date: Fri, 26 Feb 2010 21:04:33 +0530 [thread overview]
Message-ID: <d799c4761002260734j13bc01e3vfd7788b6196230ea@mail.gmail.com> (raw)
In-Reply-To: <20100225174411.GA13270@phenom.dumpdata.com>
On Thu, Feb 25, 2010 at 11:14 PM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On Thu, Feb 25, 2010 at 09:01:48AM -0800, Arvind R wrote:
>> On Thu, Feb 25, 2010 at 6:25 PM, Konrad Rzeszutek Wilk
>> <konrad.wilk@oracle.com> wrote:
>> > On Thu, Feb 25, 2010 at 02:16:07PM +0530, Arvind R wrote:
>> >> Hi all,
>> >> I merged the drm-tree from 2.6.33-rc8 into jeremy's 2.6.31.6 master and
>> ======= snip =======
>> > is not. Would it be possible to trace down who allocates that *chan? You
>> > say it is 'PRAMIN' - is that allocated via pci_alloc_* call?
======= snip =======
>> So, there must be a mmap call somewhere to map the area to user-space
>> for that problem write to work on non-Xen boots. Will try track down some more
>> and post. With mmaps and PCIGARTs - it will be some hunt!
======= snip =======
> to the drm_radeon driver which used it as a ring buffer. Took a bit of
> hoping around to find who allocated it in the first place.
>
After a lot of reboots and log viewing:
The pushbuf (FIFO/RING) is the only means of programming the card DMA
activity. It is exposed to user-space by mmap of the drm_device (PCI) handle
with different offsets for each channel. Parameters are associated to the DMA
command using ioctls to bind channels/sub-channels/contexts. This mmap is
in the libdrm2 library. Libdrm channel/accelerator initialization and
setup chores
and the DDX driver (xf86-video-nouveau) more-or-less acts thro' libdrm.
My suspicion is that Xen has some problems with mmap of PCI(E) device
memory. How is iomem handled in a mmap?
As of now, accelerator on Xen stops right at the initialisation stage - when
libdrm tries to set up the accelerator-engine in the course of ScreenInit. And
to do that, it cannot write the command to setup the basic 2D engine.
Suggestions?
next prev parent reply other threads:[~2010-02-26 15:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 8:46 Nouveau on dom0 Arvind R
2010-02-25 12:55 ` Konrad Rzeszutek Wilk
2010-02-25 17:01 ` Arvind R
2010-02-25 17:44 ` Konrad Rzeszutek Wilk
2010-02-26 15:34 ` Arvind R [this message]
2010-03-01 16:01 ` Konrad Rzeszutek Wilk
2010-03-02 21:34 ` Arvind R
2010-03-03 17:11 ` Arvind R
2010-03-03 18:13 ` Konrad Rzeszutek Wilk
2010-03-04 9:17 ` Arvind R
2010-03-04 18:25 ` Konrad Rzeszutek Wilk
2010-03-05 7:46 ` Arvind R
2010-03-05 20:23 ` Konrad Rzeszutek Wilk
2010-03-06 8:16 ` Arvind R
2010-03-06 20:59 ` Arvind R
2010-03-06 23:56 ` Arvind R
2010-03-08 17:51 ` Konrad Rzeszutek Wilk
2010-03-10 12:50 ` [Solved] " Arvind R
2010-03-10 14:00 ` Pasi Kärkkäinen
2010-03-10 19:37 ` Jeremy Fitzhardinge
[not found] ` <20100311201536.GA22182@phenom.dumpdata.com>
2010-03-12 6:12 ` Arvind R
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=d799c4761002260734j13bc01e3vfd7788b6196230ea@mail.gmail.com \
--to=arvino55@gmail.com \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xensource.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).