drm/amd/display: Fix pipe check condition for manual trigger
authorAlvin Lee <alvin.lee2@amd.com>
Wed, 7 Jun 2023 20:30:28 +0000 (16:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jun 2023 19:41:04 +0000 (15:41 -0400)
commitc8f293541810e2542c5cbf082b7f7c2c2eaa47a8
tree6fe4b91c3ceb257848930e550e211771fca9a81b
parent4a87495a82add04d57bef1d58dd0b55f10684ee0
drm/amd/display: Fix pipe check condition for manual trigger

Condition for programming manually trigger used the wrong pipe (always
used top pipe instead of the one we are iterating through).

Fixes: 0baae6246307 ("drm/amd/display: Refactor fast update to use new HWSS build sequence")
Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c