summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-09-01 15:54:26 -0400
committerRob Clark <robdclark@gmail.com>2015-09-01 15:54:53 -0400
commitbcd65cced04b3f0dbcb5642cec4f630fa9f5319d (patch)
tree327872f4980ae3fc99ebbb5467b61cb32a1928d6
parent3aa8ec295d6e8846977bed3bf268467a28e3afef (diff)
downloaddrm_gralloc-bcd65cced04b3f0dbcb5642cec4f630fa9f5319d.tar.gz
WIP: pipe: fix typo with initial freedreno support
Well, it *was* completely untested at the time.
-rw-r--r--gralloc_drm_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c
index 5caac4f..682a00e 100644
--- a/gralloc_drm_pipe.c
+++ b/gralloc_drm_pipe.c
@@ -415,7 +415,7 @@ static int pipe_init_screen(struct pipe_manager *pm)
struct pipe_screen *screen;
#ifdef ENABLE_PIPE_FREEDRENO
- if (strcmp(pm->driver, "msm"))
+ if (strcmp(pm->driver, "msm") == 0)
screen = fd_drm_screen_create(pm->fd);
else
#endif