]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: fix Haswell pfit power well check v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 2 May 2013 22:30:47 +0000 (15:30 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 May 2013 16:23:26 +0000 (18:23 +0200)
commit2b87f3b1bab1df814057ff551f4fc49c22a7fde9
tree3304c824c0286bfb7b6a9861f972c846a44d0b6e
parent168f83660211b9e059e3bc0638daaa01e9ea0b71
drm/i915: fix Haswell pfit power well check v2

We can't read the pfit regs if the power well is off, so use the cached
value.

v2: re-add lost comment (Jesse)
    make sure the crtc using the fitter is actually enabled (Jesse)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Drop now unused dev_priv, as spotted by Mika.]
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c