aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
diff options
context:
space:
mode:
authorRelja Vojvodic <relja.vojvodic@amd.com>2024-06-10 14:37:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-27 17:10:35 -0400
commit8aa5aff2bf2d5cf793946f1415dfbeea9f936ad5 (patch)
tree301e624d6056cb340a32e8741fdfb58f68a4d665 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
parent6e3eb2766731c6bd2bfae5a0fbb538ec85e7e822 (diff)
drm/amd/display: Refactor dccg401_get_other_enable_symclk_fe
[WHY] Function was used to check the number of FEs connected to the current BE. This was then used to determine if the symclk could be disabled, if all FEs were disconnected. However, the function would skip over the primary FE and return 0 when the primary FE was still connected. This caused black screens on driver disable with an MST daisy chain hooked up. [HOW] Refactored the function to correctly return the number of FEs connected to the input BE. Also renamed it for clarity. Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Relja Vojvodic <relja.vojvodic@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/gfxhub_v1_2.c')
0 files changed, 0 insertions, 0 deletions