diff options
author | Wenjing Liu | 2023-08-15 10:47:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-09-19 12:28:07 +0200 |
commit | 2d7a6fcb1f232c91fe405161d2ba5731ccb97a34 (patch) | |
tree | 9061cda6376168e717d282789180d6bd6599b82f /init | |
parent | c29bfda64b44bc20b99a2d86fc7db9c1e4cb8931 (diff) |
drm/amd/display: always switch off ODM before committing more streams
commit 49a30c3d1a2258fc93cfe6eea8e4951dabadc824 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions