egl: android: disable __DRI_DRI2_LOADER support on render nodes
authorRob Herring <robh@kernel.org>
Thu, 28 Apr 2016 20:37:28 +0000 (15:37 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 11:31:28 +0000 (12:31 +0100)
commitd45884ef054eea539d4bf0018a99ed29e69d59c9
tree296042921524cd0724f9a4800dbe3bb222acd73b
parentdbbf7a8e618f06f59abbdc4c5be605a08886ed6a
egl: android: disable __DRI_DRI2_LOADER support on render nodes

Use of __DRI_DRI2_LOADER extension is only supported for card nodes. In
order to support dmabufs, Android will be moving to using render nodes and
we need to disable the DRI2 loader extension.

This is based on the Wayland EGL code.

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c