diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-06-24 15:19:23 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-07 16:20:39 -0400 |
commit | 17638cd68d5cbcd75dfad25966c0c56a5c2bac9f (patch) | |
tree | b3f275cfbdc3fb1a0f6600f9b679cbb9c75c985d /drivers/gpu/drm/i915/i915_drv.h | |
parent | 5a3542041bf85a65633ed203c3782492116ebb94 (diff) |
drm/i915: split out plane update code
Updating the planes is device specific, so create a new display callback
and use it in pipe_set_base. (In fact we could go even further, valid
display plane bits have changed with each generation, as has tiled
buffer handling.)
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
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 4958ce068b53..a15f2c04f6a5 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -214,6 +214,8 @@ struct drm_i915_display_funcs { | |||
214 | int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, | 214 | int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, |
215 | struct drm_framebuffer *fb, | 215 | struct drm_framebuffer *fb, |
216 | struct drm_i915_gem_object *obj); | 216 | struct drm_i915_gem_object *obj); |
217 | int (*update_plane)(struct drm_crtc *crtc, struct drm_framebuffer *fb, | ||
218 | int x, int y); | ||
217 | /* clock updates for mode set */ | 219 | /* clock updates for mode set */ |
218 | /* cursor updates */ | 220 | /* cursor updates */ |
219 | /* render clock increase/decrease */ | 221 | /* render clock increase/decrease */ |