OSDN Git Service

ilo: rework transfer mapping method choosing
authorChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2013 03:24:02 +0000 (11:24 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2013 07:21:50 +0000 (15:21 +0800)
commitcb57da421a333f5649201a41378e2b4087b38b42
tree36d1ea866efd674402e60e5e7e81e2b6b7cbcdbf
parentb6c307744f01c40cdaa128318db7229261a3186e
ilo: rework transfer mapping method choosing

Always check if a bo is busy in choose_transfer_method() since we always need
to map it in either map() or unmap().  Also determine how a bo is mapped in
choose_transfer_method().
src/gallium/drivers/ilo/ilo_transfer.c