[Mesa-dev] [PATCH v2 0/3] st: dri2: handle dmabuf plane offsets != 0

Stanimir Varbanov stanimir.varbanov at linaro.org
Fri May 20 14:30:52 UTC 2016


For those who received this patchset twice sorry for the noise, it was
not on purpose. It was by mistake :(

On 05/20/2016 02:17 PM, Stanimir Varbanov wrote:
> Changes since v1:
>   - in 2/3 make possible to pass NULL pointer for error
>     argument to cover cases when exact error code is not
>     needed.
>   - in 3/3 avoid adding drm_driver.h by going down to winsys
>     abstraction layer for the drivers which supporting it,
>     removed check winsys->offset != for r300 and radeon and
>     finally addding the offset check for nouveau and vc4 they
>     already ignore the winsys abstraction.
>   - added few more people to Cc which have been touching 
>     the files recently.
> 
> Tested the patchset on db410c with freedreno driver and compile
> tested for the others.
> 
> Here we extend dri2 to handle dmabuf plain offsets != 0 applicable
> when GStreamer converting YUV->RGB dmabuf buffers using shaders.
> 
> regards,
> Stan
> 
> Stanimir Varbanov (3):
>   st/dri: add handling of R8 and GR88 DRI fourcc formats
>   st/dri: cleanup image_from_fd/dma_buf paths
>   gallium: push offset down to driver
> 
>  src/gallium/drivers/nouveau/nouveau_screen.c      |   6 ++
>  src/gallium/drivers/vc4/vc4_screen.c              |   7 ++
>  src/gallium/state_trackers/dri/dri2.c             | 106 +++++++++++++---------
>  src/gallium/winsys/i915/drm/i915_drm_buffer.c     |   3 +
>  src/gallium/winsys/intel/drm/intel_drm_winsys.c   |   3 +
>  src/gallium/winsys/svga/drm/vmw_screen_dri.c      |  12 +++
>  src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c |   2 +
>  src/gallium/winsys/virgl/drm/virgl_drm_winsys.c   |   6 ++
>  8 files changed, 104 insertions(+), 41 deletions(-)
> 


-- 
regards,
Stan


More information about the mesa-dev mailing list