[Mesa-dev] [PATCH 0/2] kms-swrast: PRIME and missing defines

Emil Velikov emil.l.velikov at gmail.com
Wed Aug 20 07:50:40 PDT 2014


On 15/08/14 22:32, Andreas Pokorny wrote:
> Hi, 
> 
> This adds support for dma_buf fds to kms_swrast. This is especially interesting for drm capable drivers like qxl or udl. The former recently gained prime support. The second part adds a few defines that werent set anywhere else, but are necessary for dri_kms_init_screen to be not empty.
> 
Hi Andreas,

As I've added dri_kms_init_screen() I delieberately opted out of dma_buf as it
did not made sense considering the lack of winsys handling. Now it's coming
back to haunt me :)

Do you have any rough numbers about the benefit this brings us ?

-Emil

> regards
> Andreas
> 
> Andreas Pokorny (2):
>   kms-swrast: Support Prime fd handling
>   kms-swrast: defines missing to build kms-swrast
> 
>  src/gallium/state_trackers/dri/Makefile.am        |  5 ++
>  src/gallium/state_trackers/dri/dri2.c             |  8 ++
>  src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c | 91 +++++++++++++++++++----
>  3 files changed, 91 insertions(+), 13 deletions(-)
> 



More information about the mesa-dev mailing list