aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2015-01-15 07:55:23 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 03:50:49 -0500
commit190f68c5e93076662944b395fe08c3dc547e6920 (patch)
tree3fee6f911e137e74b4972985483e12f6f6b5f43d /drivers/gpu/drm/i915/i915_drv.h
parent2d112de7db9d2cb0bd43f67120acd6c028bb60e8 (diff)
drm/i915: Pass new_config down do crtc_compute_clock
This reduces the number of direct users of crtc->new_config, opening up the possibilty of removing it altogether. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a80bd13815c3..600a2250fe03 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -541,7 +541,8 @@ struct drm_i915_display_funcs {
541 struct intel_crtc_state *); 541 struct intel_crtc_state *);
542 void (*get_plane_config)(struct intel_crtc *, 542 void (*get_plane_config)(struct intel_crtc *,
543 struct intel_plane_config *); 543 struct intel_plane_config *);
544 int (*crtc_compute_clock)(struct intel_crtc *crtc); 544 int (*crtc_compute_clock)(struct intel_crtc *crtc,
545 struct intel_crtc_state *crtc_state);
545 void (*crtc_enable)(struct drm_crtc *crtc); 546 void (*crtc_enable)(struct drm_crtc *crtc);
546 void (*crtc_disable)(struct drm_crtc *crtc); 547 void (*crtc_disable)(struct drm_crtc *crtc);
547 void (*off)(struct drm_crtc *crtc); 548 void (*off)(struct drm_crtc *crtc);