diff options
| author | David Zhang <[email protected]> | 2022-04-26 11:44:02 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-06 14:42:40 -0400 |
| commit | 381b590c307f29d0990c4b99ae3a2e02aff2a5b9 (patch) | |
| tree | c4c98b9718d26fcc767aa3eb8c716e1385015a41 /scripts/const_structs.checkpatch | |
| parent | 65e7a17499e15771339d85eaa1ba686ad2fe342c (diff) | |
drm/amd/display: calculate psr config settings in runtime in DM
[why]
Currently the psr configuration parameters are hardcoded before
feeding into the DC helper before passing to DMUB FW. We'd rework
to call a shared helper to calculate/update generic psr config
fields which are relying on the stream timing and eDP sink PSR
caps to avoid hard-coding.
[how]
- drop part of hard-coded psr config fields by replacing w/ the
call of helper from DM before feeding into DC link setup psr
helper
- For those DM specific psr config fields, e.g. allow smu opt, is
not to be set/updated from the shared helper but to rely on the
DC feature mask
- for the psr version field in psr_config structure, since only
the field psr_version of DC link psr_settings matters for that
fed to DMUB FW, thus no need to set/update the psr_version field
of psr_config structure.
Signed-off-by: David Zhang <[email protected]>
Acked-by: Leo Li <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions