[Nouveau] [PATCH] nouveau: when nouveau_bo_map fails you expect it to not be mapped

Maarten Maathuis madman2003 at gmail.com
Fri Dec 25 06:51:04 PST 2009


On Fri, Dec 25, 2009 at 11:43 AM, Dave Airlie <airlied at gmail.com> wrote:
> On Fri, Dec 25, 2009 at 4:33 AM, Maarten Maathuis <madman2003 at gmail.com> wrote:
>> - This includes unmapping on failure to sync for cpu access.
>> - Double mapping will also be punished, so that people fix their code.
>
> Not sure that'll work too well for sw fallbacks, you can same src/dst
> pixmap or same
> texture/colorbuffer and the mapping code should just work.

At least exa these days handles this properly (eg no double mapping),
i don't know about the gallium drivers.

>
> Dave.
>


More information about the Nouveau mailing list