From: Leo Liu Date: Tue, 2 May 2017 20:26:23 +0000 (-0400) Subject: radeon/vcn: add decode message feedback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=949dd66c9ec914cc2b9b6d40a1d1860b6963cba1;p=mesa.git radeon/vcn: add decode message feedback Signed-off-by: Leo Liu Reviewed-by: Christian König --- 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 */