drm/i915: Simplify return value from intel_get_load_detect_pipe
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Apr 2011 22:10:58 +0000 (23:10 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:19:13 +0000 (13:19 -0700)
commit7173188d5d5e50b95c588dbae3b3bc78fde4138e
tree2659db8e43421bdc75e0406796a446b12fd82708
parentb259f6730c09bc356df932ba9188f291de816808
drm/i915: Simplify return value from intel_get_load_detect_pipe

... and so remove the confusion as to whether to use the returned crtc
or intel_encoder->base.crtc with the subsequent load-detection. Even
though they were the same, the two instances of load-detection code
disagreed over which was the more correct.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_tv.c