Commit 077db4da authored by Laurent Pinchart's avatar Laurent Pinchart

drm: omapdrm: Rename omap_crtc_page_flip_locked to omap_crtc_page_flip

The operation is called page_flip, rename its implementation
accordingly.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent a42133a7
...@@ -534,10 +534,10 @@ static void page_flip_cb(void *arg) ...@@ -534,10 +534,10 @@ static void page_flip_cb(void *arg)
queue_work(priv->wq, &omap_crtc->page_flip_work); queue_work(priv->wq, &omap_crtc->page_flip_work);
} }
static int omap_crtc_page_flip_locked(struct drm_crtc *crtc, static int omap_crtc_page_flip(struct drm_crtc *crtc,
struct drm_framebuffer *fb, struct drm_framebuffer *fb,
struct drm_pending_vblank_event *event, struct drm_pending_vblank_event *event,
uint32_t page_flip_flags) uint32_t page_flip_flags)
{ {
struct drm_device *dev = crtc->dev; struct drm_device *dev = crtc->dev;
struct omap_crtc *omap_crtc = to_omap_crtc(crtc); struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
...@@ -589,7 +589,7 @@ static int omap_crtc_set_property(struct drm_crtc *crtc, ...@@ -589,7 +589,7 @@ static int omap_crtc_set_property(struct drm_crtc *crtc,
static const struct drm_crtc_funcs omap_crtc_funcs = { static const struct drm_crtc_funcs omap_crtc_funcs = {
.set_config = drm_crtc_helper_set_config, .set_config = drm_crtc_helper_set_config,
.destroy = omap_crtc_destroy, .destroy = omap_crtc_destroy,
.page_flip = omap_crtc_page_flip_locked, .page_flip = omap_crtc_page_flip,
.set_property = omap_crtc_set_property, .set_property = omap_crtc_set_property,
}; };
......
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