From: Michel Dänzer <daenzerm@student.ethz.ch>
To: Michael Schmitz <schmitz@zirkon.biophys.uni-duesseldorf.de>
Cc: Kostas Gewrgiou <gewrgiou@imbc.gr>,
Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de>,
eich@XFree86.Org, Geert Uytterhoeven <geert@linux-m68k.org>,
linuxppc-dev@lists.linuxppc.org
Subject: Re: xf 4.0.1 + ati driver with rage II/rage pro
Date: Mon, 02 Oct 2000 11:52:27 +0200 [thread overview]
Message-ID: <39D85ADB.312E1199@student.ethz.ch> (raw)
In-Reply-To: Pine.LNX.4.10.10010011855010.1560-100000@zirkon.biophys.uni-duesseldorf.de
Michael Schmitz wrote:
>
> > > Another idea (strictly in the Unix tradition): X knows how to mess up
> > > the PCI config from user space so why shouldn't we, before X gets a shot
> > > at it? 'Just' write the correct mapping to the offending BAR from a rc
> > > script. Obvious drawback: the kernel OF tree won't be updated, and the
> > > kernel can't safeguard against insane BAR settings (at least I can't
> > > tell how that would work, one of the PCI gurus please enlighten me).
> > > Makes a nice local DOS tool.
> > >
> > > (Don't tell me that's been done already - something like PCI PNP utils
> > > for Linux, anyone?)
> >
> > Hmm fixing the resources from userland wont help you, you have to do it
> > before atyfb starts up. If i remember right from your logs X didn't had
> > any problems doing the relocation.
>
> Wrong - X didn't relocate anything, X just disabled one of the overlapping
> regions IIRC (vram with the MMIO mirror region atyfb uses, in my case).
> Even assuming X relocates the vram region, atyfb would never know it.
> That's the root cause of our problem: X changing the PCI config while
> kernel drivers rely on the PCI config remaining unchanged once the driver
> inits.
>
> I know it doesn't sound like it can work, but in this particular case
> (MMIO regs being accessed not via the MMIO PCI mapping but via one of the
> MMIO register mirror areas in video RAM) the user space tool would
> actually work if we relocate the MMIO resource - it's not used by the
> kernel, and the video RAM mapping can remain untouched by X.
>
> Other solution (on part of X): if relocating one of the two conflicting
> resources, pick the one that looks like it isn't video RAM. This only
> works with atyfb I guess.
Yes. If X had to apply a special treatment for each PCI device...
I wouldn't be surprised if it had been a quirk like this which lead to X
acting like it does now.
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-10-02 9:52 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-23 12:52 xf 4.0.0/1 with rage II/rage pro -- should the ati driver work? R Shapiro
2000-09-23 15:00 ` Michel Dänzer
2000-09-23 15:32 ` R Shapiro
2000-09-23 16:09 ` Michael Schmitz
2000-09-23 22:19 ` R Shapiro
2000-09-23 22:25 ` Michael Schmitz
2000-09-24 13:42 ` Geert Uytterhoeven
2000-09-25 17:37 ` Michael Schmitz
2000-09-26 10:13 ` Geert Uytterhoeven
2000-09-25 17:39 ` Kostas Gewrgiou
2000-09-25 18:38 ` Michael Schmitz
2000-09-23 23:20 ` Michel Dänzer
2000-09-23 17:08 ` Michel Lanners
2000-09-24 13:30 ` Michel Dänzer
2000-09-24 16:02 ` Martin Costabel
2000-09-24 16:14 ` Michel Dänzer
2000-09-29 10:35 ` Michel Dänzer
2000-09-29 15:24 ` Kohkichi Hosoda
2000-09-29 15:32 ` Michel Dänzer
2000-09-30 6:21 ` Kohkichi Hosoda
2000-09-24 13:43 ` Geert Uytterhoeven
2000-09-25 8:56 ` Michael Schmitz
2000-09-23 17:37 ` William Blew
2000-09-24 19:51 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! R Shapiro
2000-09-24 23:17 ` Michel Dänzer
2000-09-25 1:24 ` R Shapiro
2000-09-25 6:43 ` Martin Costabel
2000-09-25 9:52 ` Kostas Gewrgiou
2000-09-25 10:38 ` xf 4.0.1 fbdev screenblanking R Shapiro
2000-09-25 12:52 ` xf 4.0.1 with rage II/rage pro -- multi-headed display, xinerama R Shapiro
2000-09-25 17:43 ` Michel Dänzer
2000-09-25 18:57 ` R Shapiro
2000-09-25 18:59 ` Michel Dänzer
2000-09-25 9:03 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! Michael Schmitz
2000-09-25 11:39 ` R Shapiro
2000-09-25 12:42 ` Michael Schmitz
2000-09-26 16:26 ` Geert Uytterhoeven
2000-09-26 18:35 ` Michael Schmitz
2000-09-26 18:46 ` Olaf Hering
2000-09-26 19:27 ` Michael Schmitz
2000-09-26 19:32 ` Olaf Hering
2000-09-26 19:51 ` Michael Schmitz
2000-09-26 21:02 ` Benjamin Herrenschmidt
2000-09-27 5:32 ` PCI fixups (was: re: xf 4.0.1 with rage II/rage...) Michel Lanners
2000-09-27 10:33 ` Benjamin Herrenschmidt
2000-09-28 6:00 ` Michel Lanners
2000-09-27 10:08 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! Olaf Hering
2000-09-27 11:43 ` Geert Uytterhoeven
2000-09-27 17:22 ` Benjamin Herrenschmidt
2000-09-27 17:49 ` Kostas Gewrgiou
2000-09-28 10:00 ` Geert Uytterhoeven
2000-09-29 14:57 ` Kostas Gewrgiou
2000-09-27 11:20 ` Geert Uytterhoeven
2000-09-27 18:21 ` Michael Schmitz
2000-09-27 20:32 ` Benjamin Herrenschmidt
2000-09-28 17:55 ` Michael Schmitz
2000-09-26 19:04 ` xf 4.0.1 + ati driver with rage II/rage pro R Shapiro
2000-09-26 19:24 ` Michel Dänzer
2000-09-26 19:33 ` Michael Schmitz
2000-09-26 20:55 ` R Shapiro
2000-09-26 21:19 ` R Shapiro
2000-09-27 18:36 ` Michael Schmitz
2000-09-27 18:45 ` R Shapiro
2000-09-27 19:07 ` Michael Schmitz
2000-09-27 19:16 ` R Shapiro
2000-09-27 19:18 ` Michael Schmitz
2000-09-28 0:05 ` Michel Dänzer
2000-09-28 17:14 ` Kostas Gewrgiou
2000-09-29 9:03 ` Michel Dänzer
2000-09-29 16:55 ` Kostas Gewrgiou
2000-09-28 11:18 ` Geert Uytterhoeven
2000-09-29 12:02 ` Michel Dänzer
2000-09-29 14:17 ` R Shapiro
2000-09-29 14:34 ` Michael Schmitz
2000-09-29 15:33 ` R Shapiro
2000-09-29 19:33 ` Michael Schmitz
2000-09-29 20:54 ` R Shapiro
2000-09-29 21:04 ` Michael Schmitz
2000-09-30 1:40 ` R Shapiro
2000-09-29 21:14 ` lsprop Hollis R Blanchard
2000-09-29 16:25 ` xf 4.0.1 + ati driver with rage II/rage pro Kostas Gewrgiou
2000-09-29 16:39 ` Michel Dänzer
2000-09-29 19:40 ` Michael Schmitz
2000-09-30 14:10 ` Kostas Gewrgiou
2000-10-01 17:02 ` Michael Schmitz
2000-10-02 9:52 ` Michel Dänzer [this message]
2000-10-02 15:00 ` Geert Uytterhoeven
2000-10-02 19:50 ` Michael Schmitz
2000-10-01 17:59 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + ati driver with rage II/rage pro) Michael Schmitz
2000-10-01 20:44 ` Olaf Hering
2000-10-02 14:59 ` Geert Uytterhoeven
2000-10-02 20:11 ` Michael Schmitz
2000-10-02 20:48 ` Benjamin Herrenschmidt
2000-10-02 20:52 ` Michael Schmitz
2000-10-03 11:10 ` Geert Uytterhoeven
2000-10-03 15:15 ` Michael Schmitz
2000-10-03 17:20 ` Geert Uytterhoeven
2000-10-02 20:47 ` Olaf Hering
2000-10-02 20:56 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriver " Michel Dänzer
2000-10-02 21:04 ` Olaf Hering
2000-10-02 21:11 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriverwith " Michel Dänzer
2000-10-02 21:33 ` Olaf Hering
2000-10-03 11:14 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriver with " Geert Uytterhoeven
2000-10-03 16:19 ` Michael Schmitz
2000-10-03 17:12 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriverwith " Michel Dänzer
2000-10-03 17:23 ` Michael Schmitz
2000-10-03 11:01 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + ati driver with " Geert Uytterhoeven
2000-10-03 15:42 ` Olaf Hering
2000-10-03 16:33 ` Michael Schmitz
2000-10-04 18:09 ` Geert Uytterhoeven
2000-10-02 20:57 ` Olaf Hering
2000-10-01 21:52 ` William Blew
2000-10-02 20:21 ` R Shapiro
2000-10-02 20:27 ` Michael Schmitz
2000-09-29 17:23 ` xf 4.0.1 + ati driver with rage II/rage pro R Shapiro
2000-09-29 19:45 ` Michael Schmitz
2000-09-29 14:55 ` Michel Dänzer
2000-09-29 17:27 ` R Shapiro
2000-09-30 15:05 ` Michel Dänzer
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=39D85ADB.312E1199@student.ethz.ch \
--to=daenzerm@student.ethz.ch \
--cc=eich@XFree86.Org \
--cc=geert@linux-m68k.org \
--cc=gewrgiou@imbc.gr \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=schmitz@opal.biophys.uni-duesseldorf.de \
--cc=schmitz@zirkon.biophys.uni-duesseldorf.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.