summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/egl_pipe.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-08-29 17:26:16 -0400
committerRob Clark <[email protected]>2013-08-29 17:35:05 -0400
commitde10d383d029c8559522f731e04572dc997a0dbc (patch)
treee13062af1f99f2fa1e202feb84105f9ac8a2995d /src/gallium/targets/egl-static/egl_pipe.c
parente95b7d89b9cd7d82b6122f9ad9bbf2249a0a8802 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static/egl_pipe.c')
-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 57a3233530f..e5100c173e6 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;