]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Minor refactor of DP PHY test automation
authorGeorge Shen <george.shen@amd.com>
Tue, 4 May 2021 19:31:37 +0000 (15:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:38:59 +0000 (22:38 -0400)
commit5e9ff15976c203fc7940cb47ace63c9391100bd6
tree0aebc9a8885cbaedbbf4cbad5c527972c9e52e07
parent194038fd736f8907b5be786092696e5631d5bdf0
drm/amd/display: Minor refactor of DP PHY test automation

[Why]
Improve readability and maintainability of code.

[How]
Refactor test pattern size calculation out of function
call parameter and store value in variable.

Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Stylon Wang <stylon.wang@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/core/dc_link_dp.c