summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Fabien Sanglard <sanglardf@google.com> 2016-11-11 09:40:27 -0800
committer Fabien Sanglard <sanglardf@google.com> 2016-11-16 16:49:57 -0800
commitb7432cc57cd957fb18f68d7976c5829b3a3a7751 (patch)
tree5ec848fc3a328bdf23786ac6d1e30ac4a0e8a23b /vulkan/libvulkan/api.cpp
parente52d9e2acec131484588a2eb184d1d4b34eebeb3 (diff)
Fix HWC2to1Adapter crashing dragon at startup
Some devices such a dragon(ryu) do not start with a valid active configuration id (e.g: -1). This is unexpected from HWC2to1Adapter and resulted in crash at startup when switching the device from HWC1 to HWC2 with adapter. This patch detects this at startup and put the device in an expected configutation using the first configuration index (0). Test: Tested on ryu Change-Id: If2bb258d12636f1b2ebe8c7b167708dbf572fbe8
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions