From: Leo Liu Date: Mon, 28 Oct 2019 17:08:25 +0000 (-0400) Subject: radeon/vcn: Add VP9 8K decode support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4c812a26981d8fe4f803808780407523c946e6c;p=mesa.git radeon/vcn: Add VP9 8K decode support Require increase of context buffer size Signed-off-by: Leo Liu Reviewed-by: Boyuan Zhang --- diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c index 09db9e53d33..6d0ae7b4ce1 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_dec.c +++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c @@ -944,7 +944,7 @@ static struct pb_buffer *rvcn_dec_message_decode(struct radeon_decoder *dec, /* SMP collocated context data */ ctx_size += 9 * 64 * 2 * 128 * 68; /* SDB left tile pixel */ - ctx_size += 8 * 2 * 8192; + ctx_size += 8 * 2 * 2 * 8192; } else { ctx_size += 32 * 2 * 64 * 64; ctx_size += 9 * 64 * 2 * 64 * 64;