diff options
author | Ricardo 'Grim' Cabrita <grimkriegor@krutt.org> | 2019-07-22 18:42:07 +0100 |
---|---|---|
committer | Ricardo 'Grim' Cabrita <grimkriegor@krutt.org> | 2019-07-22 18:45:15 +0100 |
commit | e0a5e6c056c8281712bf6366acfe876215992613 (patch) | |
tree | 455e4ef77b72d5ed3b647875e1e392248cf1ced0 | |
parent | 13ff897b52ee672ef1be1425b63fa33b73fbfdc3 (diff) | |
download | external_mesa3d-e0a5e6c056c8281712bf6366acfe876215992613.tar.gz external_mesa3d-e0a5e6c056c8281712bf6366acfe876215992613.tar.bz2 external_mesa3d-e0a5e6c056c8281712bf6366acfe876215992613.zip |
egl/dri2: Allow using kms_swrast with exynos driver
Signed-off-by: Ricardo 'Grim' Cabrita <grimkriegor@krutt.org>
-rw-r--r-- | src/egl/drivers/dri2/platform_android.c | 5 |
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 07b5534c841..456b1f792ca 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 { |