summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-07-15 09:21:24 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 07:05:27 +0200
commited57cb8a5c697680cdac3bc7ddfafff7594bd98e (patch)
treeac9fb7982780877335e2143b3dad78ceba3a497f /drivers/gpu/drm/i915/i915_drv.h
parent6af257cde0c536f69872cd335f186c3fdaa5f26a (diff)
downloadlwn-ed57cb8a5c697680cdac3bc7ddfafff7594bd98e.tar.gz
lwn-ed57cb8a5c697680cdac3bc7ddfafff7594bd98e.zip
drm/i915: Also give the sprite width for WM computation
In the future, we'll need the height of the fb to fetch from memory for WM computation. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 0b9f7894ee82..7f4f2b745925 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -440,8 +440,8 @@ struct drm_i915_display_funcs {
void (*update_wm)(struct drm_crtc *crtc);
void (*update_sprite_wm)(struct drm_plane *plane,
struct drm_crtc *crtc,
- uint32_t sprite_width, int pixel_size,
- bool enable, bool scaled);
+ uint32_t sprite_width, uint32_t sprite_height,
+ int pixel_size, bool enable, bool scaled);
void (*modeset_global_resources)(struct drm_device *dev);
/* Returns the active state of the crtc, and if the crtc is active,
* fills out the pipe-config with the hw state. */