drm/i915: Consistently use enum pipe for PCH transcoders
Matthias Kaehlcke authored
commit a2196033

 upstream.

The current code uses in some instances enum transcoder for PCH
transcoders and enum pipe in others. This is error prone and clang
raises warnings like this:

drivers/gpu/drm/i915/intel_dp.c:3546:51: warning: implicit conversion
  from enumeration type 'enum pipe' to different enumeration type
  'enum transcoder' [-Wenum-conversion]
    intel_set_pch_fifo_underrun_reporting(dev_priv, PIPE_A, false);

Consistently use the type enum pipe for PCH transcoders.
Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170717181403.57324-1-mka@chromium.org


[nc: Backport to 4.9; adjust context and drop unneeded hunks]
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
01e08179
Name Last commit Last update
gvt
Kconfig
Kconfig.debug
Makefile
dvo.h
dvo_ch7017.c
dvo_ch7xxx.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
i915_cmd_parser.c
i915_debugfs.c
i915_drv.c
i915_drv.h
i915_gem.c
i915_gem.h
i915_gem_batch_pool.c
i915_gem_batch_pool.h
i915_gem_context.c
i915_gem_dmabuf.c
i915_gem_dmabuf.h
i915_gem_evict.c
i915_gem_execbuffer.c
i915_gem_fence.c
i915_gem_gtt.c
i915_gem_gtt.h
i915_gem_render_state.c
i915_gem_render_state.h
i915_gem_request.c
i915_gem_request.h
i915_gem_shrinker.c
i915_gem_stolen.c
i915_gem_tiling.c
i915_gem_userptr.c
i915_gpu_error.c
i915_guc_reg.h
i915_guc_submission.c
i915_ioc32.c
i915_irq.c
i915_memcpy.c
i915_mm.c
i915_params.c
i915_params.h
i915_pci.c
i915_pvinfo.h
i915_reg.h
i915_suspend.c
i915_sw_fence.c
i915_sw_fence.h
i915_sysfs.c
i915_trace.h
i915_trace_points.c
i915_vgpu.c
i915_vgpu.h
intel_acpi.c
intel_atomic.c
intel_atomic_plane.c
intel_audio.c
intel_bios.c
intel_bios.h
intel_breadcrumbs.c
intel_color.c
intel_crt.c
intel_csr.c
intel_ddi.c
intel_device_info.c
intel_display.c
intel_dp.c
intel_dp_aux_backlight.c
intel_dp_link_training.c
intel_dp_mst.c
intel_dpio_phy.c
intel_dpll_mgr.c
intel_dpll_mgr.h
intel_drv.h
intel_dsi.c
intel_dsi.h
intel_dsi_dcs_backlight.c
intel_dsi_panel_vbt.c
intel_dsi_pll.c
intel_dvo.c
intel_engine_cs.c
intel_fbc.c
intel_fbdev.c
intel_fifo_underrun.c
intel_frontbuffer.c
intel_frontbuffer.h
intel_guc.h
intel_guc_fwif.h
intel_guc_loader.c
intel_gvt.c
intel_gvt.h
intel_hdmi.c
intel_hotplug.c
intel_i2c.c
intel_lrc.c
intel_lrc.h
intel_lvds.c
intel_mocs.c
intel_mocs.h