drm/i915: write D_COMP using the mailbox
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 10 Sep 2013 22:36:37 +0000 (19:36 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Sep 2013 12:11:47 +0000 (14:11 +0200)
commit515b239269fb67fd167676d335a56ef0c13e53d5
treebc2e9cf84eb57ab612b95f91e7d8ea1c7676bacc
parent507c1a454809da54af21091875f883e0364c5378
drm/i915: write D_COMP using the mailbox

You can't write it using the MCHBAR mirror, the write will just get
dropped.

This should make us BSpec-compliant, but there's no real bug I could
reproduce that is fixed by this patch.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Fix spelling mistake in the comment that Damien spotted.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c