Mesa (master): radeon/vcn: reset the decode flags from message buffer

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 18 14:22:38 UTC 2020


Module: Mesa
Branch: master
Commit: 909037b557cabbb267d470272d348ce2debd58d9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=909037b557cabbb267d470272d348ce2debd58d9

Author: Leo Liu <leo.liu at amd.com>
Date:   Thu Jun 11 18:28:25 2020 -0400

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 <leo.liu at amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: James Zhu <James.Zhu at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5501>

---

 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;
 



More information about the mesa-commit mailing list