without this flag, it fails an assertion with assertions disabled it retries with this flag set --- src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c index 63cd63287f..515d30a959 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c @@ -652,7 +652,8 @@ static bool amdgpu_ib_new_buffer(struct amdgpu_winsys *ws, struct amdgpu_ib *ib, RADEON_FLAG_READ_ONLY | (ring_type == RING_GFX || ring_type == RING_COMPUTE || - ring_type == RING_DMA ? + ring_type == RING_DMA || + ring_type == RING_UVD ? RADEON_FLAG_GTT_WC : 0)); if (!pb) return false; -- 2.16.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev