diff options
author | Marek Olšák <marek.olsak@amd.com> | 2017-09-07 00:32:39 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2017-09-07 12:57:48 +0200 |
commit | 1cda9a2fee05effd9c64bd773bc6005281593662 (patch) | |
tree | 46bd3d718803748df30b07460119a71322076d9b | |
parent | 7b4b8f6373a960e8996169a5b7fadd6bcca42d94 (diff) |
winsys/amdgpu: disable local BOs on Raven
It hangs with a high degree of reproducibility.
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c index 897b4f0596..4e9022f909 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c @@ -411,7 +411,8 @@ 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.drm_minor >= 20 && + ws->info.family != CHIP_RAVEN) request.flags |= AMDGPU_GEM_CREATE_VM_ALWAYS_VALID; r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle); |