Re: IO space memcpy support for userspace.

From: Carlos O'Donell
Date: Sat Dec 06 2008 - 11:08:16 EST


On Sat, Dec 6, 2008 at 1:34 AM, Dave Airlie <airlied@xxxxxxxxx> wrote:
> Its a real pain in the ass with dynamic buffer objects, we don't want userspace
> to care where they are located, the kernel migrates them in/out of
> video memory, GART, local RAM etc.
>
> However I suspect I just need on these platforms to ban any CPU
> accesses to pixmaps in VRAM. However
> sw fallbacks to the front buffer will always need these accesses.
>
> Its going to be a real pain getting any traction this stuff upstream
> (X.org/Mesa) where the world is x86 and maybe the odd powerpc, having
> to do special accessors for shithouse hw is never going to be fun.

Is there no case on x86 when this matters?

What about ARM, ColdFire or MIPS?

As the embedded market continues to grow I hope to see X.org/Mesa on
more hardware with different memory access rules.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/