drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event
authorWayne Lin <wayne.lin@amd.com>
Tue, 5 Dec 2023 06:55:31 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 20:21:33 +0000 (15:21 -0500)
commit989824589f793120833bef13aa4e21f5a836a707
tree15d89050c2ea9a026c53664ddbbae96e4f9318b9
parent3248211dd971ed2b614307eb42cecee3e6feecff
drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event

[Why & how]
Refactor dc_is_dmub_outbox_supported() a bit and add case for dcn35 to
register dmub outbox notification irq to handle usb4 relevant hpd event.

Reviewed-by: Roman Li <roman.li@amd.com>
Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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.c