summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-02-10 10:44:05 -0500
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit5eba761feeb4e742254bd28c435550023868fbec (patch)
tree2c7b3009e7b971ffb1822962762270dafbac4a51 /src/gallium/drivers/radeon
parented48b399f1e13e400a31c178af94d0bd1c2b3d25 (diff)
radeon/vce: add vce support for firmware 53.19.4
v2: squashed with other similar commits Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index 8d25dd7770a..70c1e60f5b4 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_19_4 ((53 << 24) | (19 << 16) | (4 << 8))
/**
* flush commands to the hardware
@@ -509,6 +510,10 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
radeon_vce_52_init(enc);
get_pic_param = radeon_vce_52_get_param;
break;
+ case FW_53_19_4:
+ radeon_vce_52_init(enc);
+ get_pic_param = radeon_vce_52_get_param;
+ break;
default:
goto error;
@@ -541,6 +546,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_19_4:
return true;
default:
return false;