diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-04-07 13:58:17 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-05-13 17:03:10 -0700 |
commit | f796cf8f517f13826bb691432b03c7b5da13e530 (patch) | |
tree | 5f54e285e738bcb965e63a356b4b51bdcb0c7d02 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 4697995b98417c6da9ab2708a36f5e2bc926c8ac (diff) | |
download | lwn-f796cf8f517f13826bb691432b03c7b5da13e530.tar.gz lwn-f796cf8f517f13826bb691432b03c7b5da13e530.zip |
drm/i915: split enable/disable vblank code into chipset specific functions
This makes the Ironlake+ code trivial and generally simplifies things.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 3c3233413df0..4359697d2894 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1040,6 +1040,8 @@ extern int i915_vblank_pipe_get(struct drm_device *dev, void *data, struct drm_file *file_priv); extern int i915_enable_vblank(struct drm_device *dev, int crtc); extern void i915_disable_vblank(struct drm_device *dev, int crtc); +extern int ironlake_enable_vblank(struct drm_device *dev, int crtc); +extern void ironlake_disable_vblank(struct drm_device *dev, int crtc); extern u32 i915_get_vblank_counter(struct drm_device *dev, int crtc); extern u32 gm45_get_vblank_counter(struct drm_device *dev, int crtc); extern int i915_vblank_swap(struct drm_device *dev, void *data, |