projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e73fc6
)
gallium/radeon: fix VDPAU breakage, need VRAM with WC
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 4 Jul 2017 23:14:03 +0000
(
01:14
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 4 Jul 2017 23:14:48 +0000
(
01:14
+0200)
src/gallium/drivers/radeon/radeon_video.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_video.c
b/src/gallium/drivers/radeon/radeon_video.c
index c7ad7f7a3b4455460fa2aecc565d789a392b59ee..f7a1c4743d53d22efd08f8f2729ea8c864bc58a3 100644
(file)
--- 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;