mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Add a late HPD dock mode
This commit is contained in:
1 parent
afc3dfe28a
commit
6e72741878
3 files changed
+11
-3
No files matched your search
+4
-2
@@ -455,8 +455,10 @@ void command(uint16_t cmd) {
|
||||
chip.dp_pin = (pin & 0x08) ? 0x08 : 0x04;
|
||||
DLOG("DisplayPort configured, pin %c\n", chip.dp_pin == 0x08 ? 'D' : 'C');
|
||||
done(LASTCMD_COMPLETE);
|
||||
if (tv_present())
|
||||
after_us(150000, [] { if (chip.dp_configured) hpd_update(true); });
|
||||
if (tv_present()) {
|
||||
bool late = g_state && g_state->dock_late_hpd.load();
|
||||
after_us(late ? 25000000 : 150000, [] { if (chip.dp_configured) hpd_update(true); });
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user