diff options
| author | David Zhang <[email protected]> | 2022-04-25 18:08:13 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-06 14:42:33 -0400 |
| commit | 65e7a17499e15771339d85eaa1ba686ad2fe342c (patch) | |
| tree | 355d7c34ffe96a2145cbc063f4b0c0dff5ff75ed /scripts/const_structs.checkpatch | |
| parent | e61a048eabf9d1245f86e67ec4787d2f10e5a1e0 (diff) | |
drm/amd/display: add shared helpers to update psr config fields to power module
[why]
Currently the amdgpu DM psr configuration parameters are hardcoded
before feeding into the DC helper to setup PSR. We would define a
helper which is to calculate parts of the psr config fields to
avoid hard-coding.
[how]
To make helper shareable, declare and define the helper in the
module_helper, to set/update below fields:
- psr remote buffer setup time
- sdp tx line number deadline
- line time in us
- su_y_granularity
- su_granularity_required
- psr_frame_capture_indication_req
- psr_exit_link_training_required
add another helper to check given the stream context, if there is
only one stream and the output is eDP panel connected.
changes in v2:
------------------
- add detailed comment for how psr setup time is calculated as per
eDP 1.5 spec
Cc: Chandan Vurdigerenataraj <[email protected]>
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