projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0152a0c
)
radeon/vcn: add decode message feedback
author
Leo Liu
<leo.liu@amd.com>
Tue, 2 May 2017 20:26:23 +0000
(16:26 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Thu, 25 May 2017 15:40:20 +0000
(11:40 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_vcn_dec.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_vcn_dec.c
b/src/gallium/drivers/radeon/radeon_vcn_dec.c
index d213de5e387d7584c5397fdfa943e3b8bce020f1..2c826c223a26a63a6473374923a8a22fcd44b5a0 100644
(file)
--- 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 */