drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQThe major of dcn and dce irqs share a copy-pasted collectionof copy-pasted function, which is: hpd_ack.This patch removes
drm/amd/display/dc/irq: Remove duplications of hpd_ack function from IRQThe major of dcn and dce irqs share a copy-pasted collectionof copy-pasted function, which is: hpd_ack.This patch removes the multiple copy-pasted by moving them tothe irq_service.c and make the irq_service'scalls the functions implemented by the irq_service.cinstead.The hpd_ack function is replaced by hpd0_ack and hpd1_ack, therequired constants are also added.The changes were not tested on actual hardware. I am only ableto verify that the changes keep the code compileable and do mybest 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>
show more ...
drm/amd/display: Add DCN35 IRQ[Why & How]- Add IRQ handling for DCN35- Update IRQ files for other DCNs in accordance to change in irq_service.hSigned-off-by: Qingqing Zhuo <Qingqing.Zhuo@amd.
drm/amd/display: Add DCN35 IRQ[Why & How]- Add IRQ handling for DCN35- Update IRQ files for other DCNs in accordance to change in irq_service.hSigned-off-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com>Acked-by: Harry Wentland <Harry.Wentland@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Turn functions into staticSilence [-Wmissing-prototypes] sparse warnings from the display foldersuch as:../drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn315/dcn315_smu.c:1
drm/amd/display: Turn functions into staticSilence [-Wmissing-prototypes] sparse warnings from the display foldersuch as:../drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn315/dcn315_smu.c:126:5: warning: no previous prototype for ‘dcn315_smu_send_msg_with_param’ [-Wmissing-prototypes] 126 | int dcn315_smu_send_msg_with_param( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~v2: drop unused function dcn315_smu_set_voltage_via_phyclk() to avoid adding a warning (Alex)Cc: Qingqing Zhuo (Lillian) <qingqing.zhuo@amd.com>Reviewed-by: Harry Wentland <harry.wentland@amd.com>Reported-by: kernel test robot <lkp@intel.com>Signed-off-by: Magali Lemes <magalilemes00@gmail.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Add DCN315 IRQAdd irq interfaces for DCN 3.1.5.Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>Acked-by: Harry Wentland <Harry.Wentland@amd.com>Signed-off-by: Alex Deucher
drm/amd/display: Add DCN315 IRQAdd irq interfaces for DCN 3.1.5.Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>Acked-by: Harry Wentland <Harry.Wentland@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>