radeon/vcn: reset the decode flags from message buffer
authorLeo Liu <leo.liu@amd.com>
Thu, 11 Jun 2020 22:28:25 +0000 (18:28 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 18 Jun 2020 13:58:03 +0000 (09:58 -0400)
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 <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5501>

src/gallium/drivers/radeon/radeon_vcn_dec.c

index 025307121fe6ce40ba1f621744526eef198f3d24..2cf6376c749c030ff50cde19338ee07a8f0e30f3 100644 (file)
@@ -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;