mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
fix(graphics): the Mali bridge switch works on GPUs without a Mali kernel node (#3164)
This commit is contained in:
1 parent
67b82ad9b4
commit
4405e2a389
2 files changed
+9
-1
No files matched your search
@@ -11,4 +11,10 @@ class DeviceSupportTest {
|
||||
// A PowerVR HAL without usable DRM access also reaches this unavailable case.
|
||||
assertFalse(DeviceSupport.graphicsAvailable(adreno = false, powerVrReady = false))
|
||||
}
|
||||
|
||||
@Test fun bridgeServesEveryNonAdrenoWithoutASystemDriverRoute() {
|
||||
assertTrue(DeviceSupport.bridgeUsable(adreno = false, systemDriverReady = false))
|
||||
assertFalse(DeviceSupport.bridgeUsable(adreno = true, systemDriverReady = false))
|
||||
assertFalse(DeviceSupport.bridgeUsable(adreno = false, systemDriverReady = true))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user