Commit 61d861c
drm/amd/display: Move AllowDRAMSelfRefreshOrDRAMClockChangeInVblank to bounding box
[Why]
This is a global parameter, not a per pipe parameter and it's useful
for experimenting with the prefetch schedule to be adjustable from
the SOC bb.
[How]
Add a parameter to the SOC bb, default is the existing policy for
all DCN. Fill it in when filling SOC bb parameters.
Revert the policy to use MinDCFClk at the same time since that's not
going to give us P-State in most cases on the spreadsheet.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1403
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent b6d5850 commit 61d861c
3 files changed
Lines changed: 8 additions & 5 deletions
File tree
- drivers/gpu/drm/amd/display/dc
- dcn30
- dml
- dcn30
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3644 | 3644 | | |
3645 | 3645 | | |
3646 | 3646 | | |
3647 | | - | |
3648 | | - | |
| 3647 | + | |
3649 | 3648 | | |
3650 | 3649 | | |
3651 | 3650 | | |
| |||
3657 | 3656 | | |
3658 | 3657 | | |
3659 | 3658 | | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
3660 | 3663 | | |
3661 | 3664 | | |
3662 | 3665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
| |||
733 | 735 | | |
734 | 736 | | |
735 | 737 | | |
736 | | - | |
737 | | - | |
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| |||
0 commit comments