X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibva-intel-driver.git;a=blobdiff_plain;f=src%2Fi965_device_info.c;h=a15a31b06755661edfb83cb3728453c3aac14eca;hp=55e762b36c9f4fb21fd772c487e9c9227fc356d0;hb=69e26f5ca4cad4ac69d47fa0db50f037c197c079;hpb=7fb211f94dae32532d1326565b48d86e558ceb24 diff --git a/src/i965_device_info.c b/src/i965_device_info.c index 55e762b..a15a31b 100644 --- a/src/i965_device_info.c +++ b/src/i965_device_info.c @@ -29,10 +29,14 @@ extern struct hw_context *i965_proc_context_init(VADriverContextP, struct object_config *); extern struct hw_context *g4x_dec_hw_context_init(VADriverContextP, struct object_config *); +extern bool genx_render_init(VADriverContextP); + static const struct hw_codec_info g4x_hw_codec_info = { .dec_hw_context_init = g4x_dec_hw_context_init, .enc_hw_context_init = NULL, .proc_hw_context_init = NULL, + .render_init = genx_render_init, + .max_width = 2048, .max_height = 2048, @@ -46,6 +50,8 @@ static const struct hw_codec_info ilk_hw_codec_info = { .dec_hw_context_init = ironlake_dec_hw_context_init, .enc_hw_context_init = NULL, .proc_hw_context_init = i965_proc_context_init, + .render_init = genx_render_init, + .max_width = 2048, .max_height = 2048, @@ -63,6 +69,8 @@ static const struct hw_codec_info snb_hw_codec_info = { .dec_hw_context_init = gen6_dec_hw_context_init, .enc_hw_context_init = gen6_enc_hw_context_init, .proc_hw_context_init = i965_proc_context_init, + .render_init = genx_render_init, + .max_width = 2048, .max_height = 2048, @@ -88,6 +96,8 @@ static const struct hw_codec_info ivb_hw_codec_info = { .dec_hw_context_init = gen7_dec_hw_context_init, .enc_hw_context_init = gen7_enc_hw_context_init, .proc_hw_context_init = i965_proc_context_init, + .render_init = genx_render_init, + .max_width = 4096, .max_height = 4096, @@ -117,6 +127,8 @@ static const struct hw_codec_info hsw_hw_codec_info = { .dec_hw_context_init = gen75_dec_hw_context_init, .enc_hw_context_init = gen75_enc_hw_context_init, .proc_hw_context_init = gen75_proc_context_init, + .render_init = genx_render_init, + .max_width = 4096, .max_height = 4096, @@ -149,6 +161,8 @@ static const struct hw_codec_info bdw_hw_codec_info = { .dec_hw_context_init = gen8_dec_hw_context_init, .enc_hw_context_init = gen8_enc_hw_context_init, .proc_hw_context_init = gen75_proc_context_init, + .render_init = gen8_render_init, + .max_width = 4096, .max_height = 4096,