diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-22 18:49:58 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-30 09:24:54 +1000 |
commit | ed8d19756e80ec63003a93aa4d70406e6ba61522 (patch) | |
tree | 2760615aea74843748e2793aa0db8af5eef9abc4 /drivers/gpu/drm/i915/i915_drv.h | |
parent | e1e9c90eefbed92cb2142072918d9c5d1051256f (diff) | |
download | lwn-ed8d19756e80ec63003a93aa4d70406e6ba61522.tar.gz lwn-ed8d19756e80ec63003a93aa4d70406e6ba61522.zip |
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 { void (*init_clock_gating)(struct drm_device *dev); int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, - struct drm_i915_gem_object *obj); + struct drm_i915_gem_object *obj, + uint32_t flags); int (*update_plane)(struct drm_crtc *crtc, struct drm_framebuffer *fb, int x, int y); void (*hpd_irq_setup)(struct drm_device *dev); |