diff options
author | Sebastian Aguilera Novoa <saguileran@ime.usp.br> | 2025-05-03 00:59:46 -0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-13 09:37:09 -0400 |
commit | 7e340d3ceacf75e3e088fcc3dd4f8729d6c079c3 (patch) | |
tree | c2ceda6d133f8b4ba41499765d58b5c024e6356e /scripts/generate_rust_analyzer.py | |
parent | d8d47f739752227957d8efc0cb894761bfe1d879 (diff) |
drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ
The major of dcn and dce irqs share a copy-pasted collection
of copy-pasted function, which is: hpd_ack.
This patch removes the multiple copy-pasted by moving them to
the irq_service.c and make the irq_service's
calls the functions implemented by the irq_service.c
instead.
The hpd_ack function is replaced by hpd0_ack and hpd1_ack, the
required constants are also added.
The changes were not tested on actual hardware. I am only able
to verify that the changes keep the code compileable and do my
best to look repeatedly if I am not actually changing any code.
Signed-off-by: Sebastian Aguilera Novoa <saguileran@ime.usp.br>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions