diff options
author | Sui Jingfeng <[email protected]> | 2024-03-17 00:05:36 +0800 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2024-03-18 16:14:49 +0100 |
commit | ba2d3e6709681b6c16ba8d65a23d72c706d82b5c (patch) | |
tree | 84f59b4ac08b42c74c1f3c6b78d8fea471b6b6ee /tools/perf/scripts/python/intel-pt-events.py | |
parent | ee7860cd8b5763017f8dc785c2851fecb7a0c565 (diff) |
drm/bridge: ite66121: Register HPD interrupt handler only when 'client->irq > 0'
If a specific design doesn't wire IT66121's interrupt signal output pin up
to the display controller side, then we should not register the interrupt
handler. Such a decision is valid usage, as we can fall back to polling
mode. So, don't make the assumption that a specific board always supports
HPD. Carry out a sanity check on 'client->irq' before using it, fall back
to polling mode if client->irq < 0 is true. Such a design increases the
overall flexibility.
Signed-off-by: Sui Jingfeng <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions