From: Leo Liu Date: Wed, 29 Jun 2016 15:48:53 +0000 (-0400) Subject: radeon/vce: update encRefPic addr and array mode to tiled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa7d42a5f9d8f491ca3a1fdaa61ee7058398f80f;p=mesa.git radeon/vce: update encRefPic addr and array mode to tiled Signed-off-by: Leo Liu Reviewed-by: Christian König --- 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