drm/i915: check the power well inside haswell_get_pipe_config
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 18 Apr 2013 19:35:40 +0000 (16:35 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Apr 2013 08:06:27 +0000 (10:06 +0200)
commit2bfce95075fa58eaf2ead5b0863c50a3f6098bc2
tree66015088a3383abc8e4be3995a693042ea7648e9
parentde032bf40a52dbbada11e071d150d2c062b5527e
drm/i915: check the power well inside haswell_get_pipe_config

This fixes "unclaimed register" messages when booting with eDP only
and i915.disable_power_well=1.

The error messages were caused by:

  commit 0e8ffe1bf81b0780cc6229cb38664754dffe8776
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Thu Mar 28 10:42:00 2013 +0100
      drm/i915: add hw state readout/checking for pipe_config

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