diff options
author | Boyuan Zhang <[email protected]> | 2018-05-08 14:35:06 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2018-05-11 14:59:00 -0400 |
commit | 0907d3ab9c61ee1fc841aaf22fb4a5ab38633a0c (patch) | |
tree | f7c73561ae2687dce6d33a4666b3aaaa4cdd70ec /src/gallium/drivers/radeon | |
parent | a7c81a7f676618723de547b71d57eb3781147ba2 (diff) |
radeon/vce: add firmware support for ver 53 and up
All vce firmwares with major version greater than or equal to 53 are supported
Signed-off-by: Boyuan Zhang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c index 22168b50e24..6d1b1ff7879 100644 --- a/src/gallium/drivers/radeon/radeon_vce.c +++ b/src/gallium/drivers/radeon/radeon_vce.c @@ -506,7 +506,7 @@ struct pipe_video_codec *si_vce_create_encoder(struct pipe_context *context, break; default: - if ((sscreen->info.vce_fw_version & (0xff << 24)) == FW_53) { + if ((sscreen->info.vce_fw_version & (0xff << 24)) >= FW_53) { si_vce_52_init(enc); si_get_pic_param = si_vce_52_get_param; } else @@ -542,7 +542,7 @@ bool si_vce_is_fw_version_supported(struct si_screen *sscreen) case FW_52_8_3: return true; default: - if ((sscreen->info.vce_fw_version & (0xff << 24)) == FW_53) + if ((sscreen->info.vce_fw_version & (0xff << 24)) >= FW_53) return true; else return false; |