aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-09-08 17:34:59 +0200
committerMarek Olšák <[email protected]>2017-09-12 22:44:02 +0200
commit4ba20c94738d1261c4ce687ea929efd10393b9ef (patch)
tree683f4badd0bf6a5367541321595f5557e0cafce9 /src
parent1a172fb113554fa03053052b161d5e22fc2fcb1f (diff)
Revert "winsys/amdgpu: disable local BOs on Raven"
This reverts commit 1cda9a2fee05effd9c64bd773bc6005281593662. It works now.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_bo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
index 4e9022f909b..897b4f05965 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
@@ -411,8 +411,7 @@ static struct amdgpu_winsys_bo *amdgpu_create_bo(struct amdgpu_winsys *ws,
if (flags & RADEON_FLAG_GTT_WC)
request.flags |= AMDGPU_GEM_CREATE_CPU_GTT_USWC;
if (flags & RADEON_FLAG_NO_INTERPROCESS_SHARING &&
- ws->info.drm_minor >= 20 &&
- ws->info.family != CHIP_RAVEN)
+ ws->info.drm_minor >= 20)
request.flags |= AMDGPU_GEM_CREATE_VM_ALWAYS_VALID;
r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle);