diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2023-08-15 17:47:52 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-01 01:09:14 +0300 |
commit | 49a30c3d1a2258fc93cfe6eea8e4951dabadc824 (patch) | |
tree | 41965bdc2c546c02433467cac96c439890783e79 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02 (diff) | |
download | linux-49a30c3d1a2258fc93cfe6eea8e4951dabadc824.tar.xz |
drm/amd/display: always switch off ODM before committing more streams
ODM power optimization is only supported with single stream. When ODM
power optimization is enabled, we might not have enough free pipes for
enabling other stream. So when we are committing more than 1 stream we
should first switch off ODM power optimization to make room for new
stream and then allocating pipe resource for the new stream.
Cc: stable@vger.kernel.org
Fixes: 59de751e3845 ("drm/amd/display: add ODM case when looking for first split pipe")
Reviewed-by: Dillon Varone <dillon.varone@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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions