summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-09-20 10:09:23 -0400
committerLeo Liu <[email protected]>2016-09-20 15:58:56 -0400
commit956f3e3bcd426b97a4d73d6903bbeb93ec4fd3f3 (patch)
treeeaaecf69c98791ecd9f4238106a05727e2b2dd24 /src/gallium
parentf9311265bfa2d716490a89be09bec9c5e253a56a (diff)
radeon/vce: add firmware support for version 52.8.3
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index 92cb8ce101f..8504d93d9b8 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -51,6 +51,7 @@
#define FW_50_17_3 ((50 << 24) | (17 << 16) | (3 << 8))
#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))
/**
* flush commands to the hardware
@@ -488,6 +489,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:
radeon_vce_52_init(enc);
get_pic_param = radeon_vce_52_get_param;
break;
@@ -522,6 +524,7 @@ bool rvce_is_fw_version_supported(struct r600_common_screen *rscreen)
case FW_50_17_3:
case FW_52_0_3:
case FW_52_4_3:
+ case FW_52_8_3:
return true;
default:
return false;