Skip to content
  • Rob Herring's avatar
    egl/android: #ifdef out flink name support · 3f7bca44
    Rob Herring authored and Robert Foss's avatar Robert Foss committed
    
    
    Maintaining both flink names and prime fd support which are provided by
    2 different gralloc implementations is problematic because we have a
    dependency on a specific gralloc implementation header.
    
    This mostly disables the dependency on the gralloc implementation and
    headers. The dependency on GRALLOC_MODULE_PERFORM_GET_DRM_FD remains for
    now, but the definition is added locally to remove the header
    dependency.
    
    drm_gralloc support can be enabled by setting
    BOARD_USES_DRM_GRALLOC=true in BoardConfig.mk.
    
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarRobert Foss <robert.foss@collabora.com>
    Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
    3f7bca44