fix(graphics): the Mali bridge switch works on GPUs without a Mali kernel node (#3164)

This commit is contained in:
The412Banner authored and GitHub committed 2026-11-24 17:30:32 -05:00
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))
}
}