Skip to content
/ linux Public

Commit 7a7e7bc

Browse files
Alex HungSasha Levin
authored andcommitted
drm/amd/display: Remove conditional for shaper 3DLUT power-on
[ Upstream commit 1b38a87 ] [Why] Shaper programming has high chance to fail on first time after power-on or reboot. This can be verified by running IGT's kms_colorop. [How] Always power on the shaper and 3DLUT before programming by removing the debug flag of low power mode. Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 581ed1a commit 7a7e7bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/display/dc/mpc/dcn32/dcn32_mpc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,7 @@ bool mpc32_program_shaper(
724724
return false;
725725
}
726726

727-
if (mpc->ctx->dc->debug.enable_mem_low_power.bits.mpc)
728-
mpc32_power_on_shaper_3dlut(mpc, mpcc_id, true);
727+
mpc32_power_on_shaper_3dlut(mpc, mpcc_id, true);
729728

730729
current_mode = mpc32_get_shaper_current(mpc, mpcc_id);
731730

0 commit comments

Comments
 (0)