[Libva] [Libva-intel-driver][PATCH v2 06/17] Fix curbe length in CMD_MEDIA_CURBE_LOAD on GEN8+
Zhao Yakui
yakui.zhao at intel.com
Fri Nov 18 06:27:24 UTC 2016
On 11/18/2016 01:43 PM, Xiang, Haihao wrote:
> It is multiple of 64 bytes
>
This looks good to me.
Add: Reviewed-by: Zhao Yakui <yakui.zhao at intel.com>
> Signed-off-by: Xiang, Haihao<haihao.xiang at intel.com>
> ---
> src/i965_gpe_utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/i965_gpe_utils.c b/src/i965_gpe_utils.c
> index 139ab1b..a6d539b 100644
> --- a/src/i965_gpe_utils.c
> +++ b/src/i965_gpe_utils.c
> @@ -1066,7 +1066,7 @@ gen8_gpe_curbe_load(VADriverContextP ctx,
>
> OUT_BATCH(batch, CMD_MEDIA_CURBE_LOAD | (4 - 2));
> OUT_BATCH(batch, 0);
> - OUT_BATCH(batch, gpe_context->curbe.length);
> + OUT_BATCH(batch, ALIGN(gpe_context->curbe.length, 64));
> OUT_BATCH(batch, gpe_context->curbe.offset);
>
> ADVANCE_BATCH(batch);
More information about the Libva
mailing list