Commit 4ce6ecd4 authored by Laurent Pinchart's avatar Laurent Pinchart

drm: xlnx: zynqmp_dpsub: Rename zynqmp_dpsub_handle_vblank with DRM prefix

The better convey its purpose, rename the zynqmp_dpsub_handle_vblank()
function that belongs to the DRM layer to
zynqmp_dpsub_drm_handle_vblank().
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent d189835f
...@@ -1581,7 +1581,7 @@ static irqreturn_t zynqmp_dp_irq_handler(int irq, void *data) ...@@ -1581,7 +1581,7 @@ static irqreturn_t zynqmp_dp_irq_handler(int irq, void *data)
zynqmp_dp_write(dp, ZYNQMP_DP_INT_STATUS, status); zynqmp_dp_write(dp, ZYNQMP_DP_INT_STATUS, status);
if (status & ZYNQMP_DP_INT_VBLANK_START) if (status & ZYNQMP_DP_INT_VBLANK_START)
zynqmp_dpsub_handle_vblank(dp->dpsub); zynqmp_dpsub_drm_handle_vblank(dp->dpsub);
if (status & ZYNQMP_DP_INT_HPD_EVENT) if (status & ZYNQMP_DP_INT_HPD_EVENT)
schedule_delayed_work(&dp->hpd_work, 0); schedule_delayed_work(&dp->hpd_work, 0);
......
...@@ -339,13 +339,13 @@ static void zynqmp_dpsub_map_crtc_to_plane(struct zynqmp_dpsub *dpsub) ...@@ -339,13 +339,13 @@ static void zynqmp_dpsub_map_crtc_to_plane(struct zynqmp_dpsub *dpsub)
} }
/** /**
* zynqmp_dpsub_handle_vblank - Handle the vblank event * zynqmp_dpsub_drm_handle_vblank - Handle the vblank event
* @dpsub: DisplayPort subsystem * @dpsub: DisplayPort subsystem
* *
* This function handles the vblank interrupt, and sends an event to * This function handles the vblank interrupt, and sends an event to
* CRTC object. This will be called by the DP vblank interrupt handler. * CRTC object. This will be called by the DP vblank interrupt handler.
*/ */
void zynqmp_dpsub_handle_vblank(struct zynqmp_dpsub *dpsub) void zynqmp_dpsub_drm_handle_vblank(struct zynqmp_dpsub *dpsub)
{ {
drm_crtc_handle_vblank(&dpsub->drm->crtc); drm_crtc_handle_vblank(&dpsub->drm->crtc);
} }
......
...@@ -38,7 +38,7 @@ struct zynqmp_dpsub_drm { ...@@ -38,7 +38,7 @@ struct zynqmp_dpsub_drm {
struct drm_encoder encoder; struct drm_encoder encoder;
}; };
void zynqmp_dpsub_handle_vblank(struct zynqmp_dpsub *dpsub); void zynqmp_dpsub_drm_handle_vblank(struct zynqmp_dpsub *dpsub);
int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub); int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub);
void zynqmp_dpsub_drm_cleanup(struct zynqmp_dpsub *dpsub); void zynqmp_dpsub_drm_cleanup(struct zynqmp_dpsub *dpsub);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment