]> 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)
commiteff0a2232bd623e753cb4a2e462e67d95e7a4903
treec87007410dd999f1dbcf8a3ed8f3a5abc0f6c638
parent68ebcf5fa794f43b924989d03c86db781a3a108d
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