[Nouveau] [PATCH] drm/nouveau: always do buffer object moves on bo->channel
Xavier
shiningxc at gmail.com
Wed Dec 23 12:43:47 PST 2009
On Mon, Dec 21, 2009 at 2:39 PM, Maarten Maathuis <madman2003 at gmail.com> wrote:
> - Use the "direct" objects that previously only the kernel fifo had.
> - This avoids corruption on some buffer moves.
> - Prevent dma access to ramin, we never use dma there anyway and it's an
> exploit waiting to happen.
>
> Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
I wonder if there are many people following the ML and not irc, but
just in case :
This patch fixes my "font corruption problems" (in particular the font
color is sometimes messed up) on suspend/resume.
However there are other problems with this patch so it probably won't
be applied :
17:40 < shining> stillunknown: whats the status of "always do bo moves
on bo->channel" ?
17:40 < stillunknown> shining: i talked with darktama about, it's a
bit of a security risk
17:41 < stillunknown> since users get access to gpu objects and the
likes, and that can be exploited
17:41 < stillunknown> alternative 1 is to set up shadow page tables
that are all linear, but offer the same protection (darktama said he
would try this)
17:41 < stillunknown> alternative 2 is getting cross channel
synchronisation to work
More information about the Nouveau
mailing list