diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-10-29 07:16:59 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-07 12:41:48 -0500 |
commit | 4093561b70adccec7d3c8fbb19a80d636fe0f562 (patch) | |
tree | 71fab82e9816cc1eb94f139bbce61a6a22b5ff8f /drivers/gpu/drm/i915/intel_drv.h | |
parent | ba41c0dec7786ca2d5f630d0f364c5f5331b34c1 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 82d89167cd2f..7fab2d808a40 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -881,7 +881,7 @@ int intel_get_pipe_from_crtc_id(struct drm_device *dev, void *data, | |||
881 | struct drm_file *file_priv); | 881 | struct drm_file *file_priv); |
882 | enum transcoder intel_pipe_to_cpu_transcoder(struct drm_i915_private *dev_priv, | 882 | enum transcoder intel_pipe_to_cpu_transcoder(struct drm_i915_private *dev_priv, |
883 | enum pipe pipe); | 883 | enum pipe pipe); |
884 | bool intel_pipe_has_type(struct intel_crtc *crtc, int type); | 884 | bool intel_pipe_has_type(struct intel_crtc *crtc, enum intel_output_type type); |
885 | static inline void | 885 | static inline void |
886 | intel_wait_for_vblank(struct drm_device *dev, int pipe) | 886 | intel_wait_for_vblank(struct drm_device *dev, int pipe) |
887 | { | 887 | { |