]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: do not wait for mpc idle if tg is disabled
authorJosip Pavic <Josip.Pavic@amd.com>
Thu, 24 Mar 2022 16:08:43 +0000 (12:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Apr 2022 17:50:57 +0000 (13:50 -0400)
commitdf99860aca0137d27c36607b54ec6af4b4f4b36b
tree6682ddac771142004990f24f3c13ea64a91df279
parent510648c99b2724a9725677a1cf34c904e780e943
drm/amd/display: do not wait for mpc idle if tg is disabled

[Why]
When booting, the driver waits for the MPC idle bit to be set as part of
pipe initialization. However, on some systems this occurs before OTG is
enabled, and since the MPC idle bit won't be set until the vupdate
signal occurs (which requires OTG to be enabled), this never happens and
the wait times out. This can add hundreds of milliseconds to the boot
time.

[How]
Do not wait for mpc idle if tg is disabled

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c