egl/android: Add DRM node probing and filtering
authorRobert Foss <robert.foss@collabora.com>
Wed, 18 Apr 2018 15:27:40 +0000 (17:27 +0200)
committerRobert Foss <robert.foss@collabora.com>
Mon, 25 Jun 2018 16:54:10 +0000 (18:54 +0200)
commitc7bb82136b48b99427465ba4fa3ce477cf09e097
tree4617e6ad48d42d19066a3213a322160491b7f5d7
parent3f7bca44d9a9f07eaafc5de850ec65bdd00707b9
egl/android: Add DRM node probing and filtering

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.

Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
src/egl/drivers/dri2/platform_android.c