]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Parse RECEIVE_PORT0_CAP capabilities from DPCD
authorGeorge Shen <george.shen@amd.com>
Wed, 4 Dec 2024 23:10:18 +0000 (18:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 19:44:26 +0000 (14:44 -0500)
commite79cba63de318faa80804701563e58d880c2c492
treee00744f02bdb8edf80db5165769c166fe5d695e6
parentf0aece43ee75b48cc6846a66973565ddcce59c91
drm/amd/display: Parse RECEIVE_PORT0_CAP capabilities from DPCD

[Why]
DPCD register RECEIVE_PORT0_CAP contains HBlank expansion/reduction
capabilities of a DP device. These capabilities are required to enable
HBlank expansion/reduction logic.

[How]
Read raw RECEIVE_PORT0_CAP register values and store parsed fields.

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.h
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c