From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series
Date: Mon, 23 Apr 2012 14:30:33 +0100 [thread overview]
Message-ID: <20120423143033.64b3ee9d@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <CAPM=9twhEMQxHTbk87A5C4=ksFuF7r2ADLpKO+2dXY6jesbNKg@mail.gmail.com>
> ends up in the in-VRAM object. I'll have to add defio support to make this work
> properly now that I think about it a bit more, but defio isn't a major
> amount of work.
Ok
> fbdev objects once exposed to userspace or to fbcon, thanks to some wonderful
> API design way back, the mmaps on the fbdev device are direct to the VRAM
> physical pages. Can't tear them down and move them into system RAM pages
> at all easily.
Thats not strictly true. They can move mapping if the locking is right
and the helpers handle it because you can invalidate the pages in the
userspace mappings and they will get faulted back with the new ones.
> Because I'm not 100% sure nothing will get written to it, and if
Fair point.
> something gets written
> to it I'd rather not have to complicate the oops printing to have to
> page in memory
> from disk, when it might be the disk that caused the oops.
If the box was horked that way then you are going to fail to migrate the
graphical frame buffer out in order to go into text mode to print the
oops. Probably safest any oops hits the current visible object ?
Alan
next prev parent reply other threads:[~2012-04-23 13:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 12:18 [PATCH] drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series Dave Airlie
2012-04-23 12:44 ` Alan Cox
2012-04-23 12:55 ` Dave Airlie
2012-04-23 13:30 ` Alan Cox [this message]
2012-04-24 14:28 ` 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=20120423143033.64b3ee9d@pyramind.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.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 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.