r600g,radeonsi: Set RADEON_GEM_NO_CPU_ACCESS flag for tiled BOs
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 9 Sep 2014 00:55:07 +0000 (09:55 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 10 Sep 2014 03:01:10 +0000 (12:01 +0900)
commit5679ccfcaf8221cc1252e3214e182085dd850d33
tree19dff2aa7486450bc9c41caded4343d138f38b85
parent720cfb6fe9a3dafadf3bc034008f7c5c15973866
r600g,radeonsi: Set RADEON_GEM_NO_CPU_ACCESS flag for tiled BOs

This lets the kernel know that such BOs can be pinned outside of the CPU
accessible part of VRAM.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_winsys.h