radeon/video: always use the reusable buffer pool
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 23 Apr 2016 03:50:19 +0000 (22:50 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 16:16:41 +0000 (11:16 -0500)
commitc868974396e95d900c7754bce38c0c950f6e3ab6
tree631a165763611306888a3c0e580fb856376fd0a6
parent8c43c06e0463515c1339d44cbb8f78169e6a06fb
radeon/video: always use the reusable buffer pool

A semantic error was introduced in a past refactoring that caused the bind
parameter to be passed into the use_reusable_pool parameter of buffer_create.
Since this clearly makes no sense, and there is no clear reason why the
cache _shouldn't_ be used, just use the cache always.

Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_uvd.c
src/gallium/drivers/radeon/radeon_video.c
src/gallium/drivers/radeon/radeon_video.h
src/gallium/drivers/radeonsi/si_uvd.c