summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-06-29 11:48:53 -0400
committerLeo Liu <[email protected]>2016-07-05 09:15:50 -0400
commitaa7d42a5f9d8f491ca3a1fdaa61ee7058398f80f (patch)
tree062f43e3f81ba7e292519e4617a19b028d91ee29 /src
parente560a11b872d2c79ee85405c64deafb789ce77f9 (diff)
radeon/vce: update encRefPic addr and array mode to tiled
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce_52.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce_52.c b/src/gallium/drivers/radeon/radeon_vce_52.c
index 7d333133dc3..869b29bd2ff 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