diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2023-07-25 09:32:34 +0200 |
---|---|---|
committer | Chun-Kuang Hu <[email protected]> | 2023-08-09 23:28:04 +0000 |
commit | 828c91231fbe6caf0bdb09a473cfeb6e845a58b8 (patch) | |
tree | c82e47894e2e5edaf4ceda5367b17060a04b47ae /lib/test_fortify/write_overflow-memcpy.c | |
parent | 7eacba9a083be65c0f251c19380ec01147c01ebc (diff) |
drm/mediatek: dp: Don't register HPD interrupt handler for eDP case
The interrupt handler for HPD is useful only if a display is actually
supposed to be hotpluggable, as that manages the machinery to perform
cable (un)plug detection, debouncing and setup for re-training.
Since eDP panels are not supposed to be hotpluggable we can avoid
using the HPD interrupts altogether and rely on HPD polling only
for the suspend/resume case, saving us some spinlocking action and
the overhead of interrupts firing at every suspend/resume cycle,
achieving a faster (even if just slightly) display resume.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Tested-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Alexandre Mergnat <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions