diff options
author | Wenjing Liu <[email protected]> | 2024-03-22 15:29:56 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-04-09 22:15:10 -0400 |
commit | 339126b5294468409bfb4cd49ec4745d1b7bf3bf (patch) | |
tree | 5db046d64e4771344a20c9aa2543be6ae2fb7799 /scripts/gdb/linux/utils.py | |
parent | 4a5b171299e59d51322f4c6bd376c5acbeca0a4a (diff) |
drm/amd/display: fix an incorrect ODM policy assigned for subvp
[why]
When Subvp pipe's index is smaller than main pipe's index, the main
pipe's ODM policy is not yet assigned. If we assign subvp pipe's ODM
policy based on main pipe, we will assign uninitialized ODM policy.
[how]
Instead of copying main pipe's policy we copy the main pipe ODM policy
logic. So it doesn't matter whether if main pipe's ODM policy is set,
phantom pipe will always have the same policy because it running the
same calcualtion to derive ODM policy.
Cc: [email protected]
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions