diff options
author | 2022-08-03 15:15:17 +0800 | |
---|---|---|
committer | 2022-08-16 18:08:36 -0400 | |
commit | e98459c06e3d45c2229b097f7b8cdd412357fa2f (patch) | |
tree | 2c05cdf37d9793b2092319e8a6717bc5108e58a7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | drm/amd/display: Add debug parameter to retain default clock table (diff) | |
download | wireguard-linux-e98459c06e3d45c2229b097f7b8cdd412357fa2f.tar.xz wireguard-linux-e98459c06e3d45c2229b097f7b8cdd412357fa2f.zip |
drm/amd/display: Fix plug/unplug external monitor will hang while playback MPO video
[Why]
Pipes for MPO primary and overlay will be power down and power up during
plug/unplug external monitor while MPO video playback.
But the pipes were the same after plug/unplug and should not need to be
power down and power up or it will make page flip interrupt disabled and
cause hang issue.
[How]
Add pipe split change condition that not only check the top pipe pointer
but also check the index of top pipe if both top pipes are available.
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions