Re: [Libva] [PATCH] Fix for check i965_check_alloc_surface_bo ret

2014-03-21 Thread Zhao Yakui
On Fri, 2014-03-21 at 02:00 -0600, Zhao, Halley wrote: > Bug is introduced by my previous patch. > > i965_check_alloc_surface_bo used to be void return, > when I improve it to return VAStatus, the check should be inside the {}. Thanks for your fix. This will be pushed. > > > > -Original Me

Re: [Libva] [PATCH] Fix for check i965_check_alloc_surface_bo ret

2014-03-21 Thread Zhao, Halley
Bug is introduced by my previous patch. i965_check_alloc_surface_bo used to be void return, when I improve it to return VAStatus, the check should be inside the {}. > -Original Message- > From: Zhao, Halley > Sent: Friday, March 21, 2014 3:57 PM > To: libva@lists.freedesktop.org > Cc: Zh

[Libva] [PATCH] Fix for check i965_check_alloc_surface_bo ret

2014-03-21 Thread Zhao, Halley
From: "Zhao, Halley" --- src/i965_drv_video.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 750d92e..67f93ef 100755 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -3204,11 +3204,10 @@ VAStatus i965_DeriveImage

Re: [Libva] [PATCH] Add 422H support for VA image.

2014-03-21 Thread Zhao Yakui
On Fri, 2014-03-21 at 01:15 -0600, Xiang, Haihao wrote: > On Fri, 2014-03-21 at 14:31 +0800, zhiwen...@intel.com wrote: > > From: Alex wu > > > > --- > > src/i965_drv_video.c | 22 ++ > > 1 file changed, 22 insertions(+) > > > > diff --git a/src/i965_drv_video.c b/src/i96

Re: [Libva] [PATCH] Add 422H support for VA image.

2014-03-21 Thread Xiang, Haihao
On Fri, 2014-03-21 at 14:31 +0800, zhiwen...@intel.com wrote: > From: Alex wu > > --- > src/i965_drv_video.c | 22 ++ > 1 file changed, 22 insertions(+) > > diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c > index 2fe18eb..2f00964 100755 > --- a/src/i965_drv_video