winsys/amdgpu: Process RADEON_FLAG_* independently from RADEON_DOMAIN_*
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 26 Jan 2016 07:38:55 +0000 (16:38 +0900)
committerMichel Dänzer <michel@daenzer.net>
Fri, 29 Jan 2016 07:06:06 +0000 (16:06 +0900)
commit30fcf241e13f82b3b9e3099632358b34cd35bff2
treebc927f1943912673575f32514d18f2502d1b903d
parent62f837e2ea7b854215efb2e110b176dad61c2af0
winsys/amdgpu: Process RADEON_FLAG_* independently from RADEON_DOMAIN_*

In particular, AMDGPU_GEM_CREATE_CPU_GTT_USWC can affect even BOs created
in VRAM if they get evicted to GTT. In general there's no need to
restrict any of the flags to any particular domains.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c