]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add outbox notification support for HPD redetect
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 15 May 2024 18:53:56 +0000 (14:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:20:20 +0000 (15:20 -0400)
commit0db66572747a789922e8137904e8b4c39d9b94f6
tree3bfc862f56adac4ef3cce1da8d9df605f0cb1538
parentb95fa494d6b74c30eeb4a50481aa1041c631754e
drm/amd/display: Add outbox notification support for HPD redetect

[Why]
HPD sense changes can occur during low power states and need to be
notified from firmware to driver. Upon notification the hotplug
redetection routines should execute.

[How]
Add Support in DMUB srv and DMUB srv stat for receiving these
notifications. DM can hook them up and process the HPD redetection
once received.

Reviewed-by: Duncan Ma <duncan.ma@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c