From 949dd66c9ec914cc2b9b6d40a1d1860b6963cba1 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Tue, 2 May 2017 16:26:23 -0400 Subject: [PATCH] radeon/vcn: add decode message feedback MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Leo Liu Reviewed-by: Christian König --- src/gallium/drivers/radeon/radeon_vcn_dec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c index d213de5e387..2c826c223a2 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_dec.c +++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c @@ -132,7 +132,11 @@ static void rvcn_dec_message_destroy(struct radeon_decoder *dec) static void rvcn_dec_message_feedback(struct radeon_decoder *dec) { - /* TODO */ + rvcn_dec_feedback_header_t *header = (void*)dec->fb; + + header->header_size = sizeof(rvcn_dec_feedback_header_t); + header->total_size = sizeof(rvcn_dec_feedback_header_t); + header->num_buffers = 0; } /* flush IB to the hardware */ -- 2.30.2