[Mesa-dev] [PATCH 2/2] radeon/vce: update encRefPic addr and array mode to tiled
Leo Liu
leo.liu at amd.com
Mon Jul 4 15:46:33 UTC 2016
Signed-off-by: Leo Liu <leo.liu at amd.com>
---
src/gallium/drivers/radeon/radeon_vce_52.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeon/radeon_vce_52.c b/src/gallium/drivers/radeon/radeon_vce_52.c
index 7d33313..869b29b 100644
--- a/src/gallium/drivers/radeon/radeon_vce_52.c
+++ b/src/gallium/drivers/radeon/radeon_vce_52.c
@@ -157,6 +157,7 @@ void radeon_vce_52_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_pict
static void create(struct rvce_encoder *enc)
{
+ enc->enc_pic.addrmode_arraymode_disrdo_distwoinstants = 0x00000201;
enc->task_info(enc, 0x00000000, 0, 0, 0);
RVCE_BEGIN(0x01000001); // create cmd
--
1.9.1
More information about the mesa-dev
mailing list