drm/i915: explicitly cast pipe -> cpu_transcoder
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Jul 2013 10:01:15 +0000 (12:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Jul 2013 21:47:08 +0000 (23:47 +0200)
commite143a21c4d60d13dbdad133b7b2c9d9bb2dfb982
tree9a71ab5bfdbf4e2c92ee907c59ee95c81bcdca04
parente8474409d7ab6dac38d4a3a6a365504b302f6c16
drm/i915: explicitly cast pipe -> cpu_transcoder

This makes sparse happy and also makes it a bit more obvious where we
pull off this trick - after all we're only allowed to do it eithe as a
default or on platforms where there is no disdinction between the pipe
and the cpu transcoder.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c