From: Leo Liu Date: Thu, 11 Jun 2020 22:28:25 +0000 (-0400) Subject: radeon/vcn: reset the decode flags from message buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=909037b557cabbb267d470272d348ce2debd58d9;p=mesa.git 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: --- 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;