Skip to content
Snippets Groups Projects
  1. Apr 27, 2018
    • Robert Foss's avatar
      egl/android: Add DRM node probing and filtering · 8f38d7ea
      Robert Foss authored
      
      This patch both adds support for probing & filtering DRM nodes
      and switches away from using the GRALLOC_MODULE_PERFORM_GET_DRM_FD
      gralloc call.
      
      Currently the filtering is based just on the driver name,
      and the desired name is supplied using the "drm.gpu.vendor_name"
      Android property.
      
      The filtering itself is done using the newly introduced
      libdrm drmHandleMatch() call.
      
      Signed-off-by: default avatarRobert Foss <robert.foss@collabora.com>
      8f38d7ea
    • Rob Herring's avatar
      egl/android: #ifdef out flink name support · b2c22575
      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>
      b2c22575
  2. Apr 26, 2018
  3. Apr 25, 2018
  4. Apr 24, 2018
Loading