Commit 53f3288
drm/amd/display: implement pipe type definition and adding accessors
[why]
There is a lack of encapsulation of pipe connection representation in pipe context.
This has caused many challenging bugs and coding errors with repeated
logic to identify the same pipe type.
[how]
Formally define pipe types and provide getters to identify a pipe type and
find a pipe based on specific requirements. Update existing logic in non dcn
specific files and dcn32 and future versions to use the new accessors.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 133fe0d commit 53f3288
19 files changed
Lines changed: 375 additions & 185 deletions
File tree
- drivers/gpu/drm/amd/display/dc
- core
- dce100
- dce110
- dce112
- dcn10
- dcn201
- dcn20
- dcn32
- dml
- calcs
- dcn20
- dcn32
- inc
- link
- accessories
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
590 | 589 | | |
591 | 590 | | |
592 | 591 | | |
593 | 592 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
599 | 596 | | |
600 | | - | |
| 597 | + | |
601 | 598 | | |
602 | 599 | | |
603 | 600 | | |
| |||
1064 | 1061 | | |
1065 | 1062 | | |
1066 | 1063 | | |
1067 | | - | |
| 1064 | + | |
1068 | 1065 | | |
1069 | 1066 | | |
1070 | 1067 | | |
| |||
3164 | 3161 | | |
3165 | 3162 | | |
3166 | 3163 | | |
3167 | | - | |
| 3164 | + | |
3168 | 3165 | | |
3169 | 3166 | | |
3170 | 3167 | | |
| |||
3446 | 3443 | | |
3447 | 3444 | | |
3448 | 3445 | | |
3449 | | - | |
3450 | | - | |
3451 | | - | |
3452 | | - | |
3453 | | - | |
3454 | | - | |
3455 | | - | |
3456 | | - | |
3457 | | - | |
3458 | | - | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
3459 | 3449 | | |
3460 | 3450 | | |
3461 | 3451 | | |
| |||
3560 | 3550 | | |
3561 | 3551 | | |
3562 | 3552 | | |
3563 | | - | |
3564 | | - | |
3565 | | - | |
3566 | | - | |
3567 | | - | |
3568 | | - | |
3569 | | - | |
3570 | | - | |
3571 | | - | |
3572 | | - | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
3573 | 3556 | | |
3574 | 3557 | | |
3575 | 3558 | | |
| |||
0 commit comments