drm/i915: move border color writes to pfit_enable
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Apr 2013 20:52:18 +0000 (22:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Apr 2013 14:16:47 +0000 (16:16 +0200)
commit5a80c45c5297a025c2615624042ea8b6840a5376
tree46a2e6db83dd7bcd47d6b277070c0cf75ac99601
parent2deefda541edb0c73e57e988ccaac4cd014da0d3
drm/i915: move border color writes to pfit_enable

Writing hw registers from compute_config?
Just say no!

In this case not too horrible since we write a constant 0, and only
debugging would put something else in there. But while checking that
code I've noticed that this register disappeared on pch platforms, so
fix that up, too.

And adjust the comment a bit, it's outdated.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_lvds.c