drm/i915: Mask reserved bits in display/sprite address registers
authorArmin Reese <armin.c.reese@intel.com>
Fri, 30 Mar 2012 23:20:16 +0000 (16:20 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Apr 2012 15:54:51 +0000 (17:54 +0200)
commit446f254566ea8911c9e19c7bc8a162fc0e53cf31
tree22c60cf8cf85a7e87676780faeca086dafbb2596
parent83de97c885b633ab6d12346a406911fadeb85f8c
drm/i915: Mask reserved bits in display/sprite address registers

The purpose of this patch is to avoid zeroing the lower 12 reserved bits
of surface base address registers (framebuffer & sprite).  There are bits
in that range that may occasionally be set by BIOS or by other components.

Signed-off-by: Armin Reese <armin.c.reese@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c