projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac0e9e3
)
winsys/amdgpu: fix assertion failure with UVD and VCE rings
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 26 Jan 2018 02:48:37 +0000
(
03:48
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 26 Jan 2018 22:12:11 +0000
(23:12 +0100)
Cc: 18.0 <mesa-stable@lists.freedesktop.org>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
index 0c778534606d7485ebd06c375e7bab1f73b8e0f0..66ba23d23195d74a108f548bce15a07b8e07d25d 100644
(file)
--- a/
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
+++ b/
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
@@
-670,11
+670,10
@@
static bool amdgpu_ib_new_buffer(struct amdgpu_winsys *ws, struct amdgpu_ib *ib,
ws->info.gart_page_size,
RADEON_DOMAIN_GTT,
RADEON_FLAG_NO_INTERPROCESS_SHARING |
- RADEON_FLAG_READ_ONLY |
(ring_type == RING_GFX ||
ring_type == RING_COMPUTE ||
ring_type == RING_DMA ?
- RADEON_FLAG_GTT_WC : 0));
+ RADEON_FLAG_
READ_ONLY | RADEON_FLAG_
GTT_WC : 0));
if (!pb)
return false;