aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_crtc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-22 21:49:58 -0400
committerDave Airlie <airlied@redhat.com>2013-08-29 19:24:54 -0400
commited8d19756e80ec63003a93aa4d70406e6ba61522 (patch)
tree2760615aea74843748e2793aa0db8af5eef9abc4 /drivers/gpu/drm/omapdrm/omap_crtc.c
parente1e9c90eefbed92cb2142072918d9c5d1051256f (diff)
drm: Pass page flip ioctl flags to driver
This lets drivers see the flags requested by the application [airlied: fixup for rcar/imx/msm] Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_crtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c
index 11a5263a5e9f..0fd2eb139f6e 100644
--- a/drivers/gpu/drm/omapdrm/omap_crtc.c
+++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
@@ -331,7 +331,8 @@ static void page_flip_cb(void *arg)
331 331
332static int omap_crtc_page_flip_locked(struct drm_crtc *crtc, 332static int omap_crtc_page_flip_locked(struct drm_crtc *crtc,
333 struct drm_framebuffer *fb, 333 struct drm_framebuffer *fb,
334 struct drm_pending_vblank_event *event) 334 struct drm_pending_vblank_event *event,
335 uint32_t page_flip_flags)
335{ 336{
336 struct drm_device *dev = crtc->dev; 337 struct drm_device *dev = crtc->dev;
337 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); 338 struct omap_crtc *omap_crtc = to_omap_crtc(crtc);