drm/amd/display: disable HPD SW timer for passive dongle type 1 only
authorSung Joon Kim <sungjoon.kim@amd.com>
Thu, 24 Feb 2022 19:58:52 +0000 (14:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:25:15 +0000 (14:25 -0400)
commit4a897de1d607c15ebb9aa11a424ec3f3243304a3
treeb2c308cca7d10c5b4fefd945c3bb8940ccaa9291
parent76a52f36b636cdff6b5b18f13daf05005e4b0b57
drm/amd/display: disable HPD SW timer for passive dongle type 1 only

[why]
Need to provide this workaround
only for type 1 passive dongle

[how]
Detect if dongle is type 1 or 2.
And use it to determine if w/a is needed.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@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/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/include/ddc_service_types.h