]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Read LTTPR ALPM caps during link cap retrieval
authorGeorge Shen <george.shen@amd.com>
Tue, 4 Feb 2025 19:34:02 +0000 (14:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:13:45 +0000 (15:13 -0500)
commitde84d580126eb2214937df755cfec5ef0901479e
tree76a503c72bd34374ce6ea087213f81a6d7771e04
parent5f7e384ab56e1edd6aabe860ebcb2b88ec468cb6
drm/amd/display: Read LTTPR ALPM caps during link cap retrieval

[Why]
The latest DP spec requires the DP TX to read DPCD F0000h through F0009h
when detecting LTTPR capabilities for the first time.

[How]
Update LTTPR cap retrieval to read up to F0009h (two more bytes than the
previous F0007h), and store the LTTPR ALPM capabilities.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Roman Li <roman.li@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/dc_dp_types.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c