summaryrefslogtreecommitdiff
path: root/src/i965_device_info.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2017-02-14 14:52:40 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-02-14 15:06:37 +0800
commit97120c930a0ca46513ab7dd823d0a7e2b767642e (patch)
tree55a596d227d288e7b9ba036e49b52d24232631c0 /src/i965_device_info.c
parent768ee3107ad54c5330f92d0f1ea2c04dd73b3a73 (diff)
downloadlibva-intel-driver-97120c930a0ca46513ab7dd823d0a7e2b767642e.tar.gz
Query the Huc on APL/KBL to check whether VDENC BRC is supported
The VDENC BRC has the dependency on Huc. When the HUC is loaded, it will return the corresponding BRC attribute. Fix the issue #45 https://github.com/01org/intel-vaapi-driver/issues/44 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/i965_device_info.c')
-rw-r--r--src/i965_device_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index 4edc5f71..b838017c 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -384,6 +384,7 @@ static struct hw_codec_info bxt_hw_codec_info = {
.render_init = gen9_render_init,
.post_processing_context_init = gen9_post_processing_context_init,
.max_resolution = gen9_max_resolution,
+ .preinit_hw_codec = gen9_hw_codec_preinit,
.max_width = 4096, /* default. See max_resolution */
.max_height = 4096, /* default. See max_resolution */
@@ -440,6 +441,7 @@ static struct hw_codec_info kbl_hw_codec_info = {
.render_init = gen9_render_init,
.post_processing_context_init = gen9_post_processing_context_init,
.max_resolution = gen9_max_resolution,
+ .preinit_hw_codec = gen9_hw_codec_preinit,
.max_width = 4096, /* default. See max_resolution */
.max_height = 4096, /* default. See max_resolution */