diff options
| author | 2020-05-07 22:08:26 +0000 | |
|---|---|---|
| committer | 2020-05-07 22:08:26 +0000 | |
| commit | a0e1451620614e7310dab2b18e289f8b55a100f0 (patch) | |
| tree | e555eb3ba5eff5c5d79bdc7b958b658f5b47fc94 /vulkan/libvulkan/driver.cpp | |
| parent | 32c19cc8b30818c1bfec2e55fb76144ac1aa47b1 (diff) | |
| parent | 4264917141fe1f4a38da5f0698c5cc87f7720f80 (diff) | |
Vulkan: remove the fallback path to load Vulkan driver am: 4264917141
Change-Id: I858d5fc1edbb4bbe2bc5ae4e57262048275c57b9
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( |