diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-22 21:49:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-29 19:24:54 -0400 |
commit | ed8d19756e80ec63003a93aa4d70406e6ba61522 (patch) | |
tree | 2760615aea74843748e2793aa0db8af5eef9abc4 /drivers/gpu/drm/i915/i915_drv.h | |
parent | e1e9c90eefbed92cb2142072918d9c5d1051256f (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/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 84da3075a84b..d54354421538 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -380,7 +380,8 @@ struct drm_i915_display_funcs { | |||
380 | void (*init_clock_gating)(struct drm_device *dev); | 380 | void (*init_clock_gating)(struct drm_device *dev); |
381 | int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, | 381 | int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, |
382 | struct drm_framebuffer *fb, | 382 | struct drm_framebuffer *fb, |
383 | struct drm_i915_gem_object *obj); | 383 | struct drm_i915_gem_object *obj, |
384 | uint32_t flags); | ||
384 | int (*update_plane)(struct drm_crtc *crtc, struct drm_framebuffer *fb, | 385 | int (*update_plane)(struct drm_crtc *crtc, struct drm_framebuffer *fb, |
385 | int x, int y); | 386 | int x, int y); |
386 | void (*hpd_irq_setup)(struct drm_device *dev); | 387 | void (*hpd_irq_setup)(struct drm_device *dev); |