Re: [Mesa-dev] [PATCH v4 11/11] vc4: use common screen ref counting

2016-07-25 Thread Eric Anholt
Rob Herring writes: > Use the common pipe_screen ref counting and fd hashing functions for > vc4. This is necessary to only create a single pipe_screen for a > process and avoid multiple imports of same prime fd among other things > (probably). Reviewed-by: Eric Anholt signature.asc Descripti

[Mesa-dev] [PATCH v4 11/11] vc4: use common screen ref counting

2016-07-22 Thread Rob Herring
Use the common pipe_screen ref counting and fd hashing functions for vc4. This is necessary to only create a single pipe_screen for a process and avoid multiple imports of same prime fd among other things (probably). Cc: Eric Anholt Signed-off-by: Rob Herring --- src/gallium/winsys/vc4/drm/vc4_