Skip to content

Commit 4ce6ecd

Browse files
committed
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 <[email protected]>
1 parent d189835 commit 4ce6ecd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/gpu/drm/xlnx/zynqmp_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ static irqreturn_t zynqmp_dp_irq_handler(int irq, void *data)
15811581
zynqmp_dp_write(dp, ZYNQMP_DP_INT_STATUS, status);
15821582

15831583
if (status & ZYNQMP_DP_INT_VBLANK_START)
1584-
zynqmp_dpsub_handle_vblank(dp->dpsub);
1584+
zynqmp_dpsub_drm_handle_vblank(dp->dpsub);
15851585

15861586
if (status & ZYNQMP_DP_INT_HPD_EVENT)
15871587
schedule_delayed_work(&dp->hpd_work, 0);

drivers/gpu/drm/xlnx/zynqmp_kms.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,13 @@ static void zynqmp_dpsub_map_crtc_to_plane(struct zynqmp_dpsub *dpsub)
339339
}
340340

341341
/**
342-
* zynqmp_dpsub_handle_vblank - Handle the vblank event
342+
* zynqmp_dpsub_drm_handle_vblank - Handle the vblank event
343343
* @dpsub: DisplayPort subsystem
344344
*
345345
* This function handles the vblank interrupt, and sends an event to
346346
* CRTC object. This will be called by the DP vblank interrupt handler.
347347
*/
348-
void zynqmp_dpsub_handle_vblank(struct zynqmp_dpsub *dpsub)
348+
void zynqmp_dpsub_drm_handle_vblank(struct zynqmp_dpsub *dpsub)
349349
{
350350
drm_crtc_handle_vblank(&dpsub->drm->crtc);
351351
}

drivers/gpu/drm/xlnx/zynqmp_kms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct zynqmp_dpsub_drm {
3838
struct drm_encoder encoder;
3939
};
4040

41-
void zynqmp_dpsub_handle_vblank(struct zynqmp_dpsub *dpsub);
41+
void zynqmp_dpsub_drm_handle_vblank(struct zynqmp_dpsub *dpsub);
4242

4343
int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub);
4444
void zynqmp_dpsub_drm_cleanup(struct zynqmp_dpsub *dpsub);

0 commit comments

Comments
 (0)