drm/amd/display: Make GPIO HPD path conditional
authorRoman Li <Roman.Li@amd.com>
Fri, 23 Jan 2026 22:00:06 +0000 (17:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:12:59 +0000 (15:12 -0500)
commit4bff89bad90cff5b8422813f659317637d0a1994
treed7833b862b21a20bf6986aee160ed3d20cfb398a
parent318917e1d8ecc89f820f4fabf79935f4fed718cd
drm/amd/display: Make GPIO HPD path conditional

[Why]
Avoid unnecessary GPIO configuration attempts on dcn that doesn't
support it.

[How]
Conditionally use GPIO HPD detection or rely on hw encoder path.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@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_factory.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.c