]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ed1e957b68a53134c1c3a64820e2085f4a06ac1
treec87007410dd999f1dbcf8a3ed8f3a5abc0f6c638
parentdbcc8c91aca7c0b4e453b2db9e8921a1273847ee
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