From b4c812a26981d8fe4f803808780407523c946e6c Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Mon, 28 Oct 2019 13:08:25 -0400 Subject: radeon/vcn: Add VP9 8K decode support Require increase of context buffer size Signed-off-by: Leo Liu Reviewed-by: Boyuan Zhang --- src/gallium/drivers/radeon/radeon_vcn_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeon') 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; -- cgit v1.2.3