linux-loongson/drivers/gpu/drm/amd/display/dc/irq
Sebastian Aguilera Novoa 7e340d3cea 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>
2025-05-13 09:37:09 -04:00
..
dce60 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dce80 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dce110 drm/amd/display: Check pipe offset before setting vblank 2024-04-26 17:22:44 -04:00
dce120 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn10 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn20 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn21 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn30 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn31 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn32 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn35 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn36 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn201 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn302 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn303 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn314 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn315 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn351 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
dcn401 drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
irq_service.c drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
irq_service.h drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQ 2025-05-13 09:37:09 -04:00
Makefile drm/amd/display: Add DCN36 IRQ 2025-02-12 21:04:07 -05:00