fix: keep the TP UBWC hint on for Samsung One UI 8 Gen 2 (#1128)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-19 09:58:24 -04:00
1 parent 55bf51cf37
commit ab6d100cea
3 files changed
+14 -4

No files matched your search

@@ -13,9 +13,15 @@ class TpUbwcHintTest {
assertEquals("enable_tp_ubwc_flag_hint=1", TpUbwcHint.features(740, "512.762.10"))
}
@Test fun a740OnOneUiTurnsTheHintOnWhateverTheBlobVersion() {
assertEquals("enable_tp_ubwc_flag_hint=1", TpUbwcHint.features(740, "512.676.53", samsung = true))
assertEquals("enable_tp_ubwc_flag_hint=1", TpUbwcHint.features(740, null, samsung = true))
}
@Test fun otherGpusKeepTheirDriverDefault() {
assertNull(TpUbwcHint.features(750, "512.762.10"))
assertNull(TpUbwcHint.features(830, "512.676.53"))
assertNull(TpUbwcHint.features(750, "512.676.53", samsung = true))
}
@Test fun anUnreadableSystemDriverKeepsTheDriverDefault() {