drm/amd/display: Add debugfs to repress HPD and HPR_RX IRQs
authorHarry Wentland <harry.wentland@amd.com>
Fri, 2 Oct 2020 17:32:00 +0000 (13:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:31:59 +0000 (16:31 -0400)
commitb972b4f913eee029233be88e1a84a7cc36073c8b
treec87007410dd999f1dbcf8a3ed8f3a5abc0f6c638
parent83d76eeb7bf3955051824170aec44600793f63e5
drm/amd/display: Add debugfs to repress HPD and HPR_RX IRQs

[Why]
For debugging reasons it can be beneficial to disable any hotplug and DP shortpulse interrupt handling.

[How]
Expose a debugfs to set a flag to bypass HPD IRQ handling and skip IRQ handling if flag is set.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Bindu Ramamurthy <bindur12@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c