diff options
author | Leo Liu <[email protected]> | 2015-06-15 14:11:57 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-14 15:02:30 +0200 |
commit | fa80c1fe20f1fc33864f04fd9cf49f8bddfa4448 (patch) | |
tree | 7e76ada53c684f1708593e450e8755782ec1b8c6 /src/gallium/drivers/radeon/radeon_vce_40_2_2.c | |
parent | 468fcdcb4fafeba466bb1006ece1f16cc38805c7 (diff) |
radeon/vce: add dual pipe support for VI
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce_40_2_2.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce_40_2_2.c b/src/gallium/drivers/radeon/radeon_vce_40_2_2.c index 904781525b5..71b5e89fd59 100644 --- a/src/gallium/drivers/radeon/radeon_vce_40_2_2.c +++ b/src/gallium/drivers/radeon/radeon_vce_40_2_2.c @@ -287,23 +287,6 @@ static void encode(struct rvce_encoder *enc) RVCE_CS(enc->bs_size); // videoBitstreamRingSize RVCE_END(); - if (enc->use_2p) { - unsigned aux_offset = enc->cpb.res->buf->size - - RVCE_MAX_AUX_BUFFER_NUM * RVCE_MAX_BITSTREAM_OUTPUT_ROW_SIZE; - RVCE_BEGIN(0x05000002); // auxiliary buffer - for (i = 0; i < 4; ++i) { - RVCE_CS(aux_offset); - aux_offset += RVCE_MAX_BITSTREAM_OUTPUT_ROW_SIZE; - } - for (i = 0; i < 4; ++i) - RVCE_CS(0x00000000); - for (i = 0; i < 4; ++i) - RVCE_CS(RVCE_MAX_BITSTREAM_OUTPUT_ROW_SIZE); - for (i = 0; i < 4; ++i) - RVCE_CS(0x00000000); - RVCE_END(); - } - RVCE_BEGIN(0x03000001); // encode RVCE_CS(0x00000000); // insertHeaders RVCE_CS(0x00000000); // pictureStructure |