aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_android.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/drivers/dri2/platform_android.c')
-rw-r--r--src/egl/drivers/dri2/platform_android.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index 07b5534..456b1f7 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -1387,12 +1387,13 @@ droid_load_driver(_EGLDisplay *disp, bool swrast)
}
#else
if (swrast) {
- /* Use kms swrast only with vgem / virtio_gpu.
+ /* Use kms swrast only with vgem / virtio_gpu / exynos.
* virtio-gpu fallbacks to software rendering when 3D features
* are unavailable since 6c5ab.
*/
if (strcmp(dri2_dpy->driver_name, "vgem") == 0 ||
- strcmp(dri2_dpy->driver_name, "virtio_gpu") == 0) {
+ strcmp(dri2_dpy->driver_name, "virtio_gpu") == 0 ||
+ strcmp(dri2_dpy->driver_name, "exynos") == 0) {
free(dri2_dpy->driver_name);
dri2_dpy->driver_name = strdup("kms_swrast");
} else {