winsys/radeon: Use separate caching buffer manager for each set of flags
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 8 Oct 2014 07:34:46 +0000 (16:34 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 15 Oct 2014 07:11:40 +0000 (16:11 +0900)
commit3ede67a4c6d77892296ffc5568ddf3accaa1af99
tree47a1b4d6b80edb116d5d500c2ba2765521aa1048
parent657764c21c1339132b6ef381436b9200839dc227
winsys/radeon: Use separate caching buffer manager for each set of flags

Otherwise the caching buffer manager may return a buffer which was created
with a different set of flags, which can cause trouble.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h