OSDN Git Service

android: fix amdgpu DRI_PATH as /vendor/{lib64,lib}/dri
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 11 Nov 2018 18:37:48 +0000 (19:37 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 20:35:41 +0000 (21:35 +0100)
commite6a0433018d9e54b65e1f61b54214778a38d28c1
tree84b0c138595722db2dd07140a86e700be513c6de
parentc9c297bf22aaa16b0306c5f19a852b0bd2165624
android: fix amdgpu DRI_PATH as /vendor/{lib64,lib}/dri

The correct DRI_PATH is /vendor/{lib64,lib}/dri based on 64,32 bit target
Linux distributions case is omitted to concentrate on android-x86 builds

Fixes following SIGABRT for 64 bit builds:

E [minigbm:gralloc0.cc(159)] Failed to initialize driver.
F Gralloc0Allocator: Failed to open gralloc0 device
F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 2654 (surfaceflinger)
...
F DEBUG   : pid: 2654, tid: 2654, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
F DEBUG   : Abort message: 'failed to open gralloc0 device: No such device'
amdgpu.c