projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a172fb
)
Revert "winsys/amdgpu: disable local BOs on Raven"
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 8 Sep 2017 15:34:59 +0000
(17:34 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 12 Sep 2017 20:44:02 +0000
(22:44 +0200)
This reverts commit
1cda9a2fee05effd9c64bd773bc6005281593662
.
It works now.
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
index 4e9022f909bfd0b683142219b39e188e43a75801..897b4f05965a3a21cea6b7f1e39af60b01e73ed7 100644
(file)
--- 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);