radeon/vcn: Add VP9 8K decode support
authorLeo Liu <leo.liu@amd.com>
Mon, 28 Oct 2019 17:08:25 +0000 (13:08 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 30 Oct 2019 16:43:04 +0000 (12:43 -0400)
Require increase of context buffer size

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
src/gallium/drivers/radeon/radeon_vcn_dec.c

index 09db9e53d334177cb461b04b60b21a576d69d7d1..6d0ae7b4ce1441e0ec3512e719e17abe93ebf151 100644 (file)
@@ -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;