summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2013-08-29 17:26:16 -0400
committerRob Clark <robclark@freedesktop.org>2013-08-29 17:35:05 -0400
commitde10d383d029c8559522f731e04572dc997a0dbc (patch)
treee13062af1f99f2fa1e202feb84105f9ac8a2995d /src/gallium/targets/egl-static
parente95b7d89b9cd7d82b6122f9ad9bbf2249a0a8802 (diff)
downloadexternal_mesa3d-de10d383d029c8559522f731e04572dc997a0dbc.zip
external_mesa3d-de10d383d029c8559522f731e04572dc997a0dbc.tar.gz
external_mesa3d-de10d383d029c8559522f731e04572dc997a0dbc.tar.bz2
freedreno: pipe loader for either kgsl or msm
The downstream android kernel driver is "kgsl", the upstream drm/kms driver is called "msm". Since libdrm_freedreno handles the differences between the two, we need to load the same thing for either device. Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/egl_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-static/egl_pipe.c b/src/gallium/targets/egl-static/egl_pipe.c
index 57a3233..e5100c1 100644
--- a/src/gallium/targets/egl-static/egl_pipe.c
+++ b/src/gallium/targets/egl-static/egl_pipe.c
@@ -241,7 +241,7 @@ egl_pipe_create_drm_screen(const char *name, int fd)
return pipe_radeonsi_create_screen(fd);
else if (strcmp(name, "vmwgfx") == 0)
return pipe_vmwgfx_create_screen(fd);
- else if (strcmp(name, "kgsl") == 0)
+ else if ((strcmp(name, "kgsl") == 0) || (strcmp(name, "msm") == 0))
return pipe_freedreno_create_screen(fd);
else
return NULL;