[Libva] drm_intel_bo_alloc_for_render + dri_bo_map can help me read back the decoded data?

Xiang, Haihao haihao.xiang at intel.com
Mon Aug 15 18:01:28 PDT 2011


On Mon, 2011-08-15 at 15:57 +0800, hank peng wrote:
> 2011/8/15 Xiang, Haihao <haihao.xiang at intel.com>:
> > On Sat, 2011-08-13 at 23:28 +0800, hank peng wrote:
> >> Hi, all:
> >> I noticed that the dri_bo of a object surface is allocated using
> >> drm_intel_bo_alloc_tiled function which returned USWC buffer, can I
> >> use drm_intel_bo_alloc_for_render instead and then dri_bo_map to get
> >> real decoded data back?
> >
> > No
> >
> 
> you mean we should call drm_intel_bo_alloc_tiled with I915_TILING_Y?
> If I call drm_intel_bo_alloc_tiled with I915_TILING_NONE, and then
> dri_bo_map, I will not get the right decoded data?
Yes if your machine is SandyBridge.

> >>
> >>
> >
> >
> >
> 
> 
> 




More information about the Libva mailing list