mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 10:52:26 +07:00
6456314ff1
The vop irq is shared between vop and iommu and irq probing in the
iommu driver moved to the probe function recently. This can in some
cases lead to a stall if the irq is triggered while the vop driver
still has it disabled, but the vop irq handler gets called.
But there is no real need to disable the irq, as the vop can simply
also track its enabled state and ignore irqs in that case.
For this we can simply check the power-domain state of the vop,
similar to how the iommu driver does it.
So remove the enable/disable handling and add appropriate condition
to the irq handler.
changes in v2:
- move to just check the power-domain state
- add clock handling
changes in v3:
- clarify comment to speak of runtime-pm not power-domain
changes in v4:
- address Marc's comments (clk-enable WARN_ON and style improvement)
Fixes:
|
||
---|---|---|
.. | ||
analogix_dp-rockchip.c | ||
cdn-dp-core.c | ||
cdn-dp-core.h | ||
cdn-dp-reg.c | ||
cdn-dp-reg.h | ||
dw_hdmi-rockchip.c | ||
dw-mipi-dsi.c | ||
inno_hdmi.c | ||
inno_hdmi.h | ||
Kconfig | ||
Makefile | ||
rockchip_drm_drv.c | ||
rockchip_drm_drv.h | ||
rockchip_drm_fb.c | ||
rockchip_drm_fb.h | ||
rockchip_drm_fbdev.c | ||
rockchip_drm_fbdev.h | ||
rockchip_drm_gem.c | ||
rockchip_drm_gem.h | ||
rockchip_drm_psr.c | ||
rockchip_drm_psr.h | ||
rockchip_drm_vop.c | ||
rockchip_drm_vop.h | ||
rockchip_lvds.c | ||
rockchip_lvds.h | ||
rockchip_vop_reg.c | ||
rockchip_vop_reg.h |