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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
d189835fff
commit
4ce6ecd499
@ -1581,7 +1581,7 @@ static irqreturn_t zynqmp_dp_irq_handler(int irq, void *data)
|
||||
zynqmp_dp_write(dp, ZYNQMP_DP_INT_STATUS, status);
|
||||
|
||||
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)
|
||||
schedule_delayed_work(&dp->hpd_work, 0);
|
||||
|
@ -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
|
||||
*
|
||||
* This function handles the vblank interrupt, and sends an event to
|
||||
* 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);
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ struct zynqmp_dpsub_drm {
|
||||
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);
|
||||
void zynqmp_dpsub_drm_cleanup(struct zynqmp_dpsub *dpsub);
|
||||
|
Loading…
x
Reference in New Issue
Block a user