Quoting Dmitry Baryshkov (2022-09-01 02:15:25)
> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c
> b/drivers/gpu/drm/msm/dp/dp_display.c
> index bfd0aeff3f0d..3173e6962a78 100644
> --- a/drivers/gpu/drm/msm/dp/dp_display.c
> +++ b/drivers/gpu/drm/msm/dp/dp_display.c
> @@ -1251,13 +1251,12 @@ int dp_display_request_irq(struct msm_dp *dp_display)
>
> rc = devm_request_irq(&dp->pdev->dev, dp->irq,
> dp_display_irq_handler,
> - IRQF_TRIGGER_HIGH, "dp_display_isr", dp);
> + IRQF_TRIGGER_HIGH | IRQF_NO_AUTOEN, "dp_display_isr",
> dp);
> if (rc < 0) {
> DRM_ERROR("failed to request IRQ%u: %d\n",
> dp->irq, rc);
> return rc;
> }
> - disable_irq(dp->irq);
It would be better to not disable the irq at all and mask the irq in the
hardware before requesting the irq. Can you add at least add a TODO for
that?