commit | e1d49fc90e6fab7e86e0ffe0f28499408f464818 | [log] [tgz] |
---|---|---|
author | helnawawy <helnawawy@google.com> | Tue Aug 01 10:49:04 2023 -0700 |
committer | Hussein Elnawawy <helnawawy@google.com> | Thu Sep 14 21:55:37 2023 +0000 |
tree | a1d64e3aea92ec30b95aa2e015eaad2df5fd811c | |
parent | 9b6039ed989089e874752639e29a6b7be7584fe1 [diff] |
DrmClient: check card0 then card1 for virtio-gpu This modification is intended to work around a problem where the kernel might load the vkms module and initialize it as card0. If for whatever reason card0 is not virtio-gpu, then we attempt to open card1 instead of returning an error right away. If card1 is also not virtio-gpu, we return an error. Change-Id: Ib6167baa04468c734d1402d3dc07ea4b39c7dd7d