OSDN Git Service

arc-cros-gralloc: amdgpu: Use DRI_PATH to load radeonsi
[android-x86/external-minigbm.git] / amdgpu.c
index bb9342e..6e1b9b8 100644 (file)
--- a/amdgpu.c
+++ b/amdgpu.c
 #include "helpers.h"
 #include "util.h"
 
-#ifdef __ANDROID__
-#define DRI_PATH "/vendor/lib/dri/radeonsi_dri.so"
-#else
 // clang-format off
 #define DRI_PATH STRINGIZE(DRI_DRIVER_DIR/radeonsi_dri.so)
 // clang-format on
-#endif
 
 #define TILE_TYPE_LINEAR 0
 /* DRI backend decides tiling in this case. */