diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-06-16 09:19:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-26 19:11:16 -0700 |
commit | 8c9f3aaf8e174ca914889ab7a916586f8fd1e641 (patch) | |
tree | 29b832a482e1f5eb9cbcb2fbab469d5beefa578c /drivers/gpu/drm/i915/i915_drv.h | |
parent | 483f1798998ede75b2575cc1813c3d89ba64a34e (diff) | |
download | blackbird-op-linux-8c9f3aaf8e174ca914889ab7a916586f8fd1e641.tar.gz blackbird-op-linux-8c9f3aaf8e174ca914889ab7a916586f8fd1e641.zip |
drm/i915: split page flip queueing into per-chipset functions
This makes things a little clearer and prevents us from running old code
on a new chipset that may not be supported.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewied-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Keith Packard <keithp@keithp.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, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index f63ee162f124..eddabf68e97a 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -211,6 +211,9 @@ struct drm_i915_display_funcs { void (*fdi_link_train)(struct drm_crtc *crtc); void (*init_clock_gating)(struct drm_device *dev); void (*init_pch_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); /* clock updates for mode set */ /* cursor updates */ /* render clock increase/decrease */ |