Commit bd29cdb
committed
drm: apple: dptx: Issue HPD event early on gpio/type-c disconnect
Atomic modesets during a display disconnect may result in unrecoverable
state if the set_digital_out_mode() DCP firmware call fails. Mark the
connector as early as possible as disconnected to make this more
unlikely.
TODO: investigate set_digital_out_mode() failure handling
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 1ab2755 commit bd29cdb
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
427 | 435 | | |
428 | 436 | | |
429 | 437 | | |
| |||
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
451 | 462 | | |
452 | 463 | | |
453 | 464 | | |
| |||
671 | 682 | | |
672 | 683 | | |
673 | 684 | | |
674 | | - | |
| 685 | + | |
| 686 | + | |
675 | 687 | | |
| 688 | + | |
676 | 689 | | |
677 | 690 | | |
678 | 691 | | |
| |||
1257 | 1270 | | |
1258 | 1271 | | |
1259 | 1272 | | |
| 1273 | + | |
1260 | 1274 | | |
1261 | 1275 | | |
1262 | 1276 | | |
| |||
0 commit comments