summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorSonny Jiang <[email protected]>2015-12-15 15:16:29 -0500
committerAlex Deucher <[email protected]>2016-03-24 23:07:53 -0400
commit0c5477465f08502fd81783ce17c449330537eb00 (patch)
tree2beb6acfd7ad9e7654954c246f87e40be6163908 /src/gallium
parent42e442d888ce2d3dcb95350d17c298791f5d76cc (diff)
radeon/vce: add Polaris11 VCE firmware support
Signed-off-by: Sonny Jiang <[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 2ab74e9eb6c..6584393f430 100644
--- a/src/gallium/drivers/radeon/radeon_vce.c
+++ b/src/gallium/drivers/radeon/radeon_vce.c
@@ -50,6 +50,7 @@
#define FW_50_10_2 ((50 << 24) | (10 << 16) | (2 << 8))
#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))
/**
* flush commands to the hardware
@@ -482,6 +483,7 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
break;
case FW_52_0_3:
+ case FW_52_4_3:
radeon_vce_52_init(enc);
break;
@@ -514,6 +516,7 @@ bool rvce_is_fw_version_supported(struct r600_common_screen *rscreen)
case FW_50_10_2:
case FW_50_17_3:
case FW_52_0_3:
+ case FW_52_4_3:
return true;
default:
return false;