From: Marek Olšák Date: Tue, 4 Jul 2017 23:14:03 +0000 (+0200) Subject: gallium/radeon: fix VDPAU breakage, need VRAM with WC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2b02c4948a7cecfdd64859a9375641573497cd0;p=mesa.git gallium/radeon: fix VDPAU breakage, need VRAM with WC --- diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index c7ad7f7a3b4..f7a1c4743d5 100644 --- a/src/gallium/drivers/radeon/radeon_video.c +++ b/src/gallium/drivers/radeon/radeon_video.c @@ -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;