diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-15 09:21:24 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-23 07:05:27 +0200 |
commit | ed57cb8a5c697680cdac3bc7ddfafff7594bd98e (patch) | |
tree | ac9fb7982780877335e2143b3dad78ceba3a497f /drivers/gpu/drm/i915/i915_drv.h | |
parent | 6af257cde0c536f69872cd335f186c3fdaa5f26a (diff) | |
download | lwn-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.h | 4 |
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. */ |