summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gralloc/gralloc_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gralloc/gralloc_gem.c b/src/gralloc/gralloc_gem.c
index 3276335159..be1a77c60b 100644
--- a/src/gralloc/gralloc_gem.c
+++ b/src/gralloc/gralloc_gem.c
@@ -132,7 +132,7 @@ get_drv_from_fd(int fd)
if (version->name) {
#ifdef ENABLE_INTEL
- if (!drv && !strcmp(version->name, "intel"))
+ if (!drv && !strcmp(version->name, "i915"))
drv = &drm_gem_drv_intel;
#endif
#ifdef ENABLE_RADEON