From: Tony Mantler <nicoya@apia.dhs.org>
To: mlan@cpu.lu, drow@false.org
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: [patch] VRAM detection in controlfb
Date: Mon, 5 Jun 2000 07:40:22 -0500 [thread overview]
Message-ID: <v04003a00b5614aa89cff@[24.66.67.194]> (raw)
In-Reply-To: <200006050548.HAA00780@piglet.grunz.lu>
At 12:48 AM -0500 6/5/2000, Michel Lanners wrote:
>On 4 Jun, this message from Daniel Jacobowitz echoed through cyberspace:
>>
>> On Sun, Jun 04, 2000 at 10:08:39AM -0500, Tony Mantler wrote:
[...]
>>> If you have a block that's both dirty and incoherent... well, don't do
>>>that. :)
>>
>> Ew. I wonder if that's our problem...
>
>Would make sense, and I thought so too.... dcbi is wrong in any case for
>us, since we did modify that block. However, I wonder whether caching is
>on at all for the framebuffer adresses? (And if so, is that a good idea?
>Do we want to trash the cache with a xsetroot?)
I'm not sure of the design specifics of the Control video, but most of the
Apple video designs I've seen put the high-bandwidth low-latency video ram
right on the main bus, so it's already half way to being a cache in and of
itself (I seem to recall apple's sound manager using vram for buffer
space), and would benefit very little from the CPU cache, except perhaps in
a multi-cpu machine to keep bus chatter down to a minimum, but the exact
tradeoffs of that would take a bit of consideration to quantify.
Besides that, unlike main ram, what has and hasn't been written back to the
framebuffer makes a big difference in what you see on screen. Caching would
probably make for some mighty weird flicker, jumpy or inconsistent video
playback, and all sorts of evil visual gremlins. You could always cache the
framebuffer as write-through, but then any value you might have got from
the caching goes right out the window, as framebuffer writes should
outnumber framebuffer reads by an order of magnitude.
Anyways, that's the long answer. The short answer is: no, you probably
don't want to cache the framebuffer.
Cheers - Tony :)
--
Tony Mantler Renaissance Nerd Extraordinaire nicoya@apia.dhs.org
Winnipeg, Manitoba, Canada http://nicoya.feline.pp.se/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-06-05 12:40 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-31 22:43 [patch] VRAM detection in controlfb Michel Lanners
2000-06-01 0:57 ` Takashi Oe
2000-06-03 6:28 ` Michel Lanners
2000-06-03 7:13 ` Takashi Oe
2000-06-03 7:30 ` Geert Uytterhoeven
2000-06-03 8:49 ` Michel Dänzer
2000-06-03 9:22 ` Geert Uytterhoeven
2000-06-06 19:25 ` Michael Schmitz
2000-06-06 21:52 ` Michel Lanners
2000-06-03 7:38 ` Geert Uytterhoeven
2000-06-05 6:01 ` Michel Lanners
2000-06-04 0:09 ` Daniel Jacobowitz
2000-06-04 0:31 ` Ani Joshi
2000-06-04 13:55 ` Michel Lanners
2000-06-05 12:59 ` Michel Dänzer
2000-06-03 9:16 ` Franz Sirl
2000-06-04 7:09 ` Michel Lanners
2000-06-04 15:08 ` Tony Mantler
2000-06-04 17:48 ` Daniel Jacobowitz
2000-06-05 5:48 ` Michel Lanners
2000-06-05 12:40 ` Tony Mantler [this message]
2000-06-05 13:51 ` Michel Lanners
2000-06-05 14:15 ` Geert Uytterhoeven
2000-06-05 23:49 ` Tony Mantler
2000-06-06 5:15 ` Timothy A. Seufert
2000-06-06 19:49 ` Michael Schmitz
2000-06-06 21:58 ` Michel Lanners
2000-06-07 7:59 ` Geert Uytterhoeven
[not found] <20000607233456Z.roikawa@rr.iij4u.or.jp>
2000-06-07 15:10 ` Geert Uytterhoeven
2000-06-07 15:20 ` Michael Schmitz
2000-06-07 15:41 ` Geert Uytterhoeven
2000-06-07 15:58 ` Ryuichi Oikawa
2000-06-07 19:11 ` Geert Uytterhoeven
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='v04003a00b5614aa89cff@[24.66.67.194]' \
--to=nicoya@apia.dhs.org \
--cc=drow@false.org \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=mlan@cpu.lu \
/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