Skip to content
Commit 2d7a6fcb authored by Wenjing Liu's avatar Wenjing Liu Committed by Greg Kroah-Hartman
Browse files

drm/amd/display: always switch off ODM before committing more streams



commit 49a30c3d 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: 59de751e ("drm/amd/display: add ODM case when looking for first split pipe")
Reviewed-by: default avatarDillon Varone <dillon.varone@amd.com>
Acked-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: default avatarWenjing Liu <wenjing.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c29bfda6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment