Re: [Libva] problem when tiling is disabled on decoded surfaces

2016-10-07 Thread Xiang, Haihao
Hi Julien, Please do not set obj_surface->user_disable_tiling to true unless you know the usage, e.g. your applicate allocates a VA surface via libva and shares this surface between libva and camera, some cameras only support linear memory. In your case, it is the right behavior if you saw garba

Re: [Libva] problem when tiling is disabled on decoded surfaces

2016-10-07 Thread Zhao Yakui
On 10/08/2016 02:13 AM, Sean V Kelley wrote: On Fri, Oct 7, 2016 at 11:00 AM, Sean V Kelley wrote: On Thu, Oct 6, 2016 at 1:20 AM, Julien Isorce wrote: Hi, In intel vaapi driver I tried disabling tiling with: --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -1534,7 +1534,7 @@ i965

Re: [Libva] problem when tiling is disabled on decoded surfaces

2016-10-07 Thread Sean V Kelley
On Fri, Oct 7, 2016 at 11:00 AM, Sean V Kelley wrote: > On Thu, Oct 6, 2016 at 1:20 AM, Julien Isorce wrote: >> Hi, >> >> In intel vaapi driver I tried disabling tiling with: >> >> --- a/src/i965_drv_video.c >> +++ b/src/i965_drv_video.c >> @@ -1534,7 +1534,7 @@ i965_CreateSurfaces2( >>

Re: [Libva] problem when tiling is disabled on decoded surfaces

2016-10-07 Thread Sean V Kelley
On Thu, Oct 6, 2016 at 1:20 AM, Julien Isorce wrote: > Hi, > > In intel vaapi driver I tried disabling tiling with: > > --- a/src/i965_drv_video.c > +++ b/src/i965_drv_video.c > @@ -1534,7 +1534,7 @@ i965_CreateSurfaces2( > obj_surface->orig_height = height; > -obj_surface->user