drm/i915: Make intel_pipe_has_type() take an output type enum
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 29 Oct 2014 11:16:59 +0000 (11:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:41:48 +0000 (18:41 +0100)
commit4093561b70adccec7d3c8fbb19a80d636fe0f562
tree71fab82e9816cc1eb94f139bbce61a6a22b5ff8f
parentba41c0dec7786ca2d5f630d0f364c5f5331b34c1
drm/i915: Make intel_pipe_has_type() take an output type enum

As Paulo said when introducing the enum, having more types is really
good to document what should go where (int foo(int, int, bool, bool).

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h