diff options
author | Rob Herring <[email protected]> | 2017-05-22 19:04:48 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2017-06-29 09:09:49 -0500 |
commit | a3d98ca62febdfbe035d655cb7c1f849bccfa105 (patch) | |
tree | 32cc3dfc003beb4715e1ad4eeb034d45582fc4fd /src/gbm | |
parent | 4aaa21d12e1d7449a228e37ee3c502fbf159610a (diff) |
Android: use symlinks for driver loading
Instead of having special driver loading logic for Android, create
symlinks to gallium_dri.so so we can use the standard loading logic.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/gbm')
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 19be440d48e..53e590855be 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -354,15 +354,6 @@ dri_open_driver(struct gbm_dri_device *dri) /* not need continue to loop all paths once the driver is found */ if (dri->driver != NULL) break; - -#ifdef ANDROID - snprintf(path, sizeof path, "%.*s/gallium_dri.so", len, p); - dri->driver = dlopen(path, RTLD_NOW | RTLD_GLOBAL); - if (dri->driver == NULL) - sprintf("failed to open %s: %s\n", path, dlerror()); - else - break; -#endif } if (dri->driver == NULL) { |