#if defined(GALLIUM_FREEDRENO)
#if defined(DRI_TARGET)
-const __DRIextension **__driDriverGetExtensions_freedreno(void);
+const __DRIextension **__driDriverGetExtensions_msm(void);
-PUBLIC const __DRIextension **__driDriverGetExtensions_freedreno(void)
+PUBLIC const __DRIextension **__driDriverGetExtensions_msm(void)
+{
+ globalDriverAPI = &galliumdrm_driver_api;
+ return galliumdrm_driver_extensions;
+}
+
+const __DRIextension **__driDriverGetExtensions_kgsl(void);
+
+PUBLIC const __DRIextension **__driDriverGetExtensions_kgsl(void)
{
globalDriverAPI = &galliumdrm_driver_api;
return galliumdrm_driver_extensions;
endif
if HAVE_GALLIUM_FREEDRENO
-MEGADRIVERS += freedreno
+MEGADRIVERS += msm kgsl
STATIC_TARGET_CPPFLAGS += -DGALLIUM_FREEDRENO
STATIC_TARGET_LIB_DEPS += \
$(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \