aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-05 01:14:03 +0200
committerMarek Olšák <[email protected]>2017-07-05 01:14:48 +0200
commita2b02c4948a7cecfdd64859a9375641573497cd0 (patch)
treef063540952d300a14b44fa6519a67cc96a656b4c /src/gallium/drivers
parent1e73fc6b1a6bf4642f8c96d78d942ee7b7c8c36f (diff)
gallium/radeon: fix VDPAU breakage, need VRAM with WC
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/radeon_video.c3
1 files changed, 2 insertions, 1 deletions
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;