mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/amd/display: Do not set optimized_require to false after plane disable
[ Upstream commit df36f6cf23 ]
[WHY]
The optimized_require flag is needed to set watermarks and clocks lower
in certain conditions. This flag is set to true and then set to false
while programming front end in dcn20.
[HOW]
Do not set the flag to false while disabling plane.
Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5dc310d85a
commit
9430a14fe9
@@ -493,7 +493,6 @@ static void dcn20_plane_atomic_disable(struct dc *dc, struct pipe_ctx *pipe_ctx)
|
|||||||
dpp->funcs->dpp_dppclk_control(dpp, false, false);
|
dpp->funcs->dpp_dppclk_control(dpp, false, false);
|
||||||
|
|
||||||
hubp->power_gated = true;
|
hubp->power_gated = true;
|
||||||
dc->optimized_required = false; /* We're powering off, no need to optimize */
|
|
||||||
|
|
||||||
dc->hwss.plane_atomic_power_down(dc,
|
dc->hwss.plane_atomic_power_down(dc,
|
||||||
pipe_ctx->plane_res.dpp,
|
pipe_ctx->plane_res.dpp,
|
||||||
|
|||||||
Reference in New Issue
Block a user