]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Query DMCUB for dp alt status
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Sun, 28 Nov 2021 17:10:14 +0000 (12:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Dec 2021 18:11:48 +0000 (13:11 -0500)
commit599fc13e35ee7351a6f435d9fc6d6c478429d939
treec3e9d2381a474f3f0628d8bee357637dacb4e99a
parentcbef4e8c3b400355129b128a710a6c173f54dd81
drm/amd/display: Query DMCUB for dp alt status

[Why]
To avoid hanging RDPCSPIPE when INTERCEPTB isn't set.

DMCUB owns control of that bit so DMCUB should manage returning the
information driver needs for link encoder control.

[How]
Add a new DMCUB command to return dp alt disable and dp4 information.

Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h