Mesa (master): radeon/vcn: Add VP9 8K decode support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 30 16:48:13 UTC 2019


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

Author: Leo Liu <leo.liu at amd.com>
Date:   Mon Oct 28 13:08:25 2019 -0400

radeon/vcn: Add VP9 8K decode support

Require increase of context buffer size

Signed-off-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>

---

 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 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;




More information about the mesa-commit mailing list