aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-24 17:43:27 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-25 11:22:10 +0000
commitd210246ab1106d77df91a4185b9d3b75a63be81f (patch)
tree561884ea504167d42b419d234a43ae5caa8da760 /drivers/gpu/drm/i915/i915_drv.h
parent29ee399131395d8b607803874a206b9daf714025 (diff)
downloadkernel_samsung_smdk4412-d210246ab1106d77df91a4185b9d3b75a63be81f.zip
kernel_samsung_smdk4412-d210246ab1106d77df91a4185b9d3b75a63be81f.tar.gz
kernel_samsung_smdk4412-d210246ab1106d77df91a4185b9d3b75a63be81f.tar.bz2
drm/i915: Refactor self-refresh watermark calculations
Move the plane->mode config to the point of use rather than repeatedly querying the same information. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 1aca8ba..33b5134 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -202,9 +202,7 @@ struct drm_i915_display_funcs {
void (*disable_fbc)(struct drm_device *dev);
int (*get_display_clock_speed)(struct drm_device *dev);
int (*get_fifo_size)(struct drm_device *dev, int plane);
- void (*update_wm)(struct drm_device *dev, int planea_clock,
- int planeb_clock, int sr_hdisplay, int sr_htotal,
- int pixel_size);
+ void (*update_wm)(struct drm_device *dev);
/* clock updates for mode set */
/* cursor updates */
/* render clock increase/decrease */