Commit 0d99d0f
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 07b105c commit 0d99d0f
1 file changed
Lines changed: 14 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 | | |
| |||
449 | 457 | | |
450 | 458 | | |
451 | 459 | | |
| 460 | + | |
| 461 | + | |
452 | 462 | | |
453 | 463 | | |
454 | 464 | | |
| |||
675 | 685 | | |
676 | 686 | | |
677 | 687 | | |
678 | | - | |
| 688 | + | |
| 689 | + | |
679 | 690 | | |
| 691 | + | |
680 | 692 | | |
681 | 693 | | |
682 | 694 | | |
| |||
1261 | 1273 | | |
1262 | 1274 | | |
1263 | 1275 | | |
| 1276 | + | |
1264 | 1277 | | |
1265 | 1278 | | |
1266 | 1279 | | |
| |||
0 commit comments