diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2024-03-22 15:29:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-09 22:15:10 -0400 |
commit | 339126b5294468409bfb4cd49ec4745d1b7bf3bf (patch) | |
tree | 5db046d64e4771344a20c9aa2543be6ae2fb7799 /drivers/gpu/drm/amd/pm | |
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: stable@vger.kernel.org
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm')
0 files changed, 0 insertions, 0 deletions