nvc0: tune PREFER_BLIT_BASED_TEXTURE_TRANSFER capability
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 2 Jul 2015 02:36:55 +0000 (11:36 +0900)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 2 Jul 2015 02:40:18 +0000 (22:40 -0400)
commit1087c566e3496d08fe70bc0725073e3022716dc5
treee7468f48cf79317725012b965241fe87a6ab5c08
parent4f57cdba2767b56eb4752f14ba9853ba6bc06d0e
nvc0: tune PREFER_BLIT_BASED_TEXTURE_TRANSFER capability

Prefer blit-based texture transfers only if the chip has dedicated VRAM
since it would translate to a copy into the same memory on shared-memory
chips.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c