diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-05-27 12:15:22 -0400 |
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-12-19 04:25:03 -0500 |
| commit | ca52d2f33bbb5bbac0bd85c5ea50c0e85a416ebc (patch) | |
| tree | bc11694f2972e99c341b9cd1ebf3530c32d8290f /drivers/gpu/drm/omapdrm/omap_crtc.c | |
| parent | 156548175cdf9536d733bbde8b3c092ac92c3aec (diff) | |
drm: omapdrm: Inline the pipe2vbl function
The function is only used in omap_irq.c and is just a wrapper around
dispc_mgr_get_vsync_irq(). Remove it and call the dispc function
directly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 046d199ef036..dd47dc191e6b 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
| @@ -48,13 +48,6 @@ struct omap_crtc { | |||
| 48 | * Helper Functions | 48 | * Helper Functions |
| 49 | */ | 49 | */ |
| 50 | 50 | ||
| 51 | uint32_t pipe2vbl(struct drm_crtc *crtc) | ||
| 52 | { | ||
| 53 | struct omap_crtc *omap_crtc = to_omap_crtc(crtc); | ||
| 54 | |||
| 55 | return dispc_mgr_get_vsync_irq(omap_crtc->channel); | ||
| 56 | } | ||
| 57 | |||
| 58 | struct videomode *omap_crtc_timings(struct drm_crtc *crtc) | 51 | struct videomode *omap_crtc_timings(struct drm_crtc *crtc) |
| 59 | { | 52 | { |
| 60 | struct omap_crtc *omap_crtc = to_omap_crtc(crtc); | 53 | struct omap_crtc *omap_crtc = to_omap_crtc(crtc); |
