radeon/vce: update encRefPic addr and array mode to tiled
authorLeo Liu <leo.liu@amd.com>
Wed, 29 Jun 2016 15:48:53 +0000 (11:48 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 5 Jul 2016 13:15:50 +0000 (09:15 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_vce_52.c

index 7d333133dc39544aa90b7a6b53c9c7ad0e78eda3..869b29bd2ff06e07462949e7e97dd25016f7f5b2 100644 (file)
@@ -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