aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2020-06-11 18:28:25 -0400
committerLeo Liu <[email protected]>2020-06-18 09:58:03 -0400
commit909037b557cabbb267d470272d348ce2debd58d9 (patch)
treec474d1404741ecc890934e543e5d5e8a4331b7d2
parent3817fa7a4d1f51c385b28a2e45a1edf227526028 (diff)
radeon/vcn: reset the decode flags from message buffer
This flag was never used by VCN previously, and now it's used for feature that is not applied to us. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Boyuan Zhang <[email protected]> Reviewed-by: James Zhu <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5501>
-rw-r--r--src/gallium/drivers/radeon/radeon_vcn_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c
index 025307121fe..2cf6376c749 100644
--- a/src/gallium/drivers/radeon/radeon_vcn_dec.c
+++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c
@@ -807,7 +807,7 @@ static struct pb_buffer *rvcn_dec_message_decode(struct radeon_decoder *dec,
index->filled = 0;
decode->stream_type = dec->stream_type;
- decode->decode_flags = 0x1;
+ decode->decode_flags = 0;
decode->width_in_samples = dec->base.width;
decode->height_in_samples = dec->base.height;