]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Modify logic for when to wait for mpcc idle
authorNoah Abradjian <noah.abradjian@amd.com>
Wed, 13 Nov 2019 21:56:06 +0000 (16:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:31:16 +0000 (16:31 -0500)
commit8b0fbb368c96df747d958bfb0842da9842e6d0a3
tree81bbd0b77f963a4709cd17629c91b7802152c0bc
parent5fd21b394cfec3611a4ddf49ec61c8920c001899
drm/amd/display: Modify logic for when to wait for mpcc idle

[Why]
I was advised that we may need to check for mpcc idle in more cases
than just when opp_changed is true. Also, mpcc_inst is equal to
pipe_idx, so remove for loop.

[How]
Remove opp_changed flag check and mpcc_inst loop.

Signed-off-by: Noah Abradjian <noah.abradjian@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c