diff options
-rw-r--r-- | src/gen9_vme.c | 5 | ||||
-rw-r--r-- | src/i965_device_info.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/gen9_vme.c b/src/gen9_vme.c index d4c55f58..19a9097e 100644 --- a/src/gen9_vme.c +++ b/src/gen9_vme.c @@ -1992,10 +1992,7 @@ Bool gen9_vme_context_init(VADriverContextP ctx, struct intel_encoder_context *e } if (encoder_context->codec == CODEC_VP9) { - if (IS_GEN10(i965->intel.device_info)) - return False; - else - return gen9_vp9_vme_context_init(ctx, encoder_context); + return gen9_vp9_vme_context_init(ctx, encoder_context); } else if (encoder_context->codec == CODEC_VP8) { return i965_encoder_vp8_vme_context_init(ctx, encoder_context); } else if (encoder_context->codec == CODEC_H264 || diff --git a/src/i965_device_info.c b/src/i965_device_info.c index 5d9ecefb..a6adcf5c 100644 --- a/src/i965_device_info.c +++ b/src/i965_device_info.c @@ -693,13 +693,15 @@ static struct hw_codec_info cnl_hw_codec_info = { .has_hevc10_encoding = 1, .has_vp9_decoding = 1, .has_vpp_p010 = 1, - .has_vp9_encoding = 0, + .has_vp9_encoding = 1, .has_lp_h264_encoding = 1, .has_lp_vp9_encoding = 1, .lp_h264_brc_mode = VA_RC_CQP, .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB, + .vp9_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR, + .num_filters = 5, .filters = { { VAProcFilterNoiseReduction, I965_RING_VEBOX }, |