drm/i915: Pass crtc to intel_update_watermarks()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Sep 2013 08:40:40 +0000 (11:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Sep 2013 09:15:39 +0000 (11:15 +0200)
commit46ba614c0045b0b5354397010578e8b56d621251
tree4113142623a87b069b7d013b46644f9e2fa677f1
parentda66146425c3136943452988afd3d64cd551da58
drm/i915: Pass crtc to intel_update_watermarks()

Passing the appropriate crtc to intel_update_watermarks() should help
in avoiding needless work in the future.

v2: Avoid clash with internal 'crtc' variable in some wm functions

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_sprite.c