drm/i915: BDW needs D_COMP writes through MCHBAR
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 7 Mar 2014 23:12:36 +0000 (20:12 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:32:03 +0000 (23:32 +0200)
commit3c4c9b819f008267f56ca048b0601e206d9c977b
tree347e8af1053d1d3e32789f4dae5e8b63bfdbe6a5
parent414de7a02025b2ff4f972cf3240d0471ebd36692
drm/i915: BDW needs D_COMP writes through MCHBAR

That's what the spec said! And HSW needs it through pcode (you can
only read it through MCHBAR), so create hsw_write_dcomp to abstract
the weirdness.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c