diff options
| author | 2020-05-07 22:21:53 +0000 | |
|---|---|---|
| committer | 2020-05-07 22:21:53 +0000 | |
| commit | 2cb450b42f5bc90d69078108d6b14e1692fb94ad (patch) | |
| tree | e555eb3ba5eff5c5d79bdc7b958b658f5b47fc94 /vulkan/libvulkan/driver.cpp | |
| parent | 8179d539199f2444f3b4c72e2c9d649f10f17458 (diff) | |
| parent | a0e1451620614e7310dab2b18e289f8b55a100f0 (diff) | |
Vulkan: remove the fallback path to load Vulkan driver am: 4264917141 am: a0e1451620
Change-Id: I651007ef9138f421d4e9c75d028dfcd4ed0e5854
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
| -rw-r--r-- | vulkan/libvulkan/driver.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index a5f0c9f803..7bcb2c1441 100644 --- a/vulkan/libvulkan/driver.cpp +++ b/vulkan/libvulkan/driver.cpp @@ -252,18 +252,6 @@ bool Hal::Open() { result = LoadUpdatedDriver(&module); if (result == -ENOENT) { result = LoadBuiltinDriver(&module); - if (result != 0) { - // -ENOENT means the sphal namespace doesn't exist, not that there - // is a problem with the driver. - ALOGW_IF( - result != -ENOENT, - "Failed to load Vulkan driver into sphal namespace. This " - "usually means the driver has forbidden library dependencies." - "Please fix, this will soon stop working."); - result = - hw_get_module(HWVULKAN_HARDWARE_MODULE_ID, - reinterpret_cast<const hw_module_t**>(&module)); - } } if (result != 0) { android::GraphicsEnv::getInstance().setDriverLoaded( |