Re: [PATCH v3 drm-dp 8/8] drm/hisilicon/hibmc: Add MSI irq getting and requesting for HPD

From: Dmitry Baryshkov
Date: Sat Feb 22 2025 - 00:57:56 EST


On Sat, Feb 22, 2025 at 10:51:01AM +0800, Yongbang Shi wrote:
> From: Baihan Li <libaihan@xxxxxxxxxx>
>
> To realize HPD feature, request irq for HPD , add its handler function.
> We use pci_alloc_irq_vectors() to get our msi irq, because we have two
> interrupts now.
>
> Signed-off-by: Baihan Li <libaihan@xxxxxxxxxx>
> Signed-off-by: Yongbang Shi <shiyongbang@xxxxxxxxxx>
> ---
> drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h | 3 +
> .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 77 +++++++++++++++----
> .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 3 +
> 3 files changed, 69 insertions(+), 14 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
>

--
With best wishes
Dmitry