]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Refactor and fix link_dpms info
authorDominik Kaszewski <dominik.kaszewski@amd.com>
Thu, 29 Jan 2026 10:53:29 +0000 (11:53 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:29 +0000 (14:16 -0500)
commit40989bf0e7d13d2f290f081ae8f683c080efe877
tree83caf85aacee8bd738edbfe0b49a624046fd20cf
parenta4f01bf729b2e0042bc725bb6254a8abea17f1a7
drm/amd/display: Refactor and fix link_dpms info

[Why]
get_ext_hdmi_settings contained a copy-paste error, assigning
both reg_num_6g and reg_num from dp0_ext_hdmi_6g_reg_num.

[How]
* Correctly assign reg_num from dp0_ext_hdmi_reg_num.
* Refactor and clean the function.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Dominik Kaszewski <dominik.kaszewski@amd.com>
Signed-off-by: Ray Wu <ray.wu@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/link/link_dpms.c