drm/amd/display: Fix DPSTREAM CLK on and off sequence
authorDmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Wed, 17 Jan 2024 21:46:02 +0000 (16:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jan 2024 22:29:16 +0000 (17:29 -0500)
commit31c2bf25eaf51c2d45f092284a28e97f43b54c15
treee971f331cb13e458b91542cb87981a5a997afb07
parentb5abd7f983e14054593dc91d6df2aa5f8cc67652
drm/amd/display: Fix DPSTREAM CLK on and off sequence

[Why]
Secondary DP2 display fails to light up in some instances

[How]
Clock needs to be on when DPSTREAMCLK*_EN =1. This change
moves dtbclk_p enable/disable point to make sure this is
the case

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Daniel Miess <daniel.miess@amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c