egl/drm: use dri2_setup_extensions() over the extensions provided by GBM
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 11 May 2017 15:34:47 +0000 (16:34 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 15:50:09 +0000 (16:50 +0100)
commit90d0ad14ca900aeedf1ae9bbff32266067a33b6e
tree56bcc452cba207fb61e98faedc0b0f37f2e528f8
parent2c341f2bda49b1b53ffddc62eb2483cdf2803cc1
egl/drm: use dri2_setup_extensions() over the extensions provided by GBM

Allows us to keep things in sync easier and lets us simplify the
interface between the two even further.

v2: Don't set GBM's extensions.

Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Rob Herring <robh@kernel.org>
src/egl/drivers/dri2/platform_drm.c