summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2022-10-27 15:34:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-11-09 17:41:41 -0500
commit98f9229ff60e39d3d7babd42a13358bb5a392e4b (patch)
tree652238ee75514f7c2a93f427f8b10463aeff3ae6 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parent2f8f9118129dd4603cb425404f1df1f5013b6019 (diff)
downloadlinux-98f9229ff60e39d3d7babd42a13358bb5a392e4b.tar.gz
linux-98f9229ff60e39d3d7babd42a13358bb5a392e4b.tar.bz2
linux-98f9229ff60e39d3d7babd42a13358bb5a392e4b.zip
drm/amd/display: Fix reg timeout in enc314_enable_fifo
[Why] The link enablement sequence can end up resetting the encoder while the PHY symclk isn't yet on. This means that waiting for symclk on will timeout, along with the reset bit never asserting high. This causes unnecessary delay when enabling the link and produces a warning affecting multiple IGT tests. [How] Don't wait for the symclk to be on here because firmware already does. Don't wait for reset if we know the symclk isn't on. Split the reset into a helper function that checks the bit and decides whether or not a delay is sufficient. Reviewed-by: Roman Li <Roman.Li@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions