radeon/vce: add firmware support for version 52.8.3
authorLeo Liu <leo.liu@amd.com>
Tue, 20 Sep 2016 14:09:23 +0000 (10:09 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 20 Sep 2016 19:58:56 +0000 (15:58 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_vce.c

index 92cb8ce101fed2e4bed7213e4926e1cb3f003a7c..8504d93d9b84cb5282073ac8a3dee029223bb251 100644 (file)
@@ -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;