[Libva] [PATCH 1/2] BDW/CHV/SKL: Follow the HW alignment requirement to access GPU buffer correctly
Xiang, Haihao
haihao.xiang at intel.com
Mon Jun 22 21:46:17 PDT 2015
LGTM
Thanks
Haihao
> From: Zhao Yakui <yakui.zhao at intel.com>
>
> Otherwise the buffer access is incorrect.
>
> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> ---
> src/i965_device_info.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/i965_device_info.c b/src/i965_device_info.c
> index 13e3daa..d5b5cb8 100644
> --- a/src/i965_device_info.c
> +++ b/src/i965_device_info.c
> @@ -230,7 +230,7 @@ static struct hw_codec_info bdw_hw_codec_info = {
>
> .max_width = 4096,
> .max_height = 4096,
> - .min_linear_wpitch = 64,
> + .min_linear_wpitch = 128,
> .min_linear_hpitch = 16,
>
> .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
> @@ -273,7 +273,7 @@ static struct hw_codec_info chv_hw_codec_info = {
>
> .max_width = 4096,
> .max_height = 4096,
> - .min_linear_wpitch = 64,
> + .min_linear_wpitch = 128,
> .min_linear_hpitch = 16,
>
> .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
> @@ -321,7 +321,7 @@ static struct hw_codec_info skl_hw_codec_info = {
>
> .max_width = 4096,
> .max_height = 4096,
> - .min_linear_wpitch = 64,
> + .min_linear_wpitch = 128,
> .min_linear_hpitch = 16,
>
> .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
More information about the Libva
mailing list