public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Keith Packard <keithp@keithp.com>,
	dri-devel <dri-devel@lists.sourceforge.net>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: Design for setting video modes, ownership of sysfs attributes
Date: Sun, 19 Sep 2004 13:40:43 -0700	[thread overview]
Message-ID: <E1C98UF-0002Tn-DG@evo.keithp.com> (raw)
In-Reply-To: Your message of "Sun, 19 Sep 2004 12:46:13 EDT." <9e47339104091909465c9a483f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]


Around 12 o'clock on Sep 19, Jon Smirl wrote:

> This is going to require some more thought. Mode setting needs two
> things, a description of the mode timings and a location of the scan
> out buffer.  With multiple heads you can't just assume that the buffer
> starts at zero.  There also the problem of the buffer increasing in
> size and needing to be moved since it won't fit where it is.
> 
> Keith, how should this work for X?

I just need to know where the frame buffer lives; it can move or change 
pitch at any time.  I can even deal with the frame buffer moving without 
warning if necessary.  What I can't handle is off-screen memory suddenly 
disappearing on me; I need to be able to pull any off-screen data back to 
main memory before things get shuffled around.

This, of course, is related rather strongly with any memory management 
system, for which I'd like to have applications allocate main-memory space 
for any off-screen resources so that the kernel can pull things off the 
video card without needing cooperation from the X server at switch time.

-keith



[-- Attachment #2: Type: application/pgp-signature, Size: 228 bytes --]

  parent reply	other threads:[~2004-09-19 20:41 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-18 18:43 Design for setting video modes, ownership of sysfs attributes Jon Smirl
2004-09-18 19:58 ` Mike Mestnik
2004-09-18 22:12   ` Jon Smirl
2004-09-18 22:37     ` Mike Mestnik
2004-09-18 23:33     ` Keith Packard
2004-09-19  0:54       ` Jon Smirl
2004-09-19  1:57         ` Vladimir Dergachev
2004-09-19  2:16           ` Jon Smirl
2004-09-19  2:32             ` Vladimir Dergachev
2004-09-19 10:11             ` Mike Mestnik
2004-09-19  9:55         ` Mike Mestnik
2004-09-19  4:48     ` Benjamin Herrenschmidt
2004-09-19 16:12       ` Jon Smirl
2004-09-20  0:07         ` Benjamin Herrenschmidt
2004-09-20  1:06           ` Jon Smirl
2004-09-19  4:45 ` Benjamin Herrenschmidt
2004-09-19 16:46   ` Jon Smirl
2004-09-19 17:19     ` Mike Mestnik
2004-09-19 20:40     ` Keith Packard [this message]
2004-09-20 13:02       ` Alan Cox
2004-09-19 20:44     ` Felix Kühling
2004-09-20  1:25       ` Mike Mestnik
2004-09-20  0:10     ` Benjamin Herrenschmidt
2004-09-21 12:45 ` Pavel Machek
2004-09-21 15:56   ` Jon Smirl
2004-09-21 15:42     ` Alan Cox
     [not found] <2FYdH-10h-5@gated-at.bofh.it>
     [not found] ` <2G6Et-6D7-31@gated-at.bofh.it>
2004-09-19 14:18   ` Pascal Schmidt
2004-09-19 15:00     ` P. Benie
2004-09-19 19:08       ` Pascal Schmidt

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=E1C98UF-0002Tn-DG@evo.keithp.com \
    --to=keithp@keithp.com \
    --cc=benh@kernel.crashing.org \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=jonsmirl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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