drm/i915: Pass intel_crtc to intel_disable_pipe() and intel_wait_for_pipe_off()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Aug 2014 22:21:56 +0000 (01:21 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:07 +0000 (11:05 +0200)
commit575f7ab754c49466090ed3fafa91c8efb3a5afb6
tree8ce586d89ccc512d29e63d40f67f5748b972dc16
parent81e7f2002b7db269799ebdac0d905574c0a85d1d
drm/i915: Pass intel_crtc to intel_disable_pipe() and intel_wait_for_pipe_off()

Just pass the intel_crtc around instead of dev_priv+pipe.

Also make intel_wait_for_pipe_off() static since it's only used in
intel_display.c.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Thomas Richter <richter@rus.uni-stuttgart.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h