[Mesa-dev] radeon/vce: add firmware support for version 53.14.3

Submitted by Zhang, Boyuan on March 23, 2017, 8:57 p.m.

Details

Message ID 1490302641-2885-1-git-send-email-boyuan.zhang@amd.com
State New
Headers show
Series "radeon/vce: add firmware support for version 53.14.3" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Zhang, Boyuan March 23, 2017, 8:57 p.m.
From: Boyuan Zhang <boyuan.zhang@amd.com>

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
---
 src/gallium/drivers/radeon/radeon_vce.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index dcd56ea..b7b309c 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -52,6 +52,7 @@ 
 #define FW_52_0_3 ((52 << 24) | (0 << 16) | (3 << 8))
 #define FW_52_4_3 ((52 << 24) | (4 << 16) | (3 << 8))
 #define FW_52_8_3 ((52 << 24) | (8 << 16) | (3 << 8))
+#define FW_53_14_3 ((53 << 24) | (14 << 16) | (3 << 8))
 
 /**
  * flush commands to the hardware
@@ -492,6 +493,7 @@  struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
 	case FW_52_0_3:
 	case FW_52_4_3:
 	case FW_52_8_3:
+	case FW_53_14_3:
 		radeon_vce_52_init(enc);
 		get_pic_param = radeon_vce_52_get_param;
 		break;
@@ -527,6 +529,7 @@  bool rvce_is_fw_version_supported(struct r600_common_screen *rscreen)
 	case FW_52_0_3:
 	case FW_52_4_3:
 	case FW_52_8_3:
+	case FW_53_14_3:
 		return true;
 	default:
 		return false;