drm/i915: use cpu_transcoder for TRANS_DDI_FUNC_CTL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 18 Apr 2013 19:35:41 +0000 (16:35 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Apr 2013 08:06:49 +0000 (10:06 +0200)
commitf196e6bedb1b8a76f8526798e0feeb7a213e7505
tree24d6f4b39ef34935863829e87dffca938f173ae7
parent2bfce95075fa58eaf2ead5b0863c50a3f6098bc2
drm/i915: use cpu_transcoder for TRANS_DDI_FUNC_CTL

... inside haswell_get_pipe_config. Because there's one TRANS_DDI_FUNC_CTL
register per CPU transcoder, not per pipe. This solves "unclaimed register"
messages when booting with eDP only and using the i915.disable_power_well=1.

Also fix a comment and remove an useless empty line.

The error messages were caused by:

  commit 88adfff1ad5019f65b9d0b4e1a4ac900fb065183
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Thu Mar 28 10:42:01 2013 +0100
      drm/i915: hw readout support for ->has_pch_encoders

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