diff options
| author | Sung Joon Kim <sungjoon.kim@amd.com> | 2024-07-02 20:30:36 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-24 00:07:11 +0300 |
| commit | 5d2c102deff63ff8980dfa848ee41858d255c291 (patch) | |
| tree | 42fc47879bc8b2692c6e3d20a6f60e0736ff3c46 /scripts | |
| parent | 906fd46a65383cd639e5eec72a047efc33045d86 (diff) | |
| download | linux-5d2c102deff63ff8980dfa848ee41858d255c291.tar.xz | |
drm/amd/display: Do 1-to-1 mapping between OPP and DSC in DML2
[why]
To determine which block instance to power-gate,
we look at the available pipe resource for both plane
and stream. On MPO, DSC3 was falsely powered on even
though only 1 stream path was enabled because
the resource mapping was not done correctly.
[how]
Acquire the correct DSC instance to power on / off based
on the instance of OPP which determines the backend
pipe index.
Reviewed-by: Swapnil Patel <swapnil.patel@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
