gallium/radeon: fix VDPAU breakage, need VRAM with WC

This commit is contained in:
Marek Olšák 2017-07-05 01:14:03 +02:00
parent 1e73fc6b1a
commit a2b02c4948
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ void rvid_join_surfaces(struct r600_common_context *rctx,
/* TODO: 2D tiling workaround */
alignment *= 2;
pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM, 0);
pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM,
RADEON_FLAG_GTT_WC);
if (!pb)
return;