From 909037b557cabbb267d470272d348ce2debd58d9 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Thu, 11 Jun 2020 18:28:25 -0400 Subject: [PATCH] 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 Reviewed-by: Boyuan Zhang Reviewed-by: James Zhu Part-of: --- src/gallium/drivers/radeon/radeon_vcn_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2