r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.
authorMichel Dänzer <daenzer@vmware.com>
Sun, 6 Sep 2009 16:12:14 +0000 (18:12 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Sun, 6 Sep 2009 16:12:14 +0000 (18:12 +0200)
commit7b8ec0d8e72b4dd0c60db9c9454acd1f1ec75a7e
tree719aca9bea6c4afacbcbd193c3206601b5164182
parent23663ae9148b9a976b8a95e48af8404cbda046fe
r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.

Return NULL if the BO is busy, otherwise just map it.
src/gallium/winsys/drm/radeon/core/radeon_buffer.c